Hi guys! Can i use a IPv6 adress at XEN 4.0.1 of Debain 6? In my cfg I use this setting: vif = [ ''ip=85.10.210.154 46.4.44.162 2a01:4f8:130:9301::3'' ] But i get the error message: Error: Device 0 (vif) could not be connected. /etc/xen/scripts/vif-route failed; error detected. Best regards, Stefan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Jun 22, 2011 at 4:14 PM, Stefan Becker <stefan.becker@stefanshome.com> wrote:> Hi guys! > > > > Can i use a IPv6 adress at XEN 4.0.1 of Debain 6?Should be possible. Bridge mode passes ethernet packets, and doesn''t really care what''s on top of it.> In my cfg I use this setting: > > > > vif = [ ''ip=85.10.210.154 46.4.44.162 2a01:4f8:130:9301::3'' ]dump "ip" settings. It''s useless in most setup anyway. Instead, you should explicitly specify mac (needed for lots of things, including persistent DHCP), and optionally bridge (to make it clear, in case you have multiple bridge) and vifname (to make it easier to identify from dom0). Something like vif = [ ''mac=00:16:3E:A8:31:24, bridge=eth0, vifname=ubuntu-e0'' ] Then specify ipv6 address inside domU using usual OS methods (/etc/network/interfaces on Debian/Ubuntu) Most modern OS have IPv6 enabled by default, using link-local address. So if (for example) your dom0 bridge is using fe80::21e:bff:fe5e:9f58, and your domU only has one interface (eth0), you can test IPv6 conectivity from domU to dom0 using something like ping6 -I eth0 fe80::21e:bff:fe5e:9f58 -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Sorry for my query! This machine is a dedicated server of my ISP. I don''t have a fix mac for the IPv6 address, only for IPv4. Is your solution ok for my problem? Stefan> Can i use a IPv6 adress at XEN 4.0.1 of Debain 6?Should be possible. Bridge mode passes ethernet packets, and doesn''t really care what''s on top of it.> In my cfg I use this setting: > > > > vif = [ ''ip=85.10.210.154 46.4.44.162 2a01:4f8:130:9301::3'' ]dump "ip" settings. It''s useless in most setup anyway. Instead, you should explicitly specify mac (needed for lots of things, including persistent DHCP), and optionally bridge (to make it clear, in case you have multiple bridge) and vifname (to make it easier to identify from dom0). Something like vif = [ ''mac=00:16:3E:A8:31:24, bridge=eth0, vifname=ubuntu-e0'' ] Then specify ipv6 address inside domU using usual OS methods (/etc/network/interfaces on Debian/Ubuntu) Most modern OS have IPv6 enabled by default, using link-local address. So if (for example) your dom0 bridge is using fe80::21e:bff:fe5e:9f58, and your domU only has one interface (eth0), you can test IPv6 conectivity from domU to dom0 using something like ping6 -I eth0 fe80::21e:bff:fe5e:9f58 -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Stefan Becker wrote:>This machine is a dedicated server of my ISP. I don''t have a fix mac for >the IPv6 address, only for IPv4. Is your solution ok for my problem?That makes no sense - there is (normally) only one MAC address for a physical interface - and it will be the same for IPv4, IPv6, AppleTalk, DECnet, ... So whatever you do with the interface, all protocols will use the same MAC address - the cases where multiple MAC addresses are used are fairly uncommon and don''t apply in your situation. A fixed address isn''t essential, but it can make a few things a lot easier - DHCP being just one of them. But to answer your question, it doesn''t really matter what guest OS you use, or what your hosting setup is - in general you would use the OS specific tools to configure your guest networking. You may be provided with a DHCP service (or other configuration service for IPv6) but that''s not really related to Xen or virtualisation in general. In Debian (and it''s derivatives) you''d edit /etc/network/interfaces and add an "iface <name> inet6 ..." entry, plus configure an IPv6 firewall, configure IPv6 services if needed*, and so on. * Many services will "just work" when you enable IPv6. I know Postfix has been happy for some time. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users