VMware Communities
jc_loid
Contributor
Contributor

Enabled IPv6 and want the Mac host to use IPv6 to communicate with virtual machines

I have created a VM in VMware fusion and trying to use the ipv6 private IP address to talk to my local mac host. In the recent update it is no longer showing vmnet interface, rather, it is using the bridge10xxx prefix. So if I see my bridge10xx interface, which the VM is in, It has both ipv4 and v6 addresses. Now i am trying to just ping between the two using that same prefix subnet. Ipv4 ofc goes without issue. Ipv6 is not able to ping. I did check my route table, plus i have followed the steps to manually enable the ipv6 fd15 prefix that is my VM ipv6 prefix and enable it on the bridge100xx interface. So my routing table on my Mac is also pointing to that interface IP address.

My mac host bridge100 interface is the one that VM is also on. The ipv6 prefix for that interface is fd15L4ba5:xxxx:1002::/64  according to VMware, you also need to manually add the ipv6 address in this interface. the command is sudo ifconfig VirtualNetworkInterfaceName inet6 IPv6Prefix::1 up Which i put sudo ifconfig bridge100 inet6 fd15L4ba5:xxxx:1002::1 And if i go check my route table , it is stating the following fd15:4ba5:xxxxx:1002::/64 link#18. bridge100 So this looks like it should be able to route any destination that is going to that prefix to bridge100 interface which has NAT enable for IPv6, and translate the IP from that 1002:1 address to whichever vm internal default gateway address is.

PS . my vm routing table look like this for ipv6

Kernel IPv6 routing table
Destination                    Next Hop                   Flag Met Ref Use If
::1/128                        ::                         U    256 1     0 lo
fd15:4ba5:5a2b:1002::/64       ::                         U    100 1     0 ens33
fe80::/64                      ::                         U    1024 2     0 ens33
::/0                           fe80::250:56ff:fec0:2222   UG   20100 2     0 ens33
::1/128                        ::                         Un   0   4     0 lo
fd15:4ba5:5a2b:1002:18b1:da85:cf73:f162/128 ::                         Un   0   2     0 ens33
fd15:4ba5:5a2b:1002:ff90:e92f:84be:207/128 ::                         Un   0   4     0 ens33
fe80::5748:c9cc:59a1:b9f7/128  ::                         Un   0   3     0 ens33
ff00::/8                       ::                         U    256 5     0 ens33
::/0                           ::                         !n   -1  1     0 lo

The IPV4 is working it it has IP of 172.16.198.1 in the bridge100 interface. And VM default gateway that is used is 172.16.198.2

And route table for ipv4 is similar to ipv6 as for any destination to 198.0 networks, goes bridge100 interface

Reply
0 Kudos
0 Replies