MacOSX 10.3.9: rtadvd changes default gateway (IPv6)
Imported from the Apple Support Forums via the Wayback Machine 🔗
Gegroet,
I want to use my mac (Imac G5, 10.3.9) as router for IPv6.
I have a IPv6 tunnel to sixxs.net which is up. The tunnel-interface is called "tun0", and the IPv6 routing-table points to that interface.
legolas:~ root# ifconfig tun0
tun0:
(...)
inet6 2001:6f8:202:1c2::2 --> 2001:6f8:202:1c2::1 prefixlen 128
# netstat -rn | grep default
(...)
default 2001:6f8:202:1c2::1 UGSc tun0
Now I want to use that machine as a gateway.
- I have received a /48 prefix from the tunnel-broker which on my local subnet (en3 interface):
# ifconfig en3 inet6 2001:6f8:3d3:1::1 alias
- next step, enable IPv6-routing:
# sysctl -w net.inet6.ip6.forwarding=1
So far, so good.
Next step, I start "rtadvd" to announce the existence of the IPv6-router on the subnet:
# rtadvd en3
However, then something strange happens. About 10 seconds later, I lose IPv6-connectity to the outside world. It turns out that rtadvd has changed to IPv6 default route from the tunnel-interfafe to it link-local IP-address on en3
(about 10 seconds later):
# netstat -rn | grep default
(...)
default fe80::219:e3ff:fe31:d949 UGc en3
Anybody any idea? Configuration-issue? sysctl-setting? Bug?
Cheerio! Kr. Bonne
3 replies
Sign in or join Beachball Help to reply.
- 0
- 0
- 0