HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   xen network problems (http://www.howtoforge.com/forums/showthread.php?t=19612)

ralph 20th January 2008 10:09

xen network problems
 
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 18:31

What's the output of
Code:

ifconfig
and
Code:

route -nee
on dom0? Any errors in the logs?

ralph 25th January 2008 15: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 18:49

What's in /etc/network/interfaces on dom0?

ralph 28th January 2008 10: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 19:42

Quote:

Originally Posted by ralph
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 19: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 15: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 16:36

it works when im not booting xen kernel so i guess the problem has to lie somewhere else.


All times are GMT +2. The time now is 08:17.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.