Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-06-2013, 11:05 PM   #1
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
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


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 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 > Forums > Linux Forums > Linux - Networking

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

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