我在我的电脑上安装了3个虚拟机(Ubuntu 11.04)。我想设置一个IPV6networking来检查和testingNDPMonitor等一些IPV6工具(监视邻居发现协议的ICMP消息)。
IP v6地址如下。
linux_router – fe80 :: a00:27ff:fed5:f7e9 / 64 labhack1 – fe80 :: a00:27ff:fed2:8bd1 / 64 labhack2 – fe80 :: a00:27ff:fed7:2f2d / 64
下面的命令已经在linux_router和labhack1上运行了。
sudo ip ra 2001:468:181:f100 :: / 64 dev eth0
sudo vim /etc/radvd.conf / 文件如下所示。 /
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
我尝试做一个
ping6 -I eth0 fe80 :: a00:27ff:fed5:f7e9
我得到目的地无法访问:地址无法访问。我不知道我在做什么错在这里。我是一个在Linuxpipe理初学者。基本上我觉得我失去了类似于物理连接VM's.Any帮助,将指向我在右边方向将不胜感激。
您在radvd.conf指定的前缀在多个方面都是无效的。
:: s,这是不允许的。 这个快捷方式只能在任何给定的地址出现一次。 要解决该问题,请通告有效的全局前缀。 如果您还没有收到您的ISP,请在唯一本地地址范围内使用随机前缀 。