Thanks @kim
I do not have a firewall enabled, so that shouldn't be affecting anything.
with rstol, there's no default route found, whether I used /64 or /48 for my ip
rm /etc/mygate6
/etc/ifconfig.vioif0
inet 23.173.152.249 netmask 255.255.255.0
inet6 2602:fed2:7116:d82c::1 prefixlen 64 alias
rtsol
netstat -rn
Destination Gateway Flags Refs Use Mtu Interface
::/104 ::1 UGRS - - 33624 lo0
::/96 ::1 UGRS - - 33624 lo0
::1 lo0 UHl - - 33624 lo0
::127.0.0.0/104 ::1 UGRS - - 33624 lo0
::224.0.0.0/100 ::1 UGRS - - 33624 lo0
::255.0.0.0/104 ::1 UGRS - - 33624 lo0
::ffff:0.0.0.0/96 ::1 UGRS - - 33624 lo0
2001:db8::/32 ::1 UGRS - - 33624 lo0
2002::/24 ::1 UGRS - - 33624 lo0
2002:7f00::/24 ::1 UGRS - - 33624 lo0
2002:e000::/20 ::1 UGRS - - 33624 lo0
2002:ff00::/24 ::1 UGRS - - 33624 lo0
2602:fed2:7116:d82c::/64 link#1 UC - - - vioif0
2602:fed2:7116:d82c::1 link#1 UHl - - - lo0
fe80::/10 ::1 UGRS - - 33624 lo0
fe80::%vioif0/64 link#1 UC - - - vioif0
fe80::216:3eff:fed7:cf50 link#1 UHl - - - lo0
fe80::%lo0/64 fe80::1 U - - - lo0
fe80::1 lo0 UHl - - - lo0
ff01:1::/32 link#1 UC - - - vioif0
ff01:2::/32 ::1 UC - - 33624 lo0
ff02::%vioif0/32 link#1 UC - - - vioif0
ff02::%lo0/32 ::1 UC - - 33624 lo0
I decided to move all the settings into /etc/rc.conf like you posted.
/etc/rc.conf
defaultroute="23.173.152.1"
defaultroute6="2602:fed2:7116::1"
ifconfig_vioif0="
inet 23.173.152.249 netmask 255.255.255.0
inet6 2602:fed2:7116:d82c::1 prefixlen 48 alias
"
dns_nameservers="9.9.9.9 2620:fe::fe"
add an alias
ifconfig vioif0 inet6 2602:fed2:7116:d82c::5 prefixlen 48 alias
Wait a few minutes until ping doesn't work. It works initially.
ping6 -S 2602:fed2:7116:d82c::5 google.com
PING6(56=40+8+8 bytes) 2602:fed2:7116:d82c::5 --> 2607:f8b0:4023:1002::66
^C
--- google.com ping6 statistics ---
2 packets transmitted, 0 packets received, 100.0% packet loss
ndp -a
Neighbor Linklayer Address Netif Expire S Fl
fe80::da67:d9ff:fe58:3d1b%vioif0 d8:67:d9:58:3d:1b vioif0 1s D
2602:fed2:7116::1 d8:67:d9:58:3d:1b vioif0 1s D R
# ping the gateway
ping6 -S 2602:fed2:7116:d82c::5 2602:fed2:7116::1
PING6(56=40+8+8 bytes) 2602:fed2:7116:d82c::5 --> 2602:fed2:7116::1
16 bytes from 2602:fed2:7116::1, icmp_seq=0 hlim=64 time=2.481 ms
^C
--- 2602:fed2:7116::1 ping6 statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 2.481/2.481/2.481/0.000 ms
# ping works
ping6 -S 2602:fed2:7116:d82c::5 google.com
PING6(56=40+8+8 bytes) 2602:fed2:7116:d82c::5 --> 2607:f8b0:4023:1002::66
16 bytes from 2607:f8b0:4023:1002::66, icmp_seq=0 hlim=109 time=1.924 ms
16 bytes from 2607:f8b0:4023:1002::66, icmp_seq=1 hlim=109 time=1.941 ms
^C
--- google.com ping6 statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 1.924/1.933/1.941/0.012 ms
ndp -a
Neighbor Linklayer Address Netif Expire S Fl
2602:fed2:7116::1 d8:67:d9:58:3d:1b vioif0 19s R R
I noticed this neighbor comes and goes, fe80::da67:d9ff:fe58:3d1b%vioif0, and has the same linklayer address as the gateway 2602:fed2:7116::1, so I'm assuming it's one and the same. I have been able to ping with and without that neighbor being present, so I'm not sure why it comes and goes like that.
I've tried using ndp to manipulate the table, but I can't figure out how to use the program. All I was able to do was delete an entry with ndp -d fe80::da67:d9ff:fe58:3d1b%vioif0
I couldn't add one using ndp -s node1 2602:fed2:7116::1
. I couldn't find any examples and don't know what a 'node' is. I was just hoping to make the neighbor 'permanent' because I noticed the 'Expire' time is really short.
I'm going to re-install one of the provider linux images and get some network details from that to post here.