can't ping remote tunnel endpoint
Carmen Sandiego on Friday, 14 January 2005 23:24:59
Hello. I am using gentoo with a 2.6.10-r4 kernel. I have built the aiccu ebuild, and ran it (also i have NTP working) and it did print out the details of my tunnel correctly, but it did not create the sixxs interface.
About aiccu, i get in log:
Jan 14 22:53:05 [aiccu] Succesfully retrieved tunnel information for T5872_
Jan 14 22:53:05 [aiccu] Running as PID 29106
Then, i followed the instructions on http://www.sixxs.net/faq/connectivity/?faq=ossetup&os=linux (the *new* iproute2 method). When i type in the last line (ip -6 ro add default via via 2001:15c0:65ff:1f::1 dev sixxs) and i get: RTNETLINK answers: No route to host.
For fun, i try aiccu autotest and it goes fine till 6, this is the first one that doesn't succeed, and then all after it fail too.
###### [6/8] Ping the IPv6 Remote/POP Inner Tunnel Endpoint (2001:15c0:65ff:1f::1)
### This confirms the reachability of the other side of the tunnel
### If it doesn't reply then check your interface and routing tables
### Don't forget to check your firewall of course
### If the previous test was succesful then this could be both
### a firealling and a routing/interface problem
connect: Network is unreachable
I have iptables on, but i have proto 41 open. Also, ping6 2001:15c0:65ff:1f::1 worked at some point, but i can't remember what i did before it stopped working. It was the only address i could ping anyway, ping6 www.kame.net didn't work back then, and doesn't now either.
I would also like to know if there is any way to "clean out" the sixxs interface and it's routes to *try again* the whole thing.
Thanks
can't ping remote tunnel endpoint
Shadow Hawkins on Saturday, 15 January 2005 11:24:12
to 'clean', try shutting down aiccu and 'ip tun del sixxs'.
but first, i'd say you're missing an address on your tunnel interface, which would supposedly also set the route to your default gateway.
also, on gentoo, have you considered using /etc/conf.d/net and 'cp /etc/init.d/net.eth0 /etc/init.d/net.sixxs'?
when you setup the tunnel in the 'preup()'-function by
'ip tunnel add...' and
'ip link set mtu...',
you're ready to go.
to really help you on this, be sure to paste 'ip -6 addr sho' and 'ip -6 ro sho'.
can't ping remote tunnel endpoint
Carmen Sandiego on Sunday, 16 January 2005 17:15:25
eth1 - interface connected to ADSL modem, eth0 - interface connected to LAN, ppp0 - interface created for ADSL connection (network traffic goes trough this one, eth1 is more or less a dummy)
Configure with:
Gamma linux # ip tunnel add sixxs mode sit local [myipv4] remote 212.18.63.73
Gamma linux # ip link set sixxs up
Gamma linux # ip link set mtu 1280 dev sixxs
Gamma linux # ip tunnel change sixxs ttl 64
Gamma linux # ip -6 addr add 2001:15c0:65ff:1f::2/64 dev sixxs
Gamma linux # ip -6 ro add default via 2001:15c0:65ff:1f::1 dev sixxs
Requested info:
Gamma linux # ip -6 ro sho
2001:15c0:65ff:1f::/64 via :: dev sixxs metric 256 mtu 1280 advmss 1220 metric10 64
fe80::/64 dev eth0 metric 256 mtu 1500 advmss 1220 metric10 64
fe80::/64 dev eth1 metric 256 mtu 1500 advmss 1220 metric10 64
fe80::/64 via :: dev sixxs metric 256 mtu 1280 advmss 1220 metric10 64
ff00::/8 dev eth0 metric 256 mtu 1500 advmss 1220 metric10 1
ff00::/8 dev eth1 metric 256 mtu 1500 advmss 1220 metric10 1
ff00::/8 dev sixxs metric 256 mtu 1280 advmss 1220 metric10 1
default via 2001:15c0:65ff:1f::1 dev sixxs metric 1024 mtu 1280 advmss 1220 metric10 64
Gamma linux # ip -6 addr sho
1: lo: <LOOPBACK,UP> mtu 16436
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
3: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qlen 1000
inet6 fe80::204:76ff:fe9e:914a/64 scope link
valid_lft forever preferred_lft forever
4: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qlen 1000
inet6 fe80::250:fcff:feac:c6d1/64 scope link
valid_lft forever preferred_lft forever
6: sixxs@NONE: <POINTOPOINT,NOARP,UP> mtu 1280
inet6 2001:15c0:65ff:1f::2/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::c14d:9dd0/128 scope link
valid_lft forever preferred_lft forever
can't ping remote tunnel endpoint
Carmen Sandiego on Sunday, 16 January 2005 17:24:03
Nevermind, i got it working :-)
I still have two questions though..
Do i need to first configure sixxs using iproute and then start aiccu, or is aiccu supposed to do that (cause it doesn't here).
And, can u be more detailed about setting up sixxs trough /etc/conf.d/net and /etc/conf.d/net.sixxs?
Thanks
can't ping remote tunnel endpoint
Shadow Hawkins on Tuesday, 18 January 2005 10:15:40
hm, yes, i could.
but just yesterday i noticed that gentoo scripts suck, so it won't work.
forget about it and do as you did before :)
Posting is only allowed when you are logged in. |