Hello bugs@,

arp(8) behaves as expected when run with route -T <tableid> exec,
while ndp(8) show rdomain 0 neighboring table. vlan832 is in
rdomain20, while bge0 is in 0:

$ route -T20 exec ndp -an
Neighbor                             Linklayer Address   Netif Expire    S Flags
2a01:e34:ee8c:db8:223:8bff:fe8a:5d59 00:23:8b:8a:5d:59    bge0 permanent R l
2a01:e34:ee8c:db8:428d:5cff:fe56:c967 40:8d:5c:56:c9:67   bge0 8s        R
2a01:e34:ee8c:db8:5cf1:249d:fb3b:32e2 00:23:8b:8a:5d:59   bge0 permanent R l
fe80::223:8bff:fe8a:5d59%bge0        00:23:8b:8a:5d:59    bge0 permanent R l
fe80::428d:5cff:fe56:c967%bge0       40:8d:5c:56:c9:67    bge0 20h32m21s S
fe80::f6ca:e5ff:fe43:d114%bge0       f4:ca:e5:43:d1:14    bge0 1d0h0m0s  S R

-V<tableid> works fine however:
$ ndp -V20 -an
Neighbor                             Linklayer Address   Netif Expire    S Flags
fe80::223:8bff:fe8a:5d58%vlan832     00:23:8b:8a:5d:58 vlan832 permanent R l

IPv4 counterpart:
$ route -T20 exec arp -an
Host                                 Ethernet Address    Netif Expire    Flags
2.2.248.1                            a0:f3:e4:53:bf:99 vlan832 18m5s
2.2.249.196                          00:23:8b:8a:5d:58 vlan832 permanent l

$ arp -V20 -an
Host                                 Ethernet Address    Netif Expire    Flags
2.2.248.1                            a0:f3:e4:53:bf:99 vlan832 17m57s
2.2.249.196                          00:23:8b:8a:5d:58 vlan832 permanent l


arp.c has rdomain = getrtable(), ndp.c has not. Is this the reason why
I get such results?


Thanks,
pierre

Reply via email to