Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.networking > #1533
| From | Tauno Voipio <tauno.voipio@notused.fi.invalid> |
|---|---|
| Newsgroups | comp.os.linux.networking |
| Subject | Re: IP traffic between two NICs on same box |
| Date | 2012-07-29 22:56 +0300 |
| Organization | A noiseless patient Spider |
| Message-ID | <jv44ha$dpq$1@dont-email.me> (permalink) |
| References | <9ad2e5d7-847c-47b9-8518-095c479d1141@googlegroups.com> |
On 29.7.12 12:04 , Harald Radke wrote: > Hi there! > > I have a Linux box with several NICs. What I want is the following setup: > > * eth1 - 192.168.100.1 > * eth2 - 192.168.100.2 > * a physical network connection between both interfaces. > > > Now I am looking for a way, to enforce IP traffic from 192.168.100.1 to 192.168.100.2 and back to use the network link and not being routed internally. > > I have no problem with more esotheric solutions, if all fails, I guess I will code my way through the kernel, but of course I would prefer any less drastic solution. > > Thx and regards > > Harry This should be in a FAQ: The kernel IP stack is smart enough to route traffic from a host to *ANY* of its own interfaces via the loopback device lo. Would you please tell why? For testing a network with only one piece of hardware available, a virtual machine setup might help (e.g. VirtualBox or VMWare). -- Tauno Voipio
Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
IP traffic between two NICs on same box Harald Radke <looxrat@googlemail.com> - 2012-07-29 02:04 -0700
Re: IP traffic between two NICs on same box Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2012-07-29 22:56 +0300
Re: IP traffic between two NICs on same box looxrat@googlemail.com - 2012-07-29 13:32 -0700
Re: IP traffic between two NICs on same box Moe Trin <ibuprofin@painkiller.example.tld.invalid> - 2012-07-29 20:43 -0500
Re: IP traffic between two NICs on same box Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> - 2012-07-30 08:15 -0500
Re: IP traffic between two NICs on same box Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-08-04 12:52 +0200
Re: IP traffic between two NICs on same box Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-08-04 12:49 +0200
Re: IP traffic between two NICs on same box Rick Jones <rick.jones2@hp.com> - 2012-07-30 17:46 +0000
Re: IP traffic between two NICs on same box unruh <unruh@invalid.ca> - 2012-07-30 17:57 +0000
Re: IP traffic between two NICs on same box ein <ein@no.spam> - 2012-08-05 14:26 +0200
Re: IP traffic between two NICs on same box Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-08-05 14:59 +0200
Re: IP traffic between two NICs on same box ein <ein@no.spam> - 2012-08-05 15:32 +0200
Re: IP traffic between two NICs on same box ein <ein@no.spam> - 2012-08-05 15:34 +0200
csiph-web