Problems with subnet
Shadow Hawkins on Monday, 18 April 2005 18:31:10
Hi there, I have a sixxs tunnel to a linux box (SuSE 9.2) up and running fine - I can browse IPv6-only sites, ping, etc.
My end of the tunnel has the address 2001:770:100:66::2, PoP end is 2001:770:100:66::1. I have been assigned the subnet 2001:770:13a::/48.
I have configured radvd with the subnet prefix, and my client machines (one WinXP and one Red Hat 9) are successfully autoconfiguring themselves with global addresses using this prefix.
Unfortunately however, the linux box does not seem to be routing traffic for the client PC's. My firewall is turned off. I guess I have some kind of routing problem.
Can anyone help? I will paste my configuration below:
eth1 is connected to the local lan, eth0 is connected to the internet and thus to the sixxs PoP via IPv4.
Here's my radvd.conf:
interface eth1
{
AdvSendAdvert on;
MinRtrAdvInterval 30;
MaxRtrAdvInterval 100;
prefix 2001:770:13a::/64
{
}; #defaults are OK
};
ipv6server:/etc/init.d # ifconfig
eth0 Link encap:Ethernet HWaddr 00:01:02:F0:FB:31
inet addr:149.153.130.9 Bcast:149.153.159.255 Mask:255.255.224.0
inet6 addr: fe80::201:2ff:fef0:fb31/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4772808 errors:0 dropped:0 overruns:124 frame:0
TX packets:25001 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:568443662 (542.1 Mb) TX bytes:3104761 (2.9 Mb)
Interrupt:11 Base address:0xdc80
eth1 Link encap:Ethernet HWaddr 00:06:5B:56:04:C4
inet6 addr: fec0::2/2 Scope:Site
inet6 addr: fe80::206:5bff:fe56:4c4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2322 errors:0 dropped:0 overruns:0 frame:0
TX packets:2645 errors:0 dropped:0 overruns:0 carrier:0
collisions:1 txqueuelen:1000
RX bytes:229220 (223.8 Kb) TX bytes:376515 (367.6 Kb)
Interrupt:11 Base address:0xdc00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:737 errors:0 dropped:0 overruns:0 frame:0
TX packets:737 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:105416 (102.9 Kb) TX bytes:105416 (102.9 Kb)
sit0 Link encap:IPv6-in-IPv4
inet6 addr: ::127.0.0.1/96 Scope:Unknown
inet6 addr: ::149.153.130.9/96 Scope:Compat
UP RUNNING NOARP MTU:1280 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1520 (1.4 Kb) TX bytes:0 (0.0 b)
sit1 Link encap:IPv6-in-IPv4
inet6 addr: 2001:770:100:66::2/64 Scope:Global
inet6 addr: fe80::9599:8209/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MTU:1280 Metric:1
RX packets:56604 errors:0 dropped:0 overruns:0 frame:0
TX packets:16145 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5939074 (5.6 Mb) TX bytes:2093383 (1.9 Mb)
ipv6server:/etc/init.d # ip -6 route show
::/96 via :: dev sit0 metric 256 mtu 1280 advmss 1220 fragtimeout 64
2001:770:100:66::/64 via :: dev sit1 metric 256 mtu 1280 advmss 1220 fragtimeout 64
2000::/3 via 2001:770:100:66::1 dev sit1 metric 1 mtu 1280 advmss 1220 fragtimeout 64
2000::/3 via 2001:770:100:66::1 dev sit1 metric 1024 mtu 1280 advmss 1220 fragtimeout 64
fe80::/64 dev eth0 metric 256 mtu 1500 advmss 1220 fragtimeout 64
fe80::/64 dev eth1 metric 256 mtu 1500 advmss 1220 fragtimeout 64
fe80::/64 via :: dev sit1 metric 256 mtu 1280 advmss 1220 fragtimeout 64
ff00::/8 dev eth0 metric 256 mtu 1500 advmss 1220 fragtimeout 1
ff00::/8 dev eth1 metric 256 mtu 1500 advmss 1220 fragtimeout 1
ff00::/8 dev sit1 metric 256 mtu 1280 advmss 1220 fragtimeout 1
c000::/2 dev eth1 metric 256 mtu 1500 advmss 1220 fragtimeout 64
default via 2001:770:100:66::1 dev sit1 metric 1 mtu 1280 advmss 1220 fragtimeout 64
Thanks!
Problems with subnet
Jeroen Massar on Tuesday, 19 April 2005 11:24:46
You can most likely kill sit0. I do hope you are not using the ancient sit0/sit1 construct. Next to that fec0::/8 stuff is deprecated.
ipv6server:/etc/init.d # ip -6 route show ::/96 via :: dev sit0 metric 256 mtu 1280 advmss 1220 fragtimeout 64 2001:770:100:66::/64 via :: dev sit1 metric 256 mtu 1280 advmss 1220 fragtimeout 64 2000::/3 via 2001:770:100:66::1 dev sit1 metric 1 mtu 1280 advmss 1220 fragtimeout 64 2000::/3 via 2001:770:100:66::1 dev sit1 metric 1024 mtu 1280 advmss 1220 fragtimeout 64
Two semi-default routes with different metrics?
And a third default route:
default via 2001:770:100:66::1 dev sit1 metric 1 mtu 1280 advmss 1220 fragtimeout 64
But the big problems is that you have no route towards the 2001:770:13a::/64 on your eth1:
ip -6 ro add 2001:770:13a::/64 dev eth1
have fun...
Problems with subnet
Shadow Hawkins on Tuesday, 19 April 2005 14:25:41
Thank you. Unfortunately I am using the old sit0/sit1 system. I am still a bit inexperienced with Linux, so was following steps from a book (Pete Loshin's IPv6 book), which is a little dated.
Problems with subnet
Shadow Hawkins on Tuesday, 19 April 2005 15:37:56
Thanks again - I removed the sit0/sit1 setup and used the iproute2 method to create an interface called sixxs, as shown in the tunnel FAQ here. Once I added that default route you gave me, everything is working perfectly!
My current configuration:
ipv6server:/etc # ifconfig
eth0 Link encap:Ethernet HWaddr 00:01:02:F0:FB:31
inet addr:149.153.130.9 Bcast:149.153.159.255 Mask:255.255.224.0
inet6 addr: fe80::201:2ff:fef0:fb31/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9390 errors:0 dropped:0 overruns:336 frame:0
TX packets:501 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1308562 (1.2 Mb) TX bytes:68110 (66.5 Kb)
Interrupt:11 Base address:0xdc80
eth1 Link encap:Ethernet HWaddr 00:06:5B:56:04:C4
inet6 addr: fec0::2/2 Scope:Site
inet6 addr: fe80::206:5bff:fe56:4c4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:102 errors:0 dropped:0 overruns:0 frame:0
TX packets:138 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:19510 (19.0 Kb) TX bytes:80528 (78.6 Kb)
Interrupt:11 Base address:0xdc00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:64 errors:0 dropped:0 overruns:0 frame:0
TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5055 (4.9 Kb) TX bytes:5055 (4.9 Kb)
sixxs Link encap:IPv6-in-IPv4
inet6 addr: 2001:770:100:66::2/64 Scope:Global
inet6 addr: fe80::9599:8209/128 Scope:Link
UP POINTOPOINT RUNNING NOARP MTU:1280 Metric:1
RX packets:137 errors:0 dropped:0 overruns:0 frame:0
TX packets:118 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:79172 (77.3 Kb) TX bytes:21240 (20.7 Kb)
ipv6server:/etc # ip -6 route show
2001:770:100:66::/64 via :: dev sixxs metric 256 mtu 1280 advmss 1220 fragtimeout 64
2001:770:13a::/64 dev eth1 metric 1024 mtu 1500 advmss 1440 fragtimeout 64
fe80::/64 dev eth0 metric 256 mtu 1500 advmss 1220 fragtimeout 64
fe80::/64 dev eth1 metric 256 mtu 1500 advmss 1220 fragtimeout 64
fe80::/64 via :: dev sixxs metric 256 mtu 1280 advmss 1220 fragtimeout 64
ff00::/8 dev eth0 metric 256 mtu 1500 advmss 1220 fragtimeout 1
ff00::/8 dev eth1 metric 256 mtu 1500 advmss 1220 fragtimeout 1
ff00::/8 dev sixxs metric 256 mtu 1280 advmss 1220 fragtimeout 1
c000::/2 dev eth1 metric 256 mtu 1500 advmss 1220 fragtimeout 64
default via 2001:770:100:66::1 dev sixxs metric 1024 mtu 1280 advmss 1220 fragtimeout 64
Problems with subnet
Shadow Hawkins on Monday, 14 November 2005 04:55:09 But the big problems is that you have no route towards the 2001:770:13a::/64 on your eth1: ip -6 ro add 2001:770:13a::/64 dev eth1
Problems with subnet
Carmen Sandiego on Wednesday, 21 December 2005 19:53:59
This is also solved my problem with my Linux router. Thanks for the information.
Posting is only allowed when you are logged in. |