Iain Kay
2011-Jul-22 15:25 UTC
[Xen-users] Xen 4.1.0, LibXL, Bridged Networking, IPv6 Issues
Hey all, Having an issue getting IPv6 working with my Xen VM''s. I have Xen 4.1.0 running with Konrad Wilk''s 2.6.39.1 kernel on top of CentOS 5.6. The network configuration is bridged. Using Lib XL. My /etc/xen/xl.conf: vifscript="vif-bridge" My VM cfg files: vif = [ ''mac=00:50:56:26:9b:55,bridge=xenbr0'' ] My /etc/sysconfig/network-scripts/ifcfg-xenbr0: DEVICE=xenbr0 TYPE=Bridge IPV6INIT=yes BOOTPROTO=static BROADCAST=82.192.84.xx IPADDR=82.192.84.xx NETMASK=255.255.255.192 ONBOOT=yes DELAY=0 NM_CONTROLLED=no On the guest OS I can see the IP Address with ifconfig: inet6 addr: 2001:1af8:4010:a00b:1::ff11/64 Scope:Global Host side there is no IPv6 configuration done. As far as I know the bridge is just a layer 2 bridge and will fire any IPv6 traffic on to the switch. I cannot ping IPv6 addresses from the host at all, just get error: socket: Address family not supported by protocol When running tcpdump on the VM itself I don''t see any IPv6 traffic what so ever. Any ideas what could be going wrong or any further info I could provide/look in to? Cheers Iain Kay _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Walter Robert Ditzler
2011-Jul-22 15:52 UTC
RE: [Xen-users] Xen 4.1.0, LibXL, Bridged Networking, IPv6 Issues
hi, did you turn on routing? on debian at the file "/etc/sysctl.conf" - net.ipv6.conf.all.forwarding=1 cheers walter -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Iain Kay Sent: Freitag, 22. Juli 2011 17:26 To: xen-users@lists.xensource.com Subject: [Xen-users] Xen 4.1.0, LibXL, Bridged Networking, IPv6 Issues Hey all, Having an issue getting IPv6 working with my Xen VM''s. I have Xen 4.1.0 running with Konrad Wilk''s 2.6.39.1 kernel on top of CentOS 5.6. The network configuration is bridged. Using Lib XL. My /etc/xen/xl.conf: vifscript="vif-bridge" My VM cfg files: vif = [ ''mac=00:50:56:26:9b:55,bridge=xenbr0'' ] My /etc/sysconfig/network-scripts/ifcfg-xenbr0: DEVICE=xenbr0 TYPE=Bridge IPV6INIT=yes BOOTPROTO=static BROADCAST=82.192.84.xx IPADDR=82.192.84.xx NETMASK=255.255.255.192 ONBOOT=yes DELAY=0 NM_CONTROLLED=no On the guest OS I can see the IP Address with ifconfig: inet6 addr: 2001:1af8:4010:a00b:1::ff11/64 Scope:Global Host side there is no IPv6 configuration done. As far as I know the bridge is just a layer 2 bridge and will fire any IPv6 traffic on to the switch. I cannot ping IPv6 addresses from the host at all, just get error: socket: Address family not supported by protocol When running tcpdump on the VM itself I don''t see any IPv6 traffic what so ever. Any ideas what could be going wrong or any further info I could provide/look in to? Cheers Iain Kay _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Iain Kay
2011-Jul-22 16:13 UTC
Re: [Xen-users] Xen 4.1.0, LibXL, Bridged Networking, IPv6 Issues
On 22 Jul 2011, at 16:52, Walter Robert Ditzler wrote:> hi,Hi walter,> did you turn on routing? > > on debian at the file "/etc/sysctl.conf" > > - net.ipv6.conf.all.forwarding=1I don''t even have that option in the host OS: [root@cerberus ~]# sysctl net.ipv6.conf.all.forwarding error: "net.ipv6.conf.all.forwarding" is an unknown key Notably though, the IPv6 module is loaded: [root@cerberus ~]# lsmod | grep ipv6 ipv6 246892 1 bridge Iain _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Walter Robert Ditzler
2011-Jul-22 16:35 UTC
RE: [Xen-users] Xen 4.1.0, LibXL, Bridged Networking, IPv6 Issues
hi iain, the key "net.ipv6.conf.all.forwarding" exists under debian squeeze 6.0.2.1, I don''t know by other distribution since we only use debian. thanks walter -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Iain Kay Sent: Freitag, 22. Juli 2011 18:13 To: xen-users@lists.xensource.com Subject: Re: [Xen-users] Xen 4.1.0, LibXL, Bridged Networking, IPv6 Issues Importance: High On 22 Jul 2011, at 16:52, Walter Robert Ditzler wrote:> hi,Hi walter,> did you turn on routing? > > on debian at the file "/etc/sysctl.conf" > > - net.ipv6.conf.all.forwarding=1I don''t even have that option in the host OS: [root@cerberus ~]# sysctl net.ipv6.conf.all.forwarding error: "net.ipv6.conf.all.forwarding" is an unknown key Notably though, the IPv6 module is loaded: [root@cerberus ~]# lsmod | grep ipv6 ipv6 246892 1 bridge Iain _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Iain Kay
2011-Jul-22 16:43 UTC
Re: [Xen-users] Xen 4.1.0, LibXL, Bridged Networking, IPv6 Issues
On 22 Jul 2011, at 17:35, Walter Robert Ditzler wrote:> hi iain, > > the key "net.ipv6.conf.all.forwarding" exists under debian squeeze 6.0.2.1, > I don''t know by other distribution since we only use debian.Fair enough. Cheers anyway mate. The server in question has been launched into production for the past 36 days so can''t really mess around too much with it. I''m going to setup identical setup locally and debug it until I can get it working. Maybe missed some kernel modules that IPv6 wants, maybe need to re-configure eth0 or xenbr0 settings, so many other possibilities. Iain _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Walter Robert Ditzler
2011-Jul-22 16:49 UTC
RE: [Xen-users] Xen 4.1.0, LibXL, Bridged Networking, IPv6 Issues
iain, what i remembered, on 4.2 unstable the bridge network didn''t work anymore like it used to work like that - vif = [ ''bridge=eth0,mac=00:16:3e:1a:b3:4b'' ] auto eth0 iface eth0 inet static address 10.41.10.42 netmask 255.255.255.0 network 10.41.10.0 broadcast 10.41.10.255 gateway 10.41.10.1 i had to define an extra bridge network in my squeeze network interface configuration file vif = [ ''bridge=br0,mac=00:16:3e:1a:b3:4b'' ] auto br0 iface br0 inet static address 10.41.10.42 netmask 255.255.255.0 network 10.41.10.0 broadcast 10.41.10.255 gateway 10.41.10.1 bridge_ports eth0 bridge_stp on bridge_maxwait 0 thanks walter -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Iain Kay Sent: Freitag, 22. Juli 2011 18:44 To: xen-users@lists.xensource.com Subject: Re: [Xen-users] Xen 4.1.0, LibXL, Bridged Networking, IPv6 Issues Importance: High On 22 Jul 2011, at 17:35, Walter Robert Ditzler wrote:> hi iain, > > the key "net.ipv6.conf.all.forwarding" exists under debian squeeze > 6.0.2.1, I don''t know by other distribution since we only use debian.Fair enough. Cheers anyway mate. The server in question has been launched into production for the past 36 days so can''t really mess around too much with it. I''m going to setup identical setup locally and debug it until I can get it working. Maybe missed some kernel modules that IPv6 wants, maybe need to re-configure eth0 or xenbr0 settings, so many other possibilities. Iain _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Iain Kay
2011-Jul-22 17:38 UTC
Re: [Xen-users] Xen 4.1.0, LibXL, Bridged Networking, IPv6 Issues
On 22 Jul 2011, at 17:49, Walter Robert Ditzler wrote:> iain, > > what i remembered… > > bridge_stp onInteresting. My bridge currently has STP explicitly disabled. Perhaps this is the culprit. I have decided that the server can come down tonight at 00:00 for some upgrades. Will re-compile the kernel paying attention to IPv6 modules, upgrade to xen 4.1.1, have a play with domU cfg files as per your suggested config and see what I can find. There is always the slim possibility that my provider has assigned the IPv6 address space to the wrong ethernet cable… but I''d like to hope not! Iain _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Iain Kay
2011-Jul-23 15:35 UTC
Re: [Xen-users] Xen 4.1.0, LibXL, Bridged Networking, IPv6 Issues
On 22 Jul 2011, at 18:38, Iain Kay wrote:> Interesting. My bridge currently has STP explicitly disabled. Perhaps this is the culprit.After installing Xen 4.1.1, ensuring IPv6 was all setup on CentOS (dome) and not disabled then rebooting into Xen 4.1.1; I attempted bridge configuration with and without STP but to no avail.> Will… have a play with domU cfg files as per your suggested config and see what I can find.It seems that the issue is not localised to the VMs as the host OS cannot obtain IPv6 connectivity either so I think that the issue is outwith Xen. Iain _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users