[clug] IPv6, KVM and bridge interfaces

Edward C. Lang edlang at edlang.org
Sun Jul 15 05:45:35 MDT 2012


Hi,

I'm having some problems with IPv6 and my Ubuntu KVM host. I can't get to the automatically discovered router:

$ ip -6 route show
2001:db8:: dev br0  proto kernel  metric 256  expires 84263sec
2001:db8::/64 dev br0  proto kernel  metric 256  expires 86160sec
fe80::/64 dev br0  proto kernel  metric 256
fe80::/64 dev vnet0  proto kernel  metric 256
fe80::/64 dev vnet1  proto kernel  metric 256
fe80::/64 dev vnet2  proto kernel  metric 256
fe80::/64 dev vnet3  proto kernel  metric 256
fe80::/64 dev vnet4  proto kernel  metric 256
default via fe80::92f6:52ff:fef6:1082 dev br0  proto kernel  metric 1024  expires 1549sec

I get this result:

$ ping6 -c 2 2001:db8::92f6:52ff:fef6:1082
PING 2001:db8::92f6:52ff:fef6:1082(2001:db8::92f6:52ff:fef6:1082) 56 data bytes
>From 2001:db8::3962:f4d2:3355:b14 icmp_seq=1 Destination unreachable: Address unreachable
>From 2001:db8::3962:f4d2:3355:b14 icmp_seq=2 Destination unreachable: Address unreachable
--- 2001:db8::92f6:52ff:fef6:1082 ping statistics ---
2 packets transmitted, 0 received, +2 errors, 100% packet loss, time 999ms
$ traceroute6 www.google.com
traceroute to www.l.google.com (2404:6800:4006:803::1013) from 2001:db8::3962:f4d2:3355:b14, 30 hops max, 24 byte packets
 1  2001-0db8-0000-0000-3962-f4d2-3355-0b14.static.ipv6.internode.on.net (2001:db8::3962:f4d2:3355:b14)  2998.4 ms !H  2998.76 ms !H  2999.89 ms !H


Now, this server has the following in /etc/network/interfaces:

[...]
auto eth0
iface eth0 inet manual

auto br0
iface br0 inet static

  address 192.168.0.7
  netmask 255.255.255.0
  gateway 192.168.0.1
  broadcast 192.168.0.255
  bridge_ports eth0
  bridge_stp on
  bridge_maxwait 0

and the associated IPv4 route:

$ ip -4 r s
default via 192.168.0.1 dev br0  metric 100
192.168.0.0/24 dev br0  proto kernel  scope link  src 192.168.0.7
192.168.122.0/24 dev virbr0  proto kernel  scope link  src 192.168.122.1
VMs on the server are also getting IPv6 addresses but they have the same issue.

I've got a Windows 7 computer that is working perfectly:

Wireless LAN adapter Wireless Network Connection:

Connection-specific DNS Suffix . : localdomain
Description . . . . . . . . . . . : TP-LINK 450Mbps Wireless N Adapter
Physical Address. . . . . . . . . : 90-F6-52-
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2001:db8::6c87:771d:ab17:51ca(P
referred)
Temporary IPv6 Address. . . . . . : 2001:db8::2868:c339:34f0:d56e(P
referred)
Link-local IPv6 Address . . . . . : fe80::6c87:771d:ab17:51ca%11(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.0.11(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Sunday, 15 July 2012 13:03:57
Lease Expires . . . . . . . . . . : Monday, 16 July 2012 08:17:29
Default Gateway . . . . . . . . . : fe80::92f6:52ff:fef6:1082%11
192.168.0.1
DHCP Server . . . . . . . . . . . : 192.168.0.1
DHCPv6 IAID . . . . . . . . . . . : 
DHCPv6 Client DUID. . . . . . . . :

DNS Servers . . . . . . . . . . . : 192.168.0.1
NetBIOS over Tcpip. . . . . . . . : Enabled

C:\>tracert /6 ipv6.google.com

Tracing route to ipv6.l.google.com [2404:6800:4006:803::1012]
over a maximum of 30 hops:

1 2 ms 1 ms 1 ms 2001-db8-0000-0000-92f6-52ff-fef6-1082.static.i
pv6.internode.on.net [2001:db8::92f6:52ff:fef6:1082]
2 40 ms 133 ms 105 ms loop0.lns20.cbr1.internode.on.net [2001:44b8:901
0::5]
3 95 ms * 82 ms gi0-0-1.cor3.cbr1.internode.on.net [2001:44b8:90
10:13::1]
4 57 ms * 41 ms te6-0-0.bdr1.syd4.internode.on.net [2001:44b8:90
10:e::2]
5 124 ms 55 ms 44 ms 2001:4860:1:1:0:1283:0:8
6 57 ms 95 ms 62 ms 2001:4860::1:0:9f7
7 89 ms 99 ms 51 ms 2001:4860:0:1::4b1
8 76 ms 51 ms 98 ms 2404:6800:4006:803::1012

Trace complete.

Any ideas as to what's gone wrong? For what it's worth, the Ubuntu server
is also connected to a wireless bridge. The bridge is running Tomato and
doesn't have an IPv6 address. The main router (to which the Windows
computer is connected) is running openwrt and radvd. There's no firewall
configured on the Ubuntu server.

Regards,

Edward.


-- 

http://edlang.org/


More information about the linux mailing list