Hello Martin

On 04/25/16 11:12, Martin Pieuchot wrote:
On 25/04/16(Mon) 10:47, Kim Zeitler wrote:

He is running a carp interface on top of a vlan interface. In this scenario
the carp interface can not be pinged but the vlan interfaces can.

Do you mean the CARP node does not answer to ping with a destination
address on the carp(4) interfaces?  Is it for MASTER, BACKUP or both?

em2 (no ip) ---> vlan100 (192.168.150.200) ---> carp2 (192.168.150.1)
            \
             --> vlan101 (192.168.151.200) ---> carp3 (192.168.151.1)

This is my setup
if I ping either address assigned to carp2 or carp3 from a host on the network I do not get an answer, pinging the vlan address answers.

One node is clearly in MASTER, the other in BACKUP, demote works.

The host also has two further carp interfaces sitting directly on a physical interface which work as expected.

I described a similar issue here
https://www.mail-archive.com/misc@openbsd.org/msg146230.html  but sadly had
no replies yet

How do your routing table looks like?

# route -n show
...
192.168.150/24 192.168.150.202 CP 0 2 - 4 vlan100 192.168.150/24 192.168.150.1 CP 0 0 - 4 carp2 192.168.150.1 00:00:5e:00:01:c9 UHLl 0 0 - 1 carp2 192.168.150.202 90:e2:ba:c3:df:7a UHLl 0 0 - 1 vlan100 192.168.150.255 192.168.150.202 HPb 0 0 - 1 vlan100 192.168.150.255 192.168.150.1 HPb 0 0 - 1 carp2 192.168.151/24 192.168.151.202 CP 0 2 - 4 vlan101 192.168.151/24 192.168.151.1 CP 0 0 - 4 carp3 192.168.151.1 00:00:5e:00:01:ca UHLl 0 0 - 1 carp3 192.168.151.202 90:e2:ba:c3:df:7a UHLl 0 0 - 1 vlan101 192.168.151.255 192.168.151.202 HPb 0 0 - 1 vlan101 192.168.151.255 192.168.151.1 HPb 0 0 - 1 carp3


Currently I am upgrading my cluster to the latest snapshot to see if there
is any change.

There won't be no change.


If it helps, here are the hostname.if configs for vlan100 and carp2

# cat /etc/hostname.em2
up

# cat /etc/hostname.vlan100
inet 192.168.150.200 255.255.255.0 192.168.150.255 vlan 100 vlandev em2

# cat /etc/hostname.carp2

inet 192.168.150.1 255.255.255.0 192.168.150.255 vhid 201 carpdev vlan100 pass 1234 group wlan

Cheers
Kim

Reply via email to