Chinese Yellow Pages | Classifieds | Knowledge | Tax | IME

It is quite easy to setup a ipv6 testbed at home now.

(1) setup linux ipv6 router

apt-get install radvd  # on a vm or real box debian

and copy the sample config to /etc/radvd.conf

/etc/init.d/radvd restart

(2) linux workstation autconfig

The linux workstation should be able to autoconfig an ipv6 address ( without ” iface br0 inet6 auto” in /etc/network/interface)

ip a

br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
inet6 2001:db8:1:0:218:8bff:fe81:27fb/64 scope global mngtmpaddr dynamic
inet6 fe80::218:8bff:fe81:27fb/64 scope link

(3) test

ping6 2001:db8:1:0:218:8bff:fe81:27fb

PING 2001:db8:1:0:218:8bff:fe81:27fb(2001:db8:1:0:218:8bff:fe81:27fb) 56 data bytes
64 bytes from 2001:db8:1:0:218:8bff:fe81:27fb: icmp_seq=1 ttl=64 time=2.64 ms

ssh  2001:db8:1:0:218:8bff:fe81:27fb ( it is working as well!)

 

References

http://ktaraghi.blogspot.com/2014/07/linux-as-ipv6-router.html

https://wiki.ubuntu.com/IPv6

Leave a Reply

Your email address will not be published. Required fields are marked *