[Bug 202510] [CARP] advertisements sourced from CARP IP cause double MASTER situations
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Dec 1 16:11:16 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202510
--- Comment #9 from dam at my.gd ---
(In reply to Kubilay Kocak from comment #7)
Confirming behaviour on 10-STABLE (r309356) with my provided patch.
patch
==
root at bsd10:/usr/src/etc # patch < /tmp/network.subr.patch
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- network.subr.orig 2015-08-24 14:10:15.188579000 +0000
|+++ network.subr.patched 2015-08-24 14:10:22.298347000 +0000
--------------------------
File to patch: network.subr
Patching file network.subr using Plan A...
Hunk #1 succeeded at 1091.
Hunk #2 succeeded at 1144.
done
rc.conf
==
ifconfig_vtnet0="inet 46.[snip].253/25 -rxcsum -txcsum -tso -vlanhwtso
-vlanhwcsum -vlanhwtag up"
ipv4_addrs_vtnet0="1.1.1.1/32"
ifconfig_vtnet0_alias0="1.1.1.2/32"
ifconfig_vtnet0_alias1="vhid 101 pass test advskew 50 1.1.1.3/32"
ifconfig
==
root at bsd10:~ # ifconfig
vtnet0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu
1500
options=6804a8<VLAN_MTU,JUMBO_MTU,VLAN_HWCSUM,LRO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
ether f2:53:d5:fc:49:8a
inet 46.[snip].253 netmask 0xffffff80 broadcast 46.182.42.255
inet 1.1.1.1 netmask 0xffffffff broadcast 1.1.1.1
inet 1.1.1.2 netmask 0xffffffff broadcast 1.1.1.2
inet 1.1.1.3 netmask 0xffffffff broadcast 1.1.1.3 vhid 101
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet 10Gbase-T <full-duplex>
status: active
carp: MASTER vhid 101 advbase 1 advskew 50
tcpdump
==
root at bsd10:~ # tcpdump -ni vtnet0 vrrp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on vtnet0, link-type EN10MB (Ethernet), capture size 65535 bytes
16:04:27.942147 IP 46.[snip].253 > 224.0.0.18: VRRPv2, Advertisement, vrid 101,
prio 50, authtype none, intvl 1s, length 36
16:04:29.156181 IP 46.[snip].253 > 224.0.0.18: VRRPv2, Advertisement, vrid 101,
prio 50, authtype none, intvl 1s, length 36
16:04:30.358144 IP 46.[snip].253 > 224.0.0.18: VRRPv2, Advertisement, vrid 101,
prio 50, authtype none, intvl 1s, length 36
^---- sourced with physical IP despite the use of ipv4_addrs_vtnet0
Can anyone confirm 9 and 11 branches ?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-net
mailing list