On Thu, Nov 27, 2003 at 10:56:58PM +0100, Spyou wrote: > This solution (w/o vlans) works .. the downtime is something like 3/4 > seconds .. wich is acceptable for my applications :) > > but i can't work w/o vlans :(
R1: % ifconfig vlan0 create vlan 1 vlandev de0 % ifconfig vlan0 inet add 10.255.255.1/24 % ifconfig vlan0 mtu 1500 % ifconfig vlan0 vlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 10.255.255.1 netmask 0xffffff00 broadcast 10.255.255.255 inet6 fe80::250:fcff:fe5e:5b40%vlan0 prefixlen 64 scopeid 0xa ether 00:00:e8:41:cd:10 media: Ethernet autoselect (100baseTX <full-duplex>) status: active vlan: 1 parent interface: de0 [VRID] serverid = 1 interface = vlan0 priority = 255 addr = 192.168.1.1/24 R2: % ifconfig vlan0 create vlan 1 vlandev xl0 % ifconfig vlan0 inet add 10.255.255.2/24 % ifconfig vlan0 vlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 10.255.255.2 netmask 0xffffff00 broadcast 10.255.255.255 inet6 fe80::202:44ff:fe23:82c4%vlan0 prefixlen 64 scopeid 0x13 ether 00:50:04:ed:d4:be media: Ethernet autoselect (100baseTX <full-duplex>) status: active vlan: 1 parent interface: xl0 [VRID] serverid = 1 interface = vlan0 priority = 2 addr = 192.168.1.1/24 R1: starting freevrrpd freevrrpd[86670]: send ip = 10.255.255.1, eth = 0:0:5e:0:1:1 freevrrpd[86670]: send ip = 192.168.1.1, eth = 0:0:5e:0:1:1 freevrrpd[86670]: server state vrid 1: master % ifconfig vlan0 vlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 10.255.255.1 netmask 0xffffff00 broadcast 10.255.255.255 inet6 fe80::250:fcff:fe5e:5b40%vlan0 prefixlen 64 scopeid 0xa inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 ether 00:00:5e:00:01:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active vlan: 1 parent interface: de0 R2: starting freevrrpd send ip = 10.255.255.2, eth = 0:50:4:ed:d4:be freevrrpd[21984]: server state vrid 1: backup Now R1 fails: % killall freevrrpd freevrrpd[86670]: restoring real MAC address: 00:00:E8:41:CD:10 for interface vlan0 R2 works as a master now: freevrrpd[21984]: server state vrid 1: master % ifconfig vlan0 vlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 10.255.255.2 netmask 0xffffff00 broadcast 10.255.255.255 inet6 fe80::202:44ff:fe23:82c4%vlan0 prefixlen 64 scopeid 0x13 inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 ether 00:00:5e:00:01:01 media: Ethernet autoselect (100baseTX <full-duplex>) status: active vlan: 1 parent interface: xl0 R1 can probe R2 (using other interface and address): % ping 192.168.1.1 PING 192.168.1.1 (192.168.1.1): 56 data bytes 64 bytes from 192.168.1.1: icmp_seq=0 ttl=64 time=0.356 ms 64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.306 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.265 ms ^C --- 192.168.1.1 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.265/0.309/0.356/0.037 ms However, I have no more computers on this vlan and I can't touch other vlans right now. cheers, -- Paweł Małachowski _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"