On 10/06/2016 08:29 AM, Ethan Rosenberg wrote: > Dear List - > > I am trying to setup an IPv6 network, but I cannot get it to workl. > > Added Address > > /etc/network/interfaces > # The loopback network interface > auto lo > iface lo inet loopback > > iface etho0 inet static > address 2620:7:a000::1 > netmask 64 > gateway ::ffff:c0a8:101 > > root@server1:/home/server1# ifconfig > eth0 Link encap:Ethernet HWaddr 00:23:ae:27:b9:ec > UP BROADCAST MULTICAST MTU:1500 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:1000 > RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) > Interrupt:16 > > 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:65536 Metric:1 > RX packets:6306 errors:0 dropped:0 overruns:0 frame:0 > TX packets:6306 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:2114918 (2.0 MiB) TX bytes:2114918 (2.0 MiB) > > wlan0 Link encap:Ethernet HWaddr 00:24:2c:49:d1:d8 > inet addr:192.168.1.6 Bcast:192.168.1.255 Mask:255.255.255.0 > inet6 addr: fe80::224:2cff:fe49:d1d8/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:97811 errors:0 dropped:0 overruns:0 frame:1779999 > TX packets:81649 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:56313143 (53.7 MiB) TX bytes:15602876 (14.8 MiB) > Interrupt:17 Base address:0xc000 > > netstat > > netstat -r > Kernel IP routing table > Destination Gateway Genmask Flags MSS Window irtt Iface > default openrg.home 0.0.0.0 UG 0 0 0 wlan0 > link-local * 255.255.0.0 U 0 0 0 wlan0 > 192.168.1.0 * 255.255.255.0 U 0 0 0 wlan0 > > > server1@server1:~$ netstat -rn -A inet6 > Kernel IPv6 routing table > Destination Next Hop Flag Met Ref Use If > ::1/128 :: U 256 0 0 lo > fe80::/64 :: U 256 0 0 > wlan0 > ::/0 :: !n -1 1 3755 lo > ::1/128 :: Un 0 4 47 lo > fe80::224:2cff:fe49:d1d8/128 :: Un 0 1 0 lo > ff00::/8 :: U 256 0 0 > wlan0 > ::/0 :: !n -1 1 3755 lo > > ping6 to google > > server1@server1:~$ ping6 ipv6.google.com > connect: Network is unreachable > > ping6 to local host > > server1@server1:~$ ping6 localhost > PING localhost(localhost) 56 data bytes > 64 bytes from localhost: icmp_seq=1 ttl=64 time=0.066 ms > 64 bytes from localhost: icmp_seq=2 ttl=64 time=0.088 ms > 64 bytes from localhost: icmp_seq=3 ttl=64 time=0.080 ms > ^C > --- localhost ping statistics --- > 3 packets transmitted, 3 received, 0% packet loss, time 1998ms > rtt min/avg/max/mdev = 0.066/0.078/0.088/0.009 ms > > root@server1:/home/server1# host -t AAAA www.cyberciti.biz > www.cyberciti.biz has no AAAA record > > > root@server1:/home/server1# lsmod | grep -qw ipv6 && echo "IPv6 kernel driver > loaded and configured." || echo "IPv6 not configured and/or driver loaded on > the > system." > IPv6 not configured and/or driver loaded on the system. > > > root@server1:/home/server1# ip -6 addr show > 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 > inet6 ::1/128 scope host > valid_lft forever preferred_lft forever > 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000 > inet6 fe80::224:2cff:fe49:d1d8/64 scope link > valid_lft forever preferred_lft forever > > TIA > Ethan >
Hi, you have not configured IPv6 address properly in /etc/network/interfaces. the line should be : iface etho0 inet6 static inet6 is for IPv6, inet is for IPv4. Kind regards Georgi