PDA

View Full Version : xen network problems


ralph
20th January 2008, 11:09
ive followed the howtoforge guide for debian etch repository xen install.

ive got two network interfaces, for which eth1 is the one online.

So i define (network-bridge network-script netdev=eth1) in xend-config.sxp.

The problem is when i then boot up the xen kernel i cant get online with host(dom0) but the domains(domU) gets online. What have i forgotten?

falko
21st January 2008, 19:31
What's the output of ifconfig and route -nee on dom0? Any errors in the logs?

ralph
25th January 2008, 16:02
cant copy/paste so i will give as much info as possible:

ifconfig shows:

eth1 - public ip adress
lo - 127.0.0.1
peth1 - no ip adress
vif0.1, vif1.0, vif 2.0 and xenbr1 - no ipadresses

route -nee shows eth1 in routes. one from gateway and one to gateway.

cant understand how the vms can be online but not the host.

falko
26th January 2008, 19:49
What's in /etc/network/interfaces on dom0?

ralph
28th January 2008, 11:27
allow-hotplug eth1
iface eth1 inet static
address <publicip>
netmask 255.255.255.0
broadcast <broadcastip>
gateway <gatewayip>

was thinking about debugging the network-bridge script to see if i can get any errors.

falko
29th January 2008, 20:42
allow-hotplug eth1
iface eth1 inet static
address <publicip>
netmask 255.255.255.0
broadcast <broadcastip>
gateway <gatewayip>

That's all? No loopback device (lo)?

ralph
29th January 2008, 20:48
yeah sorry forgot that. lo as by default installed. any hints to what could be wrong. Should be the bridge right?

falko
30th January 2008, 16:22
Are there spaces in front of address, broadcast, netmask, and gateway? Can you post the whole file again and wrap it in code tags here (that's the # button in the editor here)?

ralph
30th January 2008, 17:36
it works when im not booting xen kernel so i guess the problem has to lie somewhere else.