OSX is working fine from SUBNET - Linux is not
Shadow Hawkins on Monday, 05 May 2008 08:36:13
Guys,
I have a working TUNNEL/SUBNET setup using my Airport Extreme Base Station (AEBS).
1. From an OS X machine I can get a IPV6 address:
MacBookPro-2:~ adrian$ ifconfig en1
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::216:cbff:fe07:4993%en1 prefixlen 64 scopeid 0x6
inet6 2a01:348:168::216:cbff:fe07:4993 prefixlen 64 autoconf
inet 192.168.6.198 netmask 0xffffff00 broadcast 192.168.6.255
ether 00:16:cb:07:49:93
media: autoselect status: active
supported media: autoselect
2. and connect to sixxs.net
MacBookPro-2:~ adrian$ traceroute6 sixxs.net
traceroute6 to sixxs.net (2001:838:1:1:210:dcff:fe20:7c7c) from 2a01:348:168::216:cbff:fe07:4993, 30 hops max, 12 byte packets
1 2a01:348:168::216:cbff:fec1:ab88 3.153 ms 1.491 ms 0.7 ms
2 gw-221.lon-02.gb.sixxs.net 16.666 ms 17.701 ms 16.485 ms
3 ge-0-0-0-1235.rt0.lon4.ipv6.goscomb.net 20.08 ms 22.577 ms 21.782 ms
4 ge-0-0-2-1085.rt0.lon1.ipv6.goscomb.net 47.346 ms 41.194 ms 29.793 ms
5 ge-0-0-1-1369.rt0.nik.nl.ipv6.goscomb.net 78.67 ms 52.228 ms 40.046 ms
6 ams-ix2.ipv6.concepts.nl 42.332 ms 24.256 ms 23.794 ms
7 2001:838:0:13::1 23.848 ms 23.874 ms 23.887 ms
8 2001:838:0:12::2 27.462 ms 27.065 ms 27.484 ms
9 noc.sixxs.net 27.168 ms 27.373 ms 26.388 ms
3. I have setup an Ubuntu HH 8.04 VM using VMWare fusion with a bridged interface and I get an IPV6 Link Local address and a GLOBAL address from the AEBS
adrian@ubuntu-vm:~$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:0c:29:1b:ac:ca
inet addr:192.168.6.197 Bcast:192.168.6.255 Mask:255.255.255.0
inet6 addr: 2a01:348:168:0:20c:29ff:fe1b:acca/64 Scope:Global
inet6 addr: fe80::20c:29ff:fe1b:acca/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2266 errors:0 dropped:0 overruns:0 frame:0
TX packets:2203 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1669055 (1.5 MB) TX bytes:308058 (300.8 KB)
Interrupt:16 Base address:0x2000
4. I have the following automatic routes setup:
adrian@ubuntu-vm:~$ ip -6 route show
2a01:348:168::/64 dev eth0 proto kernel metric 256 expires 2591863sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev eth0 metric 256 expires 21333063sec mtu 1500 advmss 1440 hoplimit 4294967295
ff00::/8 dev eth0 metric 256 expires 21333063sec mtu 1500 advmss 1440 hoplimit 4294967295
default via fe80::216:cbff:fec1:ab88 dev eth0 proto kernel metric 1024 expires 1501sec mtu 1500 advmss 1440 hoplimit 64
5. I can ping from the GLOBAL address of Ubuntu to OS X host:
adrian@ubuntu-vm:~$ ping6 -I eth0 2a01:0348:0168:0000:0216:cbff:fe07:4993
PING 2a01:0348:0168:0000:0216:cbff:fe07:4993(2a01:348:168:0:216:cbff:fe07:4993) from 2a01:348:168:0:20c:29ff:fe1b:acca eth0: 56 data bytes
64 bytes from 2a01:348:168:0:216:cbff:fe07:4993: icmp_seq=1 ttl=64 time=4.82 ms
64 bytes from 2a01:348:168:0:216:cbff:fe07:4993: icmp_seq=2 ttl=64 time=0.451 ms
6. I cannot ping from UBUNTU to the router:
adrian@ubuntu-vm:~$ ping6 -I eth0 fe80:0000:0000:0000:0216:cbff:fec1:ab88
PING fe80:0000:0000:0000:0216:cbff:fec1:ab88(fe80::216:cbff:fec1:ab88) from fe80::20c:29ff:fe1b:acca eth0: 56 data bytes
From fe80::20c:29ff:fe1b:acca icmp_seq=19 Destination unreachable: Address unreachable
From fe80::20c:29ff:fe1b:acca icmp_seq=20 Destination unreachable: Address unreachable
From fe80::20c:29ff:fe1b:acca icmp_seq=21 Destination unreachable: Address unreachable
7. I cannot ping from UBUNTO to sixxs.net:
adrian@ubuntu-vm:~$ ping6 -I eth0 sixxs.net
PING sixxs.net(noc.sixxs.net) from 2a01:348:168:0:20c:29ff:fe1b:acca eth0: 56 data bytes
From 2a01:348:168:0:20c:29ff:fe1b:acca icmp_seq=1 Destination unreachable: Address unreachable
From 2a01:348:168:0:20c:29ff:fe1b:acca icmp_seq=2 Destination unreachable: Address unreachable
8. I have considered firewalls on UBUNTU:
adrian@ubuntu-vm:~$ sudo ip6tables -L
[sudo] password for adrian:
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
9. A treceroute6 does not help....
adrian@ubuntu-vm:~$ traceroute6 sixxs.net
traceroute to sixxs.net (2001:838:1:1:210:dcff:fe20:7c7c) from 2a01:348:168:0:20c:29ff:fe1b:acca, 30 hops max, 16 byte packets
1 2a01:348:168:0:20c:29ff:fe1b:acca (2a01:348:168:0:20c:29ff:fe1b:acca) 3013.08 ms !H 3043.12 ms !H 3041.33 ms !H
My guess is that traffic is not routing to LINK LOCAL addresses for some reason
Any thoughts.....
Adrian
OSX is working fine from SUBNET - Linux is not
Shadow Hawkins on Monday, 05 May 2008 09:17:52
My thought: Compare the default routes
OSX is working fine from SUBNET - Linux is not
Jeroen Massar on Monday, 05 May 2008 10:09:56
The google word you are looking for is "Neighbor discovery" (aka IPv6 ND), in other words the IPv6 equivalent for ARP.
See "ip -6 neigh sho" on the Linux box if you actually get a mac address of the router box associated with the link-local address (the fe80::/10 one).
In these cases, use tcpdump to see if what traffic is being generated and what traffic is not.
As you are using a VMWare box, the problem isn't unlikely to be a multicast issue though, there where quite some problems with the virtual interfaces some time ago.
What you can try is putting all the interfaces that are in the mix, starting with the linux one, into "ALLMULTI" mode: "ip link set eth0 allmulticast on" and additionally maybe even setting "promisc" on, this might trigger enough logic in the driver/virtualcard to catch all packets.
Otherwise you can always add a neighbor manually, with eg: "ip -6 neigh add to fe80:.... lladdr xx:xx:xx:xx:xx:xx dev eth0"
Without properly working multicast, IPv6 is not easily going to fly.
tcpdump or wireshark is your girl in this case, use it.
OSX is working fine from SUBNET - Linux is not
Shadow Hawkins on Monday, 05 May 2008 14:12:06
Just for info: I also had problems with IPv6 when running linux inside vmware (bridged net). It might be a problem with vmware.
OSX is working fine from SUBNET - Linux is not
Shadow Hawkins on Monday, 05 May 2008 14:47:52
1. I checked the default route - they are the same for OSX and UBUNTU
2. It looks like the Neighbour discovery protocol is having problems, on OSX:
MacBookPro-2:~ adrian$ ndp -a
Neighbor Linklayer Address Netif Expire St Flgs Prbs
localhost (incomplete) lo0 permanent R
2a01:348:168::20c:29ff:fe1b:acca 0:c:29:1b:ac:ca en1 23h56m56s S
2a01:348:168::216:cbff:fe07:4993 0:16:cb:7:49:93 en1 permanent R
2a01:348:168::216:cbff:fec1:ab88 0:16:cb:c1:ab:88 en1 23h59m29s S R
on UBUNTU:
root@ubuntu-vm:~# ip -6 neigh show
2a01:348:168:0:216:cbff:fe07:4993 dev eth0 lladdr 00:16:cb:07:49:93 REACHABLE
fe80::216:cbff:fec1:ab88 dev eth0 router FAILED
3. I have tried manually adding an entry to UBUNTU based on the OSX one but that does not seem to help.
root@ubuntu-vm:~# ip -6 neigh show
fe80::216:cbff:fec1:ab88 dev eth0 lladdr 00:16:cb:c1:ab:88 router PERMANENT
root@ubuntu-vm:~# ping6 -I eth0 fe80:0000:0000:0000:0216:cbff:fec1:ab88
PING fe80:0000:0000:0000:0216:cbff:fec1:ab88(fe80::216:cbff:fec1:ab88) from fe80::20c:29ff:fe1b:acca eth0: 56 data bytes
--- fe80:0000:0000:0000:0216:cbff:fec1:ab88 ping statistics ---
22 packets transmitted, 0 received, 100% packet loss, time 21203ms
Im going to take this over to the VMWARE forums and see what they have to say.
I'll keep the list posted.
Adrian
OSX is working fine from SUBNET - Linux is not
Shadow Hawkins on Monday, 05 May 2008 14:51:46
Back from VMWARE - It seems that Bridged Wireless has a known issue with IPV6
http://communities.vmware.com/message/917265#917265
I will try with a wired bridge and see what happens.
Adrian
Posting is only allowed when you are logged in. |