[ILUG] SuSE 9.2 IPv6 routes/running stuff at boot
shanafin at gmail.com
Tue Apr 19 17:00:07 IST 2005
I've got an IPv6 tunnel set up via the HEAnet SixXS PoP, which allows
me to browse IPv6 sites. I also have a subnet allocated from SixXS
which I use to share the IPv6 connection among a few lab PC's here -
this all works fine when I manually configure my SuSE 9.2 server that
is doing the routing with the following script:
# author: Stephen Hanafin
# description: Script to bring up SixXS tunnel interface ('sixxs') and
set default routes.
# note: radvd must be running for local machines to autoconfigure
themselves with the
# correct inet6 addresses.
# date: 19-April-2005, 15:18
ip tunnel add sixxs mode sit local 18.104.22.168 remote 22.214.171.124
ip link set sixxs up
ip link set mtu 1280 dev sixxs
ip tunnel change sixxs ttl 64
ip -6 addr add 2001:770:100:66::2/64 dev sixxs
ip -6 ro add default via 2001:770:100:66::1 dev sixxs
ip -6 ro add 2001:770:13a::/64 dev eth1
Like I said, this all works fine when I manually run the sixxs script
after the system has booted, but I cannot figure out how to get this
to run at boot time. Can somebody enlighten me?
Also, I have one other small issue - radvd (IPv6 router advertisement
daemon) will not run at boot because the net.ipv6.conf.all.forwarding
sysctl is set to 0, even though I have it set to 1 in /etc/sysctl.conf
If I change it to 1 at the command line and then start the radvd
service it works fine.
Thanks for your help
More information about the ILUG