Hi all,

I'm having trouble with enabling IPv6 routing on my 5.8 gateway.

(Internet)----[DHCPv6+PD]----(em0-GW-axe0)----[SLAAC/rtadvd]

My box is connected to Comcast, I'm getting IPv6 address assignment over
DHCPv6 (wide dhcp6c) on WAN interface(em0) together with prefix delegation
and assigning this prefix to axe0 (internal interface).

On axe0 i'm running rtadvd. My clients are getting IPv6 addresses properly
assigned and i'm able to ping link-local address of my gw. but if I check
ipv6 neighbors on my gw I see that there are no global addresses except
permanent (GW-owned addresses).

When I enabled nd6_debug in sysctl - i'm getting the following error
message - my laptop send neighbor solicitation message to lookup GW's
address:
nd6_ns_input: src=2601:647:xxxx:xxxx:82e6:50ff:fe04:e758
nd6_ns_input: dst=ff02:5::1:ff46:fb5c
nd6_ns_input: tgt=2601:647:xxxx:xxxx:cab3:73ff:fe46:fb5c
nd6_ns_input: NS packet from non-neighbor
nd6_ns_input: src=2601:647:xxxx:xxxx:82e6:50ff:fe04:e758
nd6_ns_input: dst=ff02:5::1:ff46:fb5c


$ndp -p
2601:647:xxxx:xxxx::/64 if=axe0
flags=LD vltime=infinity, pltime=infinity, expire=Never, ref=1
  No advertising router
fe80::%axe0/64 if=axe0
flags=LAO vltime=infinity, pltime=infinity, expire=Never, ref=0
  No advertising router
fe80::%em0/64 if=em0
flags=LAO vltime=infinity, pltime=infinity, expire=Never, ref=0
  No advertising router
fe80::%lo0/64 if=lo0
flags=LAO vltime=infinity, pltime=infinity, expire=Never, ref=0
  No advertising router

In tcpdump I see nbr sol messages:
11:16:00.099357 2601:647:xxxx:xxxx:82e6:50ff:fe04:e758 > ff02::1:ff46:fb5c:
icmp6: neighbor sol: who has 2601:647:xxxx:xxxx:cab3:73ff:fe46:fb5c
11:16:01.110618 2601:647:xxxx:xxxx:82e6:50ff:fe04:e758 > ff02::1:ff46:fb5c:
icmp6: neighbor sol: who has 2601:647:xxxx:893a:cab3:73ff:fe46:fb5c


ifconfig:
# ifconfig axe0
axe0: flags=208843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF6> mtu
1500
        lladdr c8:b3:73:46:fb:5c
        priority: 0
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet 10.0.1.254 netmask 0xffffff00 broadcast 10.0.1.255
        inet6 fe80::cab3:73ff:fe46:fb5c%axe0 prefixlen 64 scopeid 0x5
        inet6 2601:647:xxxx:xxxx:cab3:73ff:fe46:fb5c prefixlen 64


It seems a bit strange that there is no connected DHCP-PD /64 prefix route
in the routing table (as you can see above - interface have this prefix
configured by dhcp6c):

# route show -inet6 | grep 647
2601:647:xxxx:xxxx c8:b3:73:46:fb:5c  UHLl       0       10     -     1 lo0
# netstat -rn | grep 647
2601:647:xxxx:xxxx:cab3:73ff:fe46:fb5c c8:b3:73:46:fb:5c              UHLl
      0       10     -     1 lo0

As a result, if i try to do traceroute6 from the GW to my laptop (1 hop) -
the packet gets routed to the default gw (ISP/WAN interface):

$ traceroute6 2601:647:xxxx:xxxx:82e6:50ff:fe04:e758
traceroute6 to 2601:647:xxxx:xxxx:82e6:50ff:fe04:e758
(2601:647:xxxx:xxxx:82e6:50ff:fe04:e758), 64 hops max, 60 byte packets
 1  2001:558:xxxx:xxxx::1 (2001:558:xxxx:xxxx::1)  8.669 ms  8.08 ms  9.143
ms
^C

Any suggestions/ideas?

-- 
Thanks a lot,
Yury.

Reply via email to