Hi, On Monday, April 25, 2016 14:02 CEST, Kim Zeitler <[email protected]> wrote:
> Hello Martin > > before I go further - I just run a ping test with the tcpdump as you > requested and it did work. The only thing that was changed was an > upgrade from GENERIC.MP#1983 -> GENERIC.MP#1997. the only thing I did for such test was running the 5.9 userland with a GENERIC.MP#1996 amd64, but I haven't seen any difference. Sebastian > > On 04/25/16 11:56, Martin Pieuchot 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. > > > > When doing so, please use "# tcpdump -nvei carp2 icmp" to see if the > > echo request/reply reach/leave the interface. > > > > >> One node is clearly in MASTER, the other in BACKUP, demote works. > > > > The routing table correspond to which node? MASTER or BACKUP? There's > > something really weird in it, the RTF_CLONING routes are done. > The table was from the MASTER. > > What do you mean exactly by 'the RTF_CLONING routes are done.'? I read > route(4) and if I understand it correctly a wildcard route such as > defaults is marked with it and new routes are created as soon as they > are used and marked as RTF)CLONED. > > > > Could you include your whole routing table? Do you have an entry for > > the machine initiating the ping? > > > >> The host also has two further carp interfaces sitting directly on a physical > >> interface which work as expected. > > > > Then why excluding this information from the table? > > > Here is the entire routing table (be warned it is 'long') > # route -n show -inet > Routing tables > > Internet: > Destination Gateway Flags Refs Use Mtu Prio > Iface > default 192.168.3.1 UGS 0 171986 - 8 > em1 > 224/4 127.0.0.1 URS 1 49977 32768 8 > lo0 > 10.0.0/24 10.0.0.2 UC 1 0 - 4 > em3 > 10.0.0.1 90:e2:ba:c3:df:7f UHLc 0 97189 - 4 > em3 > 10.0.0.2 90:e2:ba:c3:df:7b UHLl 0 85607 - 1 > em3 > 10.0.0.255 10.0.0.2 UHb 0 0 - 1 > em3 > 127/8 127.0.0.1 UGRS 0 3 32768 8 > lo0 > 127.0.0.1 127.0.0.1 UHl 1 1 32768 1 > lo0 > 172.16/16 172.16.0.198 UC 89 295390 - 4 > em0 > 172.16/16 172.16.0.200 CP 0 0 - 4 > carp0 > 172.16/16 172.16.0.197 CP 0 0 - 4 > carp0 > 172.16.0.1 52:54:00:a9:8e:ab UHLc 0 143368 - 4 > em0 > 172.16.0.5 8a:2f:e3:6e:00:64 UHLc 0 141541 - 4 > em0 > 172.16.0.6 00:0c:29:71:10:bd UHLc 0 238784 - 4 > em0 > 172.16.0.8 52:54:00:9f:d4:df UHLc 0 151386 - 4 > em0 > ... > 172.16.0.196 fe:b6:96:ee:53:5a UHLc 0 125966 - 4 > em0 > 172.16.0.197 00:00:5e:00:01:c8 UHLl 0 5417 - 1 > carp0 > 172.16.0.198 90:e2:ba:c3:df:78 UHLl 0 8220 - 1 > em0 > 172.16.0.199 90:e2:ba:c3:df:7c UHLc 0 4705 - 4 > em0 > 172.16.0.200 00:00:5e:00:01:c8 UHLl 0 12612 - 1 > carp0 > 172.16.0.202 52:54:00:c8:0f:d2 UHLc 0 111127 - 4 > em0 172.16.254.99 78:48:59:d6:77:1c UHLc 0 289643 - > 4 em0 > 172.16.255.255 172.16.0.198 UHb 0 0 - 1 > em0 > 172.16.255.255 172.16.0.200 HPb 0 0 - 1 > carp0 > 172.16.255.255 172.16.0.197 HPb 0 0 - 1 > carp0 > 172.17/16 192.168.3.11 UGS 0 820865 - 8 > em1 > 172.18/16 192.168.3.11 UGS 0 555 - 8 > em1 > 172.19/16 192.168.3.11 UGS 0 150326 - 8 > em1 > 172.20/16 192.168.3.11 UGS 0 61888 - 8 > em1 > 172.30.0/24 192.168.3.11 UGS 0 0 - 8 > em1 > 172.31/16 192.168.3.10 UGS 0 0 - 8 > em1 > 192.168.2/24 192.168.2.229 UC 2 506 - 4 > em1 > 192.168.2/24 192.168.2.3 C 0 0 - 4 > carp1 > 192.168.2.1 c0:25:06:2a:eb:38 UHLc 0 759 - 4 > em1 > 192.168.2.3 00:00:5e:00:01:03 UHLl 0 63 - 1 > carp1 > 192.168.2.4 46:52:22:77:e6:54 UHLc 0 1080487 - 4 > em1 > 192.168.2.229 90:e2:ba:c3:df:79 UHLl 0 9 - 1 > em1 > 192.168.2.255 192.168.2.229 UHb 0 0 - 1 > em1 > 192.168.2.255 192.168.2.3 Hb 0 0 - 1 > carp1 > 192.168.3/24 192.168.3.229 UC 10 2736 - 4 > em1 > 192.168.3/24 192.168.3.4 C 0 0 - 4 > carp1 > 192.168.3.2 68:05:ca:1e:b7:ae UHLc 0 3925 - 4 > em1 > 192.168.3.3 68:05:ca:1e:b5:92 UHLc 0 4806 - 4 > em1 > 192.168.3.4 00:00:5e:00:01:04 UHLl 0 622 - 1 > carp1 > 192.168.3.5 06:8d:9a:d6:7c:61 UHLc 0 161749 - 4 > em1 > 192.168.3.10 00:27:0e:09:05:22 UHLc 1 4189 - 4 > em1 > 192.168.3.13 52:54:00:86:87:74 UHLc 0 1154 - 4 > em1 > 192.168.3.15 52:54:00:08:71:b5 UHLc 0 7157 - 4 > em1 > 192.168.3.23 ea:e9:e8:31:03:b7 UHLc 0 2962 - 4 > em1 > 192.168.3.24 3e:24:4a:7d:b0:a9 UHLc 0 3212 - 4 > em1 > 192.168.3.30 36:32:31:df:52:27 UHLc 0 5294 - 4 > em1 > 192.168.3.70 link#2 UHRLc 1 2831 - 4 > em1 > 192.168.3.229 90:e2:ba:c3:df:79 UHLl 0 66 - 1 > em1 > 192.168.3.255 192.168.3.229 UHb 0 0 - 1 > em1 > 192.168.3.255 192.168.3.4 Hb 0 0 - 1 > carp1 > 192.168.32/24 192.168.3.10 UGS 0 0 - 8 > em1 > 192.168.80.120 192.168.3.10 UGHS 0 2550 - 8 > em1 > 192.168.150/24 192.168.150.202 UCP 0 2092 - 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 12 - 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 UHPb 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 UCP 2 28 - 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 6 - 1 > carp3 > 192.168.151.11 00:cd:fe:bd:1e:75 UHLc 1 147 - 4 > vlan101 > 192.168.151.16 44:d9:e7:58:d9:2e UHLc 0 11 - 4 > vlan101 > 192.168.151.202 90:e2:ba:c3:df:7a UHLl 0 10 - 1 > vlan101 > 192.168.151.255 192.168.151.202 UHPb 0 0 - 1 > vlan101 > 192.168.151.255 192.168.151.1 HPb 0 0 - 1 > carp3 > > ... > > > > > > > cheers > Kim

