Linux Netfilter discussions
 help / color / mirror / Atom feed
* More ethernet port same ip address
@ 2008-07-19  7:34 Michele Petrazzo - Unipex srl
  2008-07-19  8:18 ` Bernhard Bock
                   ` (3 more replies)
  0 siblings, 4 replies; 21+ messages in thread
From: Michele Petrazzo - Unipex srl @ 2008-07-19  7:34 UTC (permalink / raw)
  To: netfilter

Hi all,
this is a very strange ask (I don't find any other on the net)...

I need to setup a linux box with more than one ethernet ports and every
one must have the same ip address. I, of course :), already tried to do it
with a lot of solutions that linux offer (iptables+mark+ip route, bonding,
a vlan every port), but with the same result... Packet come into
the right port but go out through the "last" that I have set, so it will
never arrive.
An iptables rule that are something like (-t mangle -A OUTPUT -j LOG) says:


IN= OUT=eth2 SRC=172.16.0.1 DST=172.16.0.10 LEN=84 TOS=0x00 PREC=0x00
TTL=64 ID=19468 PROTO=ICMP TYPE=0 CODE=0 ID=41003 SEQ=902
IN= OUT=eth2 SRC=172.16.0.1 DST=172.16.0.3 LEN=60 TOS=0x00 PREC=0x00
TTL=64 ID=8117 PROTO=ICMP TYPE=0 CODE=0 ID=512 SEQ=37888
IN= OUT=lo SRC=172.16.0.1 DST=172.16.0.1 LEN=88 TOS=0x00 PREC=0xC0
TTL=64 ID=8112 PROTO=ICMP TYPE=3 CODE=1 [SRC=172.16.0.1 DST=172.16.0.3
LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=8117 PROTO=ICMP TYPE=0 CODE=0 ID=512
SEQ=37888 ]

Here the server have the two ports with 172.16.0.1 and two clients,
connected into the two others has 172.16.0.3 and 172.16.0.10

It's there a solution for achieve this?

Thanks,
Michele


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2008-07-22 15:20 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-19  7:34 More ethernet port same ip address Michele Petrazzo - Unipex srl
2008-07-19  8:18 ` Bernhard Bock
2008-07-19 13:46   ` Michele Petrazzo - Unipex srl
2008-07-19 14:01 ` Leonardo Rodrigues Magalhães
2008-07-19 14:13   ` Jan Engelhardt
2008-07-19 15:14     ` Michele Petrazzo - Unipex srl
2008-07-19 15:42       ` Jan Engelhardt
2008-07-19 16:05         ` Michele Petrazzo - Unipex srl
2008-07-19 16:13           ` Jan Engelhardt
2008-07-19 16:17         ` Leonardo Rodrigues Magalhães
2008-07-19 16:34           ` Jan Engelhardt
2008-07-19 16:45             ` Leonardo Rodrigues Magalhães
2008-07-19 15:11   ` Michele Petrazzo - Unipex srl
2008-07-20 23:41 ` Grant Taylor
2008-07-21  7:00   ` Anatoly Muliarski
2008-07-21 14:08     ` Grant Taylor
2008-07-21 18:11 ` Michele Petrazzo - Unipex srl
2008-07-21 19:46   ` Grant Taylor
2008-07-22 13:03   ` Anatoly Muliarski
2008-07-22 15:06     ` Grant Taylor
2008-07-22 15:20       ` Jan Engelhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox