WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] RE: Simple network config question

To: Jonathan Bayles <jbayles@xxxxxxxxxxxxxx>, Tait Clarridge <Tait.Clarridge@xxxxxxxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] RE: Simple network config question
From: Jonathan Bayles <jbayles@xxxxxxxxxxxxxx>
Date: Thu, 2 Jul 2009 14:05:32 -0400
Accept-language: en-US
Acceptlanguage: en-US
Cc:
Delivery-date: Thu, 02 Jul 2009 11:06:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <386FCF83D8086E4A89655E41CD3B53D3D1B2EA94@rtexch01>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <386FCF83D8086E4A89655E41CD3B53D3D1B2EA8A@rtexch01> <BE3E4AD392ABD547A384D0CAFD9E77E677DA780D@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <BE3E4AD392ABD547A384D0CAFD9E77E677DA780E@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <386FCF83D8086E4A89655E41CD3B53D3D1B2EA94@rtexch01>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acn7Mn8SEUEUloEcSt6VQo2gDGOATAABLPjwAAAk8bAAAVoOYAAAlJnQ
Thread-topic: Simple network config question
I should add, I was able to ping again from the dom0, not the quest. 
Additionally, I should mention that I changed the IP address of the 
guest(windows2008 server) on the new adapter to something that wouldn't 
conflict with the dom0 eth2 and it still failed to work properly. 

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Jonathan Bayles
Sent: Thursday, July 02, 2009 1:57 PM
To: Tait Clarridge; xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] RE: Simple network config question

 Thank you for getting back to me so quickly.

I IP-ed the interface appropriately and was able to ping members of the network.

I created the bridge and added eth2 to it, at that point I could no longer ping 
members of that network.

I continued to configure the guest, and rebooted it, it came up with the new 
network interface containing IP identical to the one configured in the dom0. It 
was not able to ping the network either. I checked all manner of firewalls and 
routes, but nothing looked out of place.

As a lark, I removed eth2 from the newly created xenbr2 and it was able to ping 
again.

Any other ideas?

-----Original Message-----
From: Tait Clarridge [mailto:Tait.Clarridge@xxxxxxxxxxxx]
Sent: Thursday, July 02, 2009 1:12 PM
To: Tait Clarridge; Jonathan Bayles; xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: Simple network config question

> > Hey guys,
> >
> > Usually all my guests go out through various bridges connected to 
> > eth0, but I came across a scenario where I need to connect one guest 
> > to a special backend network. The network is connected to an access 
> > port on a switch via
> > eth2 on the xen server. If I set an IP on eth2 in the correct 
> > network it works
> just
> > fine. How can I share this connection up to a domU? I cant tell the 
> > switchport to become a trunk and bridge out internally like I 
> > usually do. Any help is
> greatly
> > appreciated!!
> 
> What you may want to try is bridging the connection on eth2 to 
> something like
> xenbr2 and in the config file have a line that is:
> 
> vif=['bridge=xenbr2']

EDIT: If you have a line in the domU configuration file that already has a vif 
stated, which will probably be the case (eg. vif=['bridge=xenbr0']) you can 
just add the following configuration for two network connections by doing 
something like: 

vif=['bridge=xenbr0','bridge=xenbr2']

I have a similar setup for an iSCSI storage network where one of the NICs on 
the dom0 is connected to the iSCSI network and allows connectivity to the domU 
through a special network bridge "iscsibr0" which I add to the config file as I 
showed above.




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

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