make debian ipv6 router
![]()
we can tell my or direct me to page where i can find how to turn my debian server in to ipv6 router.
I have a tunnel working on the machine.
i have requested a subnet on that tunnnel.
now i want that the debian machine routes all ipv6 trafic.
with kind regards,
Bas van den Dikkenberg
make debian ipv6 router
![]()
I almost solved the router part its routing.
But when i restart the interface i get an error and the up command is not excuted
i put this in interfaces config file:
iface eth0 inet static
address 192.168.84.54
netmask 255.255.255.0
gateway 192.168.84.1
iface eth0 inet6 static
address 2001:7b8:3a4::1
netmask 48
gateway 2001:7b8:2ff:13b::2
up ip -6 route add 2001:7b8:3a4::/48 dev eth0
gateway 2001:7b8:2ff:13b::2
but when i restart network e get the following error
debian:/etc# /etc/init.d/networking restart
Setting up IP spoofing protection: rp_filter.
Reconfiguring network interfaces...ifup: interface lo already configured
SIOCADDRT: File exists
Failed to bring up eth0.
done.
i got my info about installing a router from http://www.ruwenzori.net/ipv6/Jims_LAN_IPv6_global_connectivity_howto.html
make debian ipv6 router
Have you even bothered trying to read the FAQ ?
make debian ipv6 router
![]()
the problem with advertising is solved ì was using /48 and /64
But i am still getting the error specified before but the connection is working
make debian ipv6 router
![]()
Here my experience about my home subnet.
this is my tunnel on /etc/network/interface
auto sixxs0
iface sixxs0 inet6 v4tunnel
address 2001:1418:100:f5::2
netmask 64
endpoint 213.254.12.34
ttl 64
up ip link set mtu 1280 dev sixxs0
up ip route add default via 2001:1418:100:f5::1 dev sixxs0
and this for adding a predefinied address on my internal eth0 with the correct subnet /64 that I have decide to use in my eth0
iface eth0 inet6 static
address 2001:1418:18a:1::6
netmask 64
next, I installed radvd with this configuration
interface eth0
{
AdvSendAdvert on;
prefix 2001:1418:18a:1:: /64
{
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr on;
};
};
and all is ok.
if you have an ayiya tunnel is sufficient to lauch script for making tunnel and default gateway on it.
bye
make debian ipv6 router
![]()
And this is all you did to get a subnet working? I've been having problems setting up a subnet since first creating one, it hasn't worked with a Windows pc acting as the router and now when I've configured a linux box as a router it still doesn't work. I've just tried your config and that didn't work either. :(
I've posted in another thread and as mentioned I can see traffic getting up to the tunnel but nothing for the subnet comes back. Starting to wonder if it's a problem at the POP.
|