How to enable Ipv6 on my ubunutu 11.04 virtual machine
- by liv2hak
I have installed 3 VM's on my PC.(Ubuntu 11.04).I want to setup an IPV6 network to review and test some of the IPV6 tools like NDPMonitor.(monitors ICMP messages of Neighbour Discovery Protocol.)
IP v6 addresses are as follows.
linux_router - fe80::a00:27ff:fed5:f7e9/64
labhack1 - fe80::a00:27ff:fed2:8bd1/64
labhack2 - fe80::a00:27ff:fed7:2f2d/64
The below commands have been run on both linux_router and labhack1.
sudo ip r a 2001:468:181:f100::/64 dev eth0
sudo vim /etc/radvd.conf /file looks like below./
interface eth0
{
AdvSendAdvert on; /*means that we are sending out advertisments.*/
MinRtrAdvInterval 5; /*these options control how often advertisments are sent*/
MaxRtrAdvInterval 15; /*these are not mandatory but valueable settings.*/
prefix fe80::a00:27ff::/64
{
AdvOnLink on; /*Says to the host everyone sharing this prefix is on the sam local link as you.*/
AdvAutonomous on; /*Says to a host: "Use this prefix to autoconfigure your address"*/
};
};
sudo sysctl -w net.ipv6.conf.all.forwarding=1
I try to do a
ping6 -I eth0 fe80::a00:27ff:fed5:f7e9
I get Destination unreachable: Address unreachable.I am not sure what I am doing wrong here.I am a beginner at linux administration.Basically I think I am missing whatever is analogous to physically connecting VM's.Any help that would point me in the right direction would be greatly appreciated.