Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 168455

IPv6 and SLAAC/router advertisement with bridged networking and a Windows 8.1 host

$
0
0

Hi folks.  I have Workstation 12 installed on a Windows 8.1 machine.  The machine is on a LAN with an ADSL router which provides both IPv4 using DHCP and IPv6 using SLAAC/router advertisements.  Any machine booting on the network therefore gets both IPv4 and IPv6 addresses, and both are routed correctly and are fully functional.  SLAAC is virtually instantaneous--for any machine on the LAN, I have an ipv6 address as soon as I can check the interface, and it's fast enough that I can mount NFS over IPv6 during boot without any delay or interruption.

 

I am using a custom network adapter "VMnet0" in my guest configurations, which is configured for bridging using the RealTek ethernet adapter in the system.  When I boot a Linux or FreeBSD guest, DHCP configuration of IPv4 works correctly and immediately.  However... SLAAC takes between 5 and 10 minutes to give me an IPv6 address.  Once I get that address, then IPv6 works just fine.  But something odd is going on with the router advertisements--could it be that the bridged adapter isn't forwarding them properly?

 

Example of Ubuntu 15.10 guest immediately after boot (IPv4 configured, IPv6 is link-local only):

 

eno16777736 Link encap:Ethernet  HWaddr 00:50:56:20:cc:89 

          inet addr:192.168.1.150  Bcast:192.168.1.255  Mask:255.255.255.0

          inet6 addr: fe80::250:56ff:fe20:cc89/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:48 errors:0 dropped:0 overruns:0 frame:0

          TX packets:96 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:6231 (6.2 KB)  TX bytes:12815 (12.8 KB)

 

lo        Link encap:Local 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:269 errors:0 dropped:0 overruns:0 frame:0

          TX packets:269 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:24439 (24.4 KB)  TX bytes:24439 (24.4 KB)

 

After a 10 minute wait, we now have a global IPv6 address:

 

eno16777736 Link encap:Ethernet  HWaddr 00:50:56:20:cc:89 

          inet addr:192.168.1.150  Bcast:192.168.1.255  Mask:255.255.255.0

          inet6 addr: 2001:8b0:860:ddbd:a438:9935:1fb4:9807/64 Scope:Global

          inet6 addr: 2001:8b0:860:ddbd:250:56ff:fe20:cc89/64 Scope:Global

          inet6 addr: fe80::250:56ff:fe20:cc89/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:696 errors:0 dropped:0 overruns:0 frame:0

          TX packets:551 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:840663 (840.6 KB)  TX bytes:64410 (64.4 KB)

 

lo        Link encap:Local 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:305 errors:0 dropped:0 overruns:0 frame:0

          TX packets:305 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:28573 (28.5 KB)  TX bytes:28573 (28.5 KB)

 

 

 

 

This is the local guest state, showing it has a global IP address:

 

Windows IP Configuration

 

 

Ethernet adapter Ethernet:

 

   Connection-specific DNS Suffix  . : lan

   IPv6 Address. . . . . . . . . . . : 2001:8b0:860:ddbd:35c1:a7bb:abd6:6330

   Temporary IPv6 Address. . . . . . : 2001:8b0:860:ddbd:289a:de72:e713:7c56

   Link-local IPv6 Address . . . . . : fe80::35c1:a7bb:abd6:6330%3

   IPv4 Address. . . . . . . . . . . : 192.168.1.136

   Subnet Mask . . . . . . . . . . . : 255.255.255.0

   Default Gateway . . . . . . . . . : fe80::a6b1:e9ff:fe4d:1dd0%3

                                       192.168.1.254

 

Ethernet adapter VMware Network Adapter VMnet1:

 

   Connection-specific DNS Suffix  . :

   Link-local IPv6 Address . . . . . : fe80::2124:3778:24be:f9f2%19

   IPv4 Address. . . . . . . . . . . : 192.168.63.1

   Subnet Mask . . . . . . . . . . . : 255.255.255.0

   Default Gateway . . . . . . . . . :

 

Ethernet adapter VMware Network Adapter VMnet8:

 

   Connection-specific DNS Suffix  . :

   Link-local IPv6 Address . . . . . : fe80::b1da:9bfb:b7e5:8f55%20

   IPv4 Address. . . . . . . . . . . : 192.168.111.1

   Subnet Mask . . . . . . . . . . . : 255.255.255.0

   Default Gateway . . . . . . . . . :

 

Tunnel adapter isatap.lan:

 

   Media State . . . . . . . . . . . : Media disconnected

   Connection-specific DNS Suffix  . : lan

 

Tunnel adapter Teredo Tunneling Pseudo-Interface:

 

   Connection-specific DNS Suffix  . :

   IPv6 Address. . . . . . . . . . . : 2001:0:9d38:6ab8:18f1:923:ae44:6449

   Link-local IPv6 Address . . . . . : fe80::18f1:923:ae44:6449%5

   Default Gateway . . . . . . . . . :

 

Tunnel adapter isatap.{5ABFF8A0-5756-4281-A539-D494A310D9B7}:

 

   Media State . . . . . . . . . . . : Media disconnected

   Connection-specific DNS Suffix  . :

 

Tunnel adapter isatap.{8F73439E-6767-4879-BFEA-6E1C8CFF859A}:

 

   Media State . . . . . . . . . . . : Media disconnected

   Connection-specific DNS Suffix  . :


Viewing all articles
Browse latest Browse all 168455

Trending Articles