Linode Forum
https://forum.linode.com/

Issue with ipv6 on debian
https://forum.linode.com/viewtopic.php?f=19&t=1334
Page 1 of 1

Author:  Joshua [ Wed Dec 08, 2004 6:23 pm ]
Post subject:  Issue with ipv6 on debian

Hey,

On my server i am trying to install an ipv6 and i used slackware before
and this script worked with slackware butdoes not work with my debian
install. It adds the tunnel and the ip address to eth0 but it also adds
/96 blocks that i did not ask it to and it does not seem to have a route
to the tunnel.

script: http://wolfnix.net/ipv6
ifconfig output: http://wolfnix.net/ifconfig
traceroute6:
debglade:/etc/bind# traceroute6 irc6.oftc.net
traceroute to irc6.oftc.net (2001:968:1::6666) from
2001:618:400::4655:103f, 30 hops max, 16 byte packets
1 * * *

debglade:/etc/bind# traceroute6 sixxs.net
traceroute to sixxs.net (2001:838:1:1:210:dcff:fe20:7c7c) from
2001:618:400::4655:103f, 30 hops max, 16 byte packets
1 * * *

Any help would be great

Thanks
Josh

Author:  benb [ Thu Dec 09, 2004 6:37 am ]
Post subject: 

I use the hurricane electric V6 tunnel broker. Once you've got
yourself an address allocated, this script works very well:

http://us.cactii.net/ipv6.txt

Author:  Joshua [ Fri Dec 10, 2004 11:08 pm ]
Post subject: 

i tried that i tried sixxs no luck. Below are some examples of issuse but when i used /etc/network/interfaces it set fine but i could not reach anything. Please Help!


Quote:
ip tunnel add sixxs mode sit local 70.85.16.63 remote 193.1.31.74
ip link set sixxs up
ip link set mtu 1280 dev sixxs
ip tunnel change sixxs ttl 64
ip -6 addr add 2001:770:100:37::2/64 dev sixxs
ip -6 ro add default via 2001:770:100:37::1 dev sixxs



root@debglade:~# ip tunnel add sixxs mode sit local 70.85.16.63 remote 193.1.31.74
ioctl: No buffer space available
root@debglade:~# ip link set sixxs up
root@debglade:~# ip link set mtu 1280 dev sixxs
root@debglade:~# ip tunnel change sixxs ttl 64
root@debglade:~# ip -6 addr add 2001:770:100:37::2/64 dev sixxs
root@debglade:~# ip -6 ro add default via 2001:770:100:37::1 dev sixxs
--------------------------------------------------------------
ifconfig sit0 up
ifconfig sit0 tunnel ::193.1.31.74
ifconfig sit1 up
ifconfig sit1 add 2001:770:100:37::2/64
route -A inet6 add 2000::/3 gw 2001:770:100:37::1 dev sit1
ip link set mtu 1280 dev sit0
ip tunnel change sit0 ttl 64
ip link set mtu 1280 dev sit1
ip tunnel change sit1 ttl 64

root@debglade:~# ifconfig eth0 inet6 del 2001:770:100:37::2/64
root@debglade:~# ifconfig sit0 up
root@debglade:~# ifconfig sit0 tunnel ::193.1.31.74
root@debglade:~# ifconfig sit1 up
sit1: ERROR while getting interface flags: No such device
root@debglade:~# ifconfig sit1 add 2001:770:100:37::2/64
SIOGIFINDEX: No such device
root@debglade:~# route -A inet6 add 2000::/3 gw 2001:770:100:37::1 dev sit1
SIOGIFINDEX: No such device
root@debglade:~# ip link set mtu 1280 dev sit0
root@debglade:~# ip tunnel change sit0 ttl 64
ttl != 0 and noptmudisc are incompatible
root@debglade:~# ip link set mtu 1280 dev sit1
SIOCSIFMTU: No such device
root@debglade:~# ip tunnel change sit1 ttl 64
ioctl: No such device

Author:  Joshua [ Fri Dec 10, 2004 11:16 pm ]
Post subject: 

also when i fo ifconfig i get werid stuff in sit0

sit0 Link encap:IPv6-in-IPv4
inet6 addr: ::70.85.16.65/96 Scope:Compat
inet6 addr: ::70.85.16.64/96 Scope:Compat
inet6 addr: ::70.85.16.109/96 Scope:Compat
inet6 addr: ::70.85.16.108/96 Scope:Compat
inet6 addr: ::127.0.0.1/96 Scope:Unknown
inet6 addr: ::70.85.16.63/96 Scope:Compat
UP RUNNING NOARP MTU:1280 Metric:1
RX packets:38 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:3158 (3.0 KiB) TX bytes:0 (0.0 b)

Author:  benb [ Thu Dec 16, 2004 10:24 am ]
Post subject: 

Quote:
root@debglade:~# ip tunnel add sixxs mode sit local 70.85.16.63 remote 193.1.31.74
ioctl: No buffer space available


Seems that you'll need to do the ipv6 config immediately after rebooting. Otherwise your memory might be too fragmented.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/