如何使ipv6像ipv4那样绑定到网卡上?
本帖最后由 zctr 于 2013-6-10 11:54 编辑怎样能够使ipv6绑定到网卡上,就像ipv4一样?
例如:eth0 某ipv4
eth0:1 某ipv6
etch0:2 某ipv6
.......
现在我ifconfig的话,可以看到:
venet0 Link encap:UNSPECHWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:127.0.0.1P-t-P:127.0.0.1Bcast:0.0.0.0Mask:255.255.255.255
inet6 addr: 2605:6400:1:xxx:22:794e:ab96:7b70/128 Scope:Global
inet6 addr: 2605:6400:1:xxx:22:b702:e675:b77d/128 Scope:Global
inet6 addr: 2605:6400:1:xxx:22:3c57:10de:6ed9/128 Scope:Global
inet6 addr: 2605:6400:1:xxx:22:60b1:a0f4:334d/128 Scope:Global
inet6 addr: 2605:6400:1:xxx:22:edc3:c1c7:fa1b/128 Scope:Global
inet6 addr: 2605:6400:1:xxx:22:b9ba:1156:57bc/128 Scope:Global
inet6 addr: 2605:6400:1:xxx:22:4f19:239e:ba2/128 Scope:Global
的样子。 就像ipv4一样 来嘛来嘛
页:
[1]