arp and bridge

Radim Kolar hsn at netmag.cz
Tue Feb 28 15:20:33 CET 2006


mam dve sitovky ed0 a fxp0
fxp0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        options=8<VLAN_MTU>
        inet6 fe80::2a0:c9ff:fe0f:971e%fxp0 prefixlen 64 scopeid 0x1
        inet 10.0.0.10 netmask 0xffffffff broadcast 10.0.0.10
        inet 10.0.0.2 netmask 0xffffff00 broadcast 10.0.0.255
        ether 00:a0:c9:0f:97:1e
        media: Ethernet manual
ed0: flags=108943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::200:1ff:fe02:2056%ed0 prefixlen 64 scopeid 0x2
        ether 00:00:01:02:20:56

je spustena bridge
net.link.ether.bridge.config=ed0,fxp0
net.link.ether.bridge.enable=1

problem je, ze adresa 10.0.0.4 ktera je na segmentu pripojenem k ed0
neodpovida na tyto arp dotazy:
14:59:23.950346 arp who-has 10.0.0.4 (ff:ff:ff:ff:ff:ff) tell 10.0.0.2
14:59:24.056159 arp who-has 10.0.0.4 (ff:ff:ff:ff:ff:ff) tell 10.0.0.2

na stejne arp dotazy odpovida masina pripojena k fxp0 bez problemu
15:00:15.749263 arp who-has 10.0.0.3 (ff:ff:ff:ff:ff:ff) tell 10.0.0.2
15:00:15.749772 arp reply 10.0.0.3 is-at 00:30:4f:1e:7e:cd

nicmene system generuje i jiny typ arp dotazu, ktery ukazuje tcpdump takto:
15:10:00.603522 arp who-has 10.0.0.4 tell 10.0.0.2
a ty normalne pres bridge prolezou a je to funkcni

Na linuxu 2.6 jsem bridge nerozchodil, na 2.4 ano. Pokud se nepletu tak v 6.0
ma nejakou chybu v bridge, takze ji pouzit nemuzu. Co mam pouzit, aby mi to
fungovalo zcela k me spokojenosti?



More information about the Users-l mailing list