On Sun, 7 Dec 2003, Jun Kuriyama wrote: > >My experimental 1U box which has em0 and em1 shows following result. >Doing "ifconfig em1 up" after "ifconfig em1 down", link is down 1 or >more seconds. I'm trying to make this box as VRRP router, so 1 >second down during master/backup transition (which uses down, mac >address setting, and up) causes ping-pong transition of master router. > >I think I can work around some timeout tweaks in VRRP daemon side, but >I hope em(4) driver (or hardware problem?) can deal with it. I did >same test with fxp(4) and rl(4), but these interfaces are active after >"ifconfig up" immediately. > > ># ifconfig em1 down; ifconfig em1 up; ifconfig em1; sleep 1; ifconfig em1; sleep 1; ifconfig em1 >em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > options=3<RXCSUM,TXCSUM> > inet 192.168.128.3 netmask 0xffffff00 broadcast 192.168.128.255 > inet6 fe80::230:48ff:fe28:4d75%em1 prefixlen 64 scopeid 0x2 > ether 00:30:48:28:4d:75 > media: Ethernet autoselect > status: no carrier >em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > options=3<RXCSUM,TXCSUM> > inet 192.168.128.3 netmask 0xffffff00 broadcast 192.168.128.255 > inet6 fe80::230:48ff:fe28:4d75%em1 prefixlen 64 scopeid 0x2 > ether 00:30:48:28:4d:75 > media: Ethernet autoselect > status: no carrier >em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > options=3<RXCSUM,TXCSUM> > inet 192.168.128.3 netmask 0xffffff00 broadcast 192.168.128.255 > inet6 fe80::230:48ff:fe28:4d75%em1 prefixlen 64 scopeid 0x2 > ether 00:30:48:28:4d:75 > media: Ethernet autoselect (100baseTX <full-duplex>) > status: active > ># pciconf -lv >... >em0_at_pci2:3:0: class=0x020000 card=0x10118086 chip=0x10108086 rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > device = '82546EB Gigabit Ethernet Controller (copper)' > class = network > subclass = ethernet >em1_at_pci2:3:1: class=0x020000 card=0x10118086 chip=0x10108086 rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > device = '82546EB Gigabit Ethernet Controller (copper)' > class = network > subclass = ethernet >... > > Did you tried to specify link speed rather than use autosence. Perhaps this delay is due to media sense? Sincerely, Maxim M. Kazachek mailto:stranger_at_sberbank.sibnet.ru mailto:stranger_at_fpm.ami.nstu.ruReceived on Sun Dec 07 2003 - 00:05:12 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:32 UTC