Date: Tue, 17 Mar 2015 15:25:09 +0300 From: Gleb Smirnoff <glebius@FreeBSD.org> To: Oleg Ginzburg <olevole@olevole.ru> Cc: Bryan Venteicher <bryanv@freebsd.org>, freebsd-net@freebsd.org Subject: Re: SIOCSVH, SIOCGVH ioctl(2) and virtio ethernet driver Message-ID: <20150317122509.GR17947@glebius.int.ru> In-Reply-To: <3860521.yJlCc0OyhB@kde4.my.domain> References: <36413168.TE9MLvZCzL@kde4.my.domain> <CAGaYwLcjGQuRPQDX%2Bji7i=YQ6_J_Z2-aegAFnAHC9ukBaqL4BA@mail.gmail.com> <3860521.yJlCc0OyhB@kde4.my.domain>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 16, 2015 at 02:49:58AM +0300, Oleg Ginzburg wrote: O> b) On FreeBSD-current r276500M CARP IP is established for some seconds, then O> vanishes: O> O> % /sbin/ifconfig vtnet0 vhid 1 advskew 100 pass navuhodonosor 192.168.1.210/24 O> state master alias O> % ifconfig vtnet0 O> vtnet0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu O> 1500 O> options=80028<VLAN_MTU,JUMBO_MTU,LINKSTATE> O> ether 00:a0:98:d7:e3:65 O> inet 192.168.1.170 netmask 0xffffff00 broadcast 192.168.1.255 O> inet 192.168.1.210 netmask 0xffffff00 broadcast 192.168.1.255 vhid 1 O> nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> O> media: Ethernet 10Gbase-T <full-duplex> O> status: active O> carp: BACKUP vhid 1 advbase 1 advskew 100 O> O> % ifconfig vtnet0 O> vtnet0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu O> 1500 O> options=80028<VLAN_MTU,JUMBO_MTU,LINKSTATE> O> ether 00:a0:98:d7:e3:65 O> inet 192.168.1.170 netmask 0xffffff00 broadcast 192.168.1.255 O> nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> O> media: Ethernet 10Gbase-T <full-duplex> O> status: active O> O> % dmesg O> ... O> carp_alloc_if: ifpromisc(vtnet0) failed: 45 O> carp: VHID 1@vtnet0: INIT -> BACKUP O> carp: VHID 1@vtnet0: BACKUP -> MASTER (master down) O> ifa_del_loopback_route: deletion failed: 3 O> ifa_del_loopback_route: deletion failed: 3 O> O> O> And one more dmesg from the server with more fresher revision (r280012M): O> O> carp_alloc_if: ifpromisc(vtnet0) failed: 45 O> carp: 1@vtnet0: INIT -> BACKUP (initialization complete) O> carp: 1@vtnet0: BACKUP -> MASTER (master timed out) In my case on r280167, all works okay, despite the carp_alloc_if warning: #/sbin/ifconfig vtnet0 vhid 1 advskew 100 pass navuhodonosor 192.168.1.210/24 state master alias #dmesg | tail -n 3 carp_alloc_if: ifpromisc(vtnet0) failed: 45 carp: 1@vtnet0: INIT -> BACKUP (initialization complete) carp: 1@vtnet0: BACKUP -> MASTER (master timed out) #ifconfig vtnet0 vtnet0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=80028<VLAN_MTU,JUMBO_MTU,LINKSTATE> ether 00:a0:98:83:f4:f1 inet 10.6.6.9 netmask 0xfffffffe broadcast 255.255.255.255 inet 192.168.1.210 netmask 0xffffff00 broadcast 192.168.1.255 vhid 1 inet6 fe80::2a0:98ff:fe83:f4f1%vtnet0 prefixlen 64 scopeid 0x1 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet 10Gbase-T <full-duplex> status: active carp: MASTER vhid 1 advbase 1 advskew 100 -- Totus tuus, Glebius.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150317122509.GR17947>