Конфиг radvd:
GNU nano 2.2.6 Файл: /etc/radvd.conf
interface vboxnet1
{
AdvSendAdvert on;
MaxRtrAdvInterval 30;
prefix 2001:bb::/64
{
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr off;
AdvValidLifetime 300;
AdvPreferredLifetime 120;
};
};
Интерферсы:
eth2 Link encap:Ethernet HWaddr 8c:89:a5:9d:fd:19
inet addr:91.235.88.109 Bcast:91.235.88.109 Mask:255.255.255.255
inet6 addr: fe80::8e89:a5ff:fe9d:fd19/64 Scope:Link
inet6 addr: 2001:bb::1/64 Scope:Общий
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:23850 errors:0 dropped:0 overruns:0 frame:0
TX packets:25898 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:11608327 (11.6 MB) TX bytes:6202126 (6.2 MB)
lo Link encap:Локальная петля (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:53 errors:0 dropped:0 overruns:0 frame:0
TX packets:53 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8330 (8.3 KB) TX bytes:8330 (8.3 KB)
sit0 Link encap:IPv6-in-IPv4
inet6 addr: ::91.235.88.109/96 Scope:Compat
inet6 addr: ::127.0.0.1/96 Scope:Неизвестный
inet6 addr: ::192.168.58.2/96 Scope:Compat
inet6 addr: ::192.168.57.1/96 Scope:Compat
UP RUNNING NOARP MTU:1480 Metric:1
RX packets:151 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10242 (10.2 KB) TX bytes:0 (0.0 B)
sit1 Link encap:IPv6-in-IPv4
inet6 addr: 2001:470:6e:3ee::2/64 Scope:Общий
inet6 addr: fe80::5beb:586d/64 Scope:Link
inet6 addr: fe80::c0a8:3a02/64 Scope:Link
inet6 addr: fe80::c0a8:3901/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MTU:1480 Metric:1
RX packets:1433 errors:0 dropped:0 overruns:0 frame:0
TX packets:1670 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:597296 (597.2 KB) TX bytes:183817 (183.8 KB)
teredo Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet6 addr: 2001:0:53aa:64c:1084:2031:a414:a792/32 Scope:Общий
inet6 addr: fe80::ffff:ffff:ffff/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1280 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:872 (872.0 B)
vboxnet0 Link encap:Ethernet HWaddr 0a:00:27:00:00:00
inet6 addr: fe80::800:27ff:fe00:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:298 (298.0 B)
vboxnet1 Link encap:Ethernet HWaddr 0a:00:27:00:00:01
inet addr:192.168.57.1 Bcast:192.168.57.255 Mask:255.255.255.0
inet6 addr: fe80::800:27ff:fe00:1/64 Scope:Link
inet6 addr: 2001:bb::8/64 Scope:Общий
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1009 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:111390 (111.3 KB)
Примечание:
vboxnet2 Link encap:Ethernet HWaddr 0a:00:27:00:00:02
inet addr:192.168.58.2 Bcast:192.168.58.255 Mask:255.255.255.0
inet6 addr: fe80::800:27ff:fe00:2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:688 (688.0 B)
Примечание:
При попытке пропинговать локальный адрес с витуалке:
root@shluz:~# busybox ping 2001:bb::8
PING 2001:bb::8 (2001:bb::8) 56 data bytes
ping: sendto: Network is unreachable
root@shluz:~#
Примечание:
radvdump:
root@MS-7715:~# radvdump
#
# radvd configuration generated by radvdump 1.9.1
# based on Router Advertisement from fe80::800:27ff:fe00:1
# received by interface vboxnet1
#
interface vboxnet1
{
AdvSendAdvert on;
# Note: {Min,Max}RtrAdvInterval cannot be obtained with radvdump
AdvManagedFlag off;
AdvOtherConfigFlag off;
AdvReachableTime 0;
AdvRetransTimer 0;
AdvCurHopLimit 64;
AdvDefaultLifetime 90;
AdvHomeAgentFlag off;
AdvDefaultPreference medium;
AdvSourceLLAddress on;
prefix 2001:bb::/64
{
AdvValidLifetime 300;
AdvPreferredLifetime 120;
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr on;
}; # End of prefix definition
}; # End of interface definition
#
# radvd configuration generated by radvdump 1.9.1
# based on Router Advertisement from fe80::800:27ff:fe00:1
# received by interface vboxnet1
#
interface vboxnet1
{
AdvSendAdvert on;
# Note: {Min,Max}RtrAdvInterval cannot be obtained with radvdump
AdvManagedFlag off;
AdvOtherConfigFlag off;
AdvReachableTime 0;
AdvRetransTimer 0;
AdvCurHopLimit 64;
AdvDefaultLifetime 90;
AdvHomeAgentFlag off;
AdvDefaultPreference medium;
AdvSourceLLAddress on;
prefix 2001:bb::/64
{
AdvValidLifetime 300;
AdvPreferredLifetime 120;
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr on;
}; # End of prefix definition
}; # End of interface definition
Примечание:
// busybox ping6 ?
Тоже самое