Solved VLAN + CARP problem (FreeBSD 8.4)

Hi,

I have a strange problem with VLANs and CARP interfaces on FreeBSD 8.4.

Machine A:

Code:
vlan2100: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
   description: VLAN2100-INT
   options=103<RXCSUM,TXCSUM,TSO4>
   ether 00:1f:29:0d:3f:3a
   inet 10.250.86.2 netmask 0xfffffff0 broadcast 10.250.86.15
   media: Ethernet autoselect (1000baseT <full-duplex>)
   status: active
   vlan: 2100 parent interface: em7
carp16: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
   description: CARP16-VLAN2100-INT
   inet 10.250.86.1 netmask 0xffffffff
   carp: MASTER vhid 216 advbase 1 advskew 0

Machine B:

Code:
vlan2100: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
   description: VLAN2100-INT
   options=103<RXCSUM,TXCSUM,TSO4>
   ether 00:1f:29:0d:5a:46
   inet 10.250.86.3 netmask 0xfffffff0 broadcast 10.250.86.15
   media: Ethernet autoselect (1000baseT <full-duplex>)
   status: active
   vlan: 2100 parent interface: em7
carp16: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
   description: CARP16-VLAN2100-INT
   inet 10.250.86.1 netmask 0xffffffff
   carp: BACKUP vhid 216 advbase 1 advskew 100

The problem is machine A does not respond to ARP request from machine B to IP adress 10.250.86.1:

Code:
[root@a ~]# tcpdump -nei vlan2100 arp and host 10.250.86.3
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on vlan2100, link-type EN10MB (Ethernet), capture size 96 bytes
14:39:18.191139 00:1f:29:0d:5a:46 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 56: Request who-has 10.250.86.3 tell 10.250.86.3, length 42
14:39:19.191735 00:1f:29:0d:5a:46 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 56: Request who-has 10.250.86.3 tell 10.250.86.3, length 42

I've tried to change netmask of carp16 to 0xfffffff0, but nothing changed.

Please, does anyone know why A does not respond to ARP from B?
 
The problem was on another VLAN interface which had network address which overlapped with vlan2100, when corrected, everything works fine.
 
Back
Top