Re: ipv6 router problems Allan Bruce wrote:
> I have a router/server running Mandrake 9.1 and am trying to
> configure it as
> an ipv6 router. I have another mandrake 9.1 machine and a windows
> XP
> machine connected which are both ipb6 enabled. I am using the
> following to try and get the ipv6 router running:
>
> # start ipv6
> modprobe ipv6
>
> # enable ipv6 forwarding
> echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
>
> #configure tunnel
> #!/bin/sh
> if ! [ -f /proc/net/if_inet6 ]
> then echo "IPv6 is not installed!" 1>&2; exit 1; fi
>
> ifconfig sit0 up \
> && ifconfig sit0 inet6 tunnel ::193.113.58.80 \
> && ifconfig sit1 inet6 add 2001:618:400::c389:7859/128 \
> && route -A inet6 add ::/0 gw fe80::c171:3a50 dev sit1 \
> && route -A inet6 add 2000::/3 gw fe80::c171:3a50 dev sit1 \
> && ifconfig eth0 inet6 add 2001:618:48a::/48 \
> && echo 1 > /proc/sys/net/ipv6/conf/all/forwarding \
> && echo 'interface eth0
> {
> AdvSendAdvert on;
> MinRtrAdvInterval 3;
> MaxRtrAdvInterval 10;
> prefix 2001:618:48a::/48
> {
> AdvOnLink on;
> AdvAutonomous on;
> AdvRouterAddr on;
> };
> };' > /etc/radvd.conf \
> && echo "IPv6 configuration completed" || \
> { echo "IPv6 configuration failed!" 1>&2; exit 1;}
>
> # start router advertisement daemon
> /etc/init.d/radvd start
>
> The part for the tunnel was provided by btexact who I have my tunnel
> with.
>
> I can verify that router advertisements are being sent by running
> tcpdump and they are being seen on the other machines (again
> verified by using tcpdump).
>
< snip >
Try having radvd advertise a /64 instead of the /48. Just a thought.
Steven |