[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Problem with multiple network interfaces


  • To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Kris Doosje" <k.doosje@xxxxxxx>
  • Date: Thu, 31 Aug 2006 16:02:23 +0200
  • Delivery-date: Thu, 31 Aug 2006 07:08:32 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi,

I've two xen-servers (xen2.07) running on Debian, both with two network interface cards in them.
This is the configuration of the interfaces in dom0 (/etc/network/interfaces):

auto eth0
iface eth0 inet static
address 192.168.16.76
netmask 255.255.255.0
network 192.168.16.0
broadcast 192.168.16.255
gateway 192.168.16.77
dns-nameservers 192.168.16.66
dns-search mycompany.com

auto eth1
iface eth1 inet static
address 192.168.20.251
netmask 255.255.255.0
network 192.168.20.0
broadcast 192.168.20.255

With this configuration, but interfaces are working. I can reach both networks from the xen-server itself, and I can reach both interface from other systems on the network. I have several virtual servers connected to the 192.168.16.* network, all working fine. So far, so good.

Today, I started setting up a server which should run in the 192.168.20.* network. From what I have read on the internet, I need to add a bridge for the new network. With the command "/etc/xen/scripts/network start bridge=xen-br1 netdev=eth1", I am able to add the bridge for the 192.168.20.* network. But.. uhoh.. all virtual servers on the 192.168.16.* segment lost their connection. The servers are able to ping 192.168.16.76 (the xen-server itself) but other adresses fail. Same for the virtual server I created in the 192.168.20.* network. (on this server, I added "vif=[ 'bridge=xen-br1' ]" to the server-config, is that correct?).

So, the xen-server itself is still reachable, but the virtual servers running on it are not. Xen-server is able to reach the virtual servers, and the virtual servers are able to reach the xen-server.

What am I doing wrong? I can't find any good documentation on this subject :(

Thanks for any help,

Kris
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.