Roteamento IPv6 // Destino inacessível: além do escopo do endereço de origem

2

Eu quero configurar a Pilha dupla nas VMs do cliente. O roteador é uma VM também. Correndo no Debian Wheezy. Totalmente virtualizado pelo ESXi. O IPv4 está funcionando bem.

Ping da VM do cliente

ping6 -c 1 heise.de
PING heise.de(redirector.heise.de) 56 data bytes
From fe80::20c:29ff:fea2:cb92 icmp_seq=1 Destination unreachable: Beyond scope of source address

--- heise.de ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms

| cliente vm | --eth0 - > < --- eth1-- | roteamento vm | --eth0 - > (WAN)

VM do roteador

/ etc / network / interfaces

auto lo
iface lo inet loopback

# The primary network interface
auto eth0
allow-hotplug eth0
iface eth0 inet dhcp
iface eth0 inet6 static
    address XXXX:4f8:200:640e::
    netmask 128
    gateway fe80::1
# secondary network interface eth1
auto eth1
iface eth1 inet static
    address XXX.76.233.142
    netmask 255.255.255.240
    broadcast XXX.76.233.143
iface eth1 inet6 static
    address    XXXX:4f8:200:640e::1
    netmask    64

netstat -rn -A inet6

Kernel-IPv6-Routentabelle Destination Next Hop Flag Met Ref Use If XXXX:4f8:200:640e::/128 :: U 256 0 0 eth0 XXXX:4f8:200:640e::/64 :: U 256 0 0 eth1 fe80::/64 :: U 256 0 0 eth0 fe80::/64 :: U 256 0 0 eth1 ::/0 fe80::1 UG 1024 0 0 eth0 ::/0 :: !n -1 1 243 lo ::1/128 :: Un 0 1 5018 lo XXXX:4f8:200:640e::/128 :: Un 0 1 9 lo XXXX:4f8:200:640e::/128 :: Un 0 1 0 lo XXXX:4f8:200:640e::1/128 :: Un 0 1 134 lo fe80::/128 :: Un 0 1 0 lo fe80::/128 :: Un 0 1 0 lo fe80::20c:29ff:fea2:cb92/128 :: Un 0 1 19 lo fe80::250:56ff:fe00:4d1a/128 :: Un 0 1 0 lo ff00::/8 :: U 256 0 0 eth0 ff00::/8 :: U 256 0 0 eth1 ::/0 :: !n -1 1 243 lo

ping6 -c 1 heise.de

PING heise.de(redirector.heise.de) 56 data bytes
64 bytes from redirector.heise.de: icmp_seq=1 ttl=58 time=5.46 ms

--- heise.de ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 5.467/5.467/5.467/0.000 ms 

Ping o cliente vm

ping6 -c 1 XXXX: 4f8: 200: 640e :: 3

PING XXXX:4f8:200:640e::3(XXXX:4f8:200:640e::3) 56 data bytes

--- XXXX:4f8:200:640e::3 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

VM do cliente

/ etc / network / interfaces

auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
    address XXX.76.233.137
    netmask 255.255.255.240
    network XXX.76.233.128
    broadcast XXX.76.233.143
    gateway XXX.76.233.142
    # dns-* options are implemented by the resolvconf package, if installed
    dns-nameservers 213.133.98.98
    dns-search XXXX.XX
iface eth0 inet6 static
    address XXXX:4f8:200:640e::3
    netmask 64
    gateway XXXX:4f8:200:640e::1

netstat -rn -A inet6

Kernel-IPv6-Routentabelle Destination Next Hop Flag Met Ref Use If XXXX:4f8:200:640e::/64 :: U 256 0 1 eth0 fe80::/64 :: U 256 0 0 eth0 fe80::/64 :: U 256 0 0 docker0 ::/0 2a01:4f8:200:640e::1 UG 1024 0 0 eth0 ::/0 :: !n -1 1 4 lo ::1/128 :: Un 0 1 13 lo fe80::20c:29ff:fed8:326e/128 :: Un 0 1 6 lo fe80::cc1c:86ff:fe4a:47d3/128 :: Un 0 1 0 lo ff00::/8 :: U 256 0 0 eth0 ff00::/8 :: U 256 0 0 docker0 ::/0 :: !n -1 1 4 lo

Execute ping na VM do roteador

ping6 -c 1 XXXX: 4f8: 200: 640e :: 1 (XXXX: 4f8: 200: 640e :: também é bem sucedido)

PING XXXX:4f8:200:640e::1(XXXX:4f8:200:640e::1) 56 data bytes
64 bytes from XXXX:4f8:200:640e::1: icmp_seq=1 ttl=64 time=0.217 ms

--- XXXX:4f8:200:640e::1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.217/0.217/0.217/0.000 ms

Alguma ideia? Agradecemos antecipadamente.

Editar:

Existem 2 vSwitches

vSwitch0

Anexado ao nic físico. A VM do roteador está conectada a este vSwitch via eth0.

vSwitch1

Há todas as VMs do cliente e a VM do roteador (eth1) conectadas.

Veja: link

    
por Norman 04.04.2016 / 21:22

0 respostas

Tags