Greetings!
Found some strange problem. When i connect to internet with only ipv4 connection and start vpn connection with ipv6 tunnel
Ipv6 does not work at windows guest system. In host OS X system ipv6 works fine.
Here screenshot of parallels connections: https://yadi.sk/i/dqYoMyxXtE7xg and https://yadi.sk/i/R3rKClJvtE7xp
Here my OS X (host) configuration:
77:~ test$ ifconfig -a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
nd6 options=1<PERFORMNUD>
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether f4:5c:89:94:c5:af
inet6 fe80::f65c:89ff:fe94:c5af%en0 prefixlen 64 scopeid 0x4
inet 77.88.19.219 netmask 0xfffffc00 broadcast 77.88.19.255
nd6 options=1<PERFORMNUD>
media: autoselect
status: active
en1: flags=963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX> mtu 1500
options=60<TSO4,TSO6>
ether 4a:00:04:da:f1:e0
media: autoselect <full-duplex>
status: inactive
en2: flags=963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX> mtu 1500
options=60<TSO4,TSO6>
ether 4a:00:04:da:f1:e1
media: autoselect <full-duplex>
status: inactive
bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=63<RXCSUM,TXCSUM,TSO4,TSO6>
ether f6:5c:89:49:f3:00
Configuration:
id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
ipfilter disabled flags 0x2
member: en1 flags=3<LEARNING,DISCOVER>
ifmaxaddr 0 port 5 priority 0 path cost 0
member: en2 flags=3<LEARNING,DISCOVER>
ifmaxaddr 0 port 6 priority 0 path cost 0
nd6 options=1<PERFORMNUD>
media: <unknown type>
status: inactive
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
ether 06:5c:89:94:c5:af
media: autoselect
status: inactive
awdl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1484
ether 02:2c:77:9f:ba:7b
inet6 fe80::2c:77ff:fe9f:ba7b%awdl0 prefixlen 64 scopeid 0x9
nd6 options=1<PERFORMNUD>
media: autoselect
status: active
tap0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1403
ether 06:bb:a8:b8:60:ae
inet 84.201.165.56 netmask 0xfffffe00 broadcast 84.201.165.255
inet6 fe80::4bb:a8ff:feb8:60ae%tap0 prefixlen 64 scopeid 0xa
inet6 2a02:6b8:0:c33::1:12d prefixlen 64
inet 169.254.64.55 netmask 0xffff0000 broadcast 169.254.255.255
nd6 options=1<PERFORMNUD>
open (pid 410)
vnic0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=3<RXCSUM,TXCSUM>
ether 00:1c:42:00:00:08
inet 10.211.55.2 netmask 0xffffff00 broadcast 10.211.55.255
nd6 options=1<PERFORMNUD>
media: autoselect
status: active
vnic1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=3<RXCSUM,TXCSUM>
ether 00:1c:42:00:00:09
inet 10.37.129.2 netmask 0xffffff00 broadcast 10.37.129.255
media: autoselect
status: active
Where Tap0 - vpn adapter
test$ host ya.ru
ya.ru has address 213.180.193.3
ya.ru has address 213.180.204.3
ya.ru has address 93.158.134.3
ya.ru has IPv6 address 2a02:6b8::3
ya.ru mail is handled by 10 mx.yandex.ru.
test$ ping6 -c 5 ya.ru
PING6(56=40+8+8 bytes) 2a02:6b8:0:6::1:26 --> 2a02:6b8::3
16 bytes from 2a02:6b8::3, icmp_seq=0 hlim=62 time=3.884 ms
16 bytes from 2a02:6b8::3, icmp_seq=1 hlim=62 time=3.169 ms
16 bytes from 2a02:6b8::3, icmp_seq=2 hlim=62 time=3.175 ms
16 bytes from 2a02:6b8::3, icmp_seq=3 hlim=62 time=3.077 ms
16 bytes from 2a02:6b8::3, icmp_seq=4 hlim=62 time=4.222 ms
--- ya.ru ping6 statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 3.077/3.505/4.222/0.461 ms
pismenniy-osx:~ test$ traceroute6 ya.ru
traceroute6 to ya.ru (2a02:6b8::3) from 2a02:6b8:0:6::1:26, 64 hops max, 12 byte packets
1 shalanda-tap2.yndx.net 3.440 ms 4.310 ms 4.645 ms
2 fol2-c4-irb-804.yndx.net 3.114 ms 3.575 ms 3.068 ms
3 www.yandex.ru 4.234 ms 4.308 ms 3.744 ms
test$ netstat -f inet6 -rn
Routing tables
Internet6:
Destination Gateway Flags Netif Expire
::/1 2a02:6b8:0:c33::1 UGSc tap0
::1 ::1 UHL lo0
2620:10f:d000::/44 2a02:6b8:0:c33::1 UGSc tap0
2a02:6b8::/32 2a02:6b8:0:c33::1 UGSc tap0
2a02:6b8:0:c33::/64 link#10 UC tap0
2a02:6b8:0:c33::1 0:bd:f7:94:37:0 UHLWIir tap0
2a02:6b8:0:c33::1:12d 6:bb:a8:b8:60:ae UHL lo0
8000::/1 2a02:6b8:0:c33::1 UGSc tap0
fe80::%lo0/64 fe80::1%lo0 UcI lo0
fe80::1%lo0 link#1 UHLI lo0
fe80::%en0/64 link#4 UCI en0
fe80::f65c:89ff:fe94:c5af%en0 f4:5c:89:94:c5:af UHLI lo0
fe80::%awdl0/64 link#9 UCI awdl0
fe80::2c:77ff:fe9f:ba7b%awdl0 2:2c:77:9f:ba:7b UHLI lo0
fe80::%tap0/64 link#10 UCI tap0
fe80::4bb:a8ff:feb8:60ae%tap0 6:bb:a8:b8:60:ae UHLI lo0
ff01::%lo0/32 ::1 UmCI lo0
ff01::%en0/32 link#4 UmCI en0
ff01::%awdl0/32 link#9 UmCI awdl0
ff01::%tap0/32 link#10 UmCI tap0
ff02::%lo0/32 ::1 UmCI lo0
ff02::%en0/32 link#4 UmCI en0
ff02::%awdl0/32 link#9 UmCI awdl0
ff02::%tap0/32 link#10 UmCI tap0
So all ipv6 routes through tap0
Here Win(guest) network connection
C:\Users\test>nslookup ya.ru 8.8.8.8
Server: google-public-dns-a.google.com
Address: 8.8.8.8
Non-authoritative answer:
Name: ya.ru
Addresses: 2a02:6b8::3
93.158.134.3
213.180.204.3
213.180.193.3
C:\Users\test>ping -6 2a02:6b8::3
Pinging 2a02:6b8::3 with 32 bytes of data:
PING: transmit failed. General failure.
PING: transmit failed. General failure.
PING: transmit failed. General failure.
PING: transmit failed. General failure.
Ping statistics for 2a02:6b8::3:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
C:\Users\test>route print
===========================================================================
Interface List
10...00 1c 42 c0 29 cf ...... 1...........................Software Loopback In
terface 1
13...00 00 00 00 00 00 00 e0 ==================================================
=========================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.211.55.1 10.211.55.3 10
10.211.55.0 255.255.255.0 On-link 10.211.55.3 266
10.211.55.3 255.255.255.255 On-link 10.211.55.3 266
10.211.55.255 255.255.255.255 On-link 10.211.55.3 266
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 10.211.55.3 266
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 10.211.55.3 266
===========================================================================
Persistent Routes:
None
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
1 306 ::1/128 On-link
10 18 fdb2:2c26:f4e4::/64 On-link
10 266 fdb2:2c26:f4e4:0:8455:148e:1ca6:254/128
On-link
10 266 fdb2:2c26:f4e4:0:ed69:2d80:11e:c74e/128
On-link
10 266 fe80::/64 On-link
10 266 fe80::ed69:2d80:11e:c74e/128
On-link
1 306 ff00::/8 On-link
10 266 ff00::/8 On-link
===========================================================================
Persistent Routes:
None
C:\Users\test>netsh int ipv6 show neighbors
Interface 1: Loopback Pseudo-Interface 1
Internet Address Physical Address Type
-------------------------------------------- ----------------- -----------
ff02::16 Permanent
ff02::1:2 Permanent
Interface 10: ??????????? ?? ????????? ????
Internet Address Physical Address Type
-------------------------------------------- ----------------- -----------
fdb2:2c26:f4e4:: 00-1c-42-00-00-18 Stale (Router)
fe80::21c:42ff:fe00:18 00-1c-42-00-00-18 Stale (Router)
ff02::2 33-33-00-00-00-02 Permanent
ff02::16 33-33-00-00-00-16 Permanent
ff02::1:2 33-33-00-01-00-02 Permanent
ff02::1:3 33-33-00-01-00-03 Permanent
ff02::1:ff00:0 33-33-ff-00-00-00 Permanent
ff02::1:ff00:18 33-33-ff-00-00-18 Permanent
ff02::1:ff1e:c74e 33-33-ff-1e-c7-4e Permanent
ff02::1:ffa6:254 33-33-ff-a6-02-54 Permanent
so look: fdb2:2c26:f4e4:: 00-1c-42-00-00-18 Stale (Router)
i think parallels nat does not sent to windows router advertisement, probably problem is here.
But lets go further:
When i connect to wifi/ethernet with ipv6 on Mac ipv6 works fine ( and vpn works too):
C:\Users\?????????????>ping -6 2a02:6b8::3
Pinging 2a02:6b8::3 with 32 bytes of data:
Reply from 2a02:6b8::3: time=4ms
Reply from 2a02:6b8::3: time=3ms
Reply from 2a02:6b8::3: time=3ms
Reply from 2a02:6b8::3: time=4ms
Ping statistics for 2a02:6b8::3:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 3ms, Maximum = 4ms, Average = 3ms
IPv6 Route Table (looks same)
===========================================================================
Active Routes:
If Metric Network Destination Gateway
10 266 ::/0 fe80::21c:42ff:fe00:18
1 306 ::1/128 On-link
10 18 fdb2:2c26:f4e4::/64 On-link
10 266 fdb2:2c26:f4e4:0:35ad:3770:caca:469e/128
On-link
10 266 fdb2:2c26:f4e4:0:ed69:2d80:11e:c74e/128
On-link
10 266 fe80::/64 On-link
10 266 fe80::ed69:2d80:11e:c74e/128
On-link
1 306 ff00::/8 On-link
10 266 ff00::/8 On-link
===========================================================================
Persistent Routes:
None
So how can i share vpn connection with ipv4 only on wifi? (without bridge connection, coz there is 802.1x authorization)
That issue can be reproduce on windows 7 or windows 10 ( i check it on 7, and 10. Maybe it can be reproduce on other versions) and at least 2 types of mac OS X (10.10 air, 10.11 mac book pro)
With parallels 11
ps: ya.ru i used just for example, its reproduce on all hosts.
Last edited: Jul 12, 2016