LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-06-2013, 11:05 PM   #1
dlh
LQ Newbie
 
Registered: Jun 2012
Posts: 6

Rep: Reputation: Disabled
Force external communication between two interfaces on same box


I need to send data between two network interfaces on the same linux box. The problem is that I need the packets to go through a switch rather than being internally routed so that I can analyse the packets.

Is there a way to force the packets to go out on to the network rather than being internally routed?
 
Old 05-07-2013, 05:22 AM   #2
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666

Rep: Reputation: 68
hopefully it will work if the IP-addresses are hidden behind different bridge devices and assigned to virtual interfaces moved into separate network namespaces; it is tricky to configure this properly but it should work then
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to ping between two interfaces on the same box langou00 Linux - Networking 3 07-27-2012 10:20 AM
Virtual Box network interfaces stevebj.ee Linux - Virtualization and Cloud 4 06-04-2012 01:03 PM
Communication between two Network Interfaces (with IPv6 addresses) within same system peeyushpd Linux - Networking 2 03-18-2012 02:04 PM
network interfaces on vertual box sunils1973 Linux - Virtualization and Cloud 3 10-16-2010 12:04 PM
Multiple Network Interfaces - Force one to WAN and one to LAN? pricejm Slackware 1 07-03-2008 11:09 AM


All times are GMT -5. The time now is 06:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration