Just for fun, I'm setting up a FC10 machine with as an IPv6 router.
The tunnel device (tun0) is automatically created using a script (aiccu)
I want to allow other machines to use this box as a gateway, but I
think I have the config wrong
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 100
inet6 2001:1938:83:52::3/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::20d:57ff:fd9b:4b24/64 scope link
valid_lft forever preferred_lft forever
40: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1280 qlen 500
inet6 2001:1938:83:52::2/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::1838:83:52:2/64 scope link
valid_lft forever preferred_lft forever
2001:1938:83:52::/64 dev eth0 proto kernel metric 256 mtu 1500
advmss 1440 hoplimit 4294967295
2001:1938:83:52::/64 dev tun0 proto kernel metric 256 mtu 1280
advmss 1220 hoplimit 4294967295
fe80::/64 dev eth0 proto kernel metric 256 mtu 1500 advmss 1440
hoplimit 4294967295
fe80::/64 dev tun0 proto kernel metric 256 mtu 1280 advmss 1220
hoplimit 4294967295
default via 2001:1938:83:52::1 dev tun0 metric 1024 mtu 1280 advmss
1220 hoplimit 4294967295
I have radvd running and everything works well on the LAN using the
stateless addresses.
--
I've tried many combinations of a few things to solve the problem
turning off /etc/init.d/iptables
turning off /etc/init.d/ip6tables
sysctl -w net.ipv6.conf.default.forwarding=1
sysctl -w net.ipv6.conf.all.forwarding=1
Restricting prefix of tun0
# /sbin/ip -6 addr del 2001:1938:83:52::2/64 dev tun0
# /sbin/ip -6 addr add 2001:1938:83:52::2/126 dev tun0
Changing the global ip on eth0 to the same as tun0
Any thoughts?
Thanks
Robbie Barnett
rob...@barnett.id.au
0431864709
Skype Name: retsil42
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html