Benches macOS

3

MacOSX 10.3.9: rtadvd changes default gateway (IPv6)

apple Verified

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.

  1. 0

    cornelius

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    krbonne:

    Welcome to Apple Discussions.

    I suggest that you post your question in the
    Networking and the Web Forum where there might be folk who are more conversant with situations like yours.

    Good luck.

    cornelius

  2. 0

    krbonne

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi Cornelius (nice name. 😉 dutch ancestors??? )

    Thanks for the hint. I reposted the message overthere, and added some additional information of some trouble-shooting I did afterwards.

    In the mean time, I fixed this by resetting the default gateway (after a "sleep 30" ) in the startup-script which sets up the IPv6-tunnel; but it does is a strange issue.

    Cheerio! Kr. Bonne.

  3. 0

    cornelius

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    krbonne:

    Congratulations! I am glad you were able to resolve your issue. I'm not much of a hand at networking, hence my referring you to the other Forum.

    Sorry, no Dutch ancestors. Just a Bible name my father chose for me. Incidentally, many linguistic traditions seem to favor the name, Ukranians, Hispanic, Philipinos and now Dutch, and I'm others as well.

    Please do not hesistate to return to Discussions should you have further questions, or just to browse.

    [edited by host - see
    Terms of Use, section 4.2.2 ]

    Good luck.

    cornelius