i recently tried to get ipv6 working on this new debian box.. and i'm getting erorrs when i try to add my new ipv6 ip. ipv6 and inet6 works fine, i can use ping6 here is the script the ipv6 company gave me to run
I am Running debian 4.0r1 with the 2.6.18-5-486 kernel
my Ethernet card
Code:
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3)
Code:
#!/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 ::213.121.24.85 \
&& ifconfig sit1 inet6 add 2001:618:400::4cb8:3c35/128 \
&& route -A inet6 add ::/0 gw fe80::d579:1855 dev sit1 \
&& route -A inet6 add 2000::/3 gw fe80::d579:1855 dev sit1 \
&& ifconfig eth0 up \
&& ifconfig eth0 inet6 add 2001:618:400:20f0::/64 \
&& echo 1 > /proc/sys/net/ipv6/conf/all/forwarding \
&& echo 'interface eth0
{
AdvSendAdvert on;
prefix 2001:618:400:20f0::/64
{
AdvOnLink on;
AdvAutonomous on;
};
ifconfig };' > /etc/radvd.conf \
&& /etc/init.d/radvd start \
&& echo "IPv6 configuration completed" || \
{ echo "IPv6 configuration failed!" 1>&2; exit 1; }
When i run this with sh script with nothing but lo and etho loaded i get this error:
Code:
SIOCSIFADDR: No buffer space available
IPv6 configuration failed!
My ifconfig looks like this:
Code:
eth0 Link encap:Ethernet HWaddr 00:18:F3:AD:AA:6A
inet addr:*.*.*.* Bcast:255.255.255.255 Mask:255.255.240.0
UP BROADCAST RUNNING MULTICAST MTU:576 Metric:1
RX packets:3088197 errors:0 dropped:0 overruns:0 frame:0
TX packets:577456 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:595664128 (568.0 MiB) TX bytes:42427721 (40.4 MiB)
Interrupt:217 Base address:0x2000
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:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:944 (944.0 b) TX bytes:944 (944.0 b)
sit0 Link encap:IPv6-in-IPv4
inet6 addr: ::76.184.60.53/96 Scope:Compat
inet6 addr: ::127.0.0.1/96 Scope:Unknown
UP RUNNING NOARP MTU:1480 Metric:1
RX packets:0 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:0 (0.0 b) TX bytes:0 (0.0 b)
sit1 Link encap:IPv6-in-IPv4
inet6 addr: 2001:618:400::4cb8:3c35/128 Scope:Global
inet6 addr: fe80::4cb8:3c35/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MTU:1280 Metric:1
RX packets:0 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:0 (0.0 b) TX bytes:0 (0.0 b)