Re: More ethernet port same ip address | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Michele Petrazzo - Unipex srl escreveu:
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 everyone 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 willnever arrive.
have you tried setting a bridge interface ???do NOT give ip address to the real ethernet interfaces (ethX) ..... simply get them 'up' and them bring a bridge interface up, with the ip address you need, and 'add' all the physical interfaces on the bridge interface.
that should do the job easily.and then get iptables rules on the bridge (probably br0) interface .... and there you have it !
-- Atenciosamente / Sincerily, Leonardo Rodrigues Solutti Tecnologia http://www.solutti.com.br Minha armadilha de SPAM, NÃO mandem email gertrudes@xxxxxxxxxxxxxx My SPAMTRAP, do not email it -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Netfilter Development] [Linux Kernel Development] [TCP/IP Books] [Linux Resources] [LARTC] [Home] [Bugtraq] [Consulting] [Free Internet Dating] [Yosemite Forum] [Photo]