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

AW: [Xen-users] so easy - but.. multiple NIC's in domU

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: AW: [Xen-users] so easy - but.. multiple NIC's in domU
From: "md" <md@xxxxxxxxxxxxx>
Date: Wed, 4 Jan 2006 20:31:24 +0100
Delivery-date: Wed, 04 Jan 2006 19:27:54 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <200601040556.32235.john@xxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
H List,

well... I still don't understand - maybe too simple?

I mean, if I have only one NIC in domU I use somthing like

nics=1
vif = ['bridge=xenintbr']
dhcp ="off"
ip="192.168.1.2"
netmask="255.255.255.0"
gateway="192.168.1.1"


If I now follow the advise vif = [ 'mac=aa:00:00:00:00:02, bridge=bridge0',
mac=aa:00:00:00:01:02, bridge=bridge1' ] how do I allocate an IP to each of
my NICs connected to a bridge?

nics=2
vif = [ 'mac=aa:00:00:00:00:02, bridge=bridge0', 'mac=aa:00:00:00:01:02,
bridge=bridge1' ]
dhcp ="off"
ip="192.168.1.2"
ip2="192.168.1.3"
netmask="255.255.255.0"
gateway="192.168.1.1"

Or do I just have to edit the /etc/network/interfaces manually??

Got my problem?

cheers,

Mathias



-----Ursprüngliche Nachricht-----
Von: John R. Shannon [mailto:john@xxxxxxxxxxxxxxxx]
Gesendet: Mittwoch, 4. Januar 2006 13:57
An: xen-users@xxxxxxxxxxxxxxxxxxx
Betreff: Re: [Xen-users] so easy - but.. multiple NIC's in domU


On Wednesday 04 January 2006 07:24, Mathias Diehl wrote:
> Hi List,
>
> I searched the web and losts of posts in this list to get a network
running
> on my xen box. Using xen3.0 on debian sarge worked quite fine and I also
> understood all the networking / bridging stuff... (thanx to many posts and
> howto's).

It's easy. He's an example from one of my domU config files:

vif = [ 'mac=aa:00:00:00:00:02, bridge=bridge0', 'mac=aa:00:00:00:01:02,
bridge=bridge1' ]

You don't have to specify a mac address; one will be assigned for you if you
don't.

In dom0 you can include one ethernet interface in bridge0 and another in
bridge1. That way you're bridging all the vif interfaces in bridge0 to one
ethernet NIC and all the vif interfaces in bridge1 to a different ethernet
NIC.




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

<Prev in Thread] Current Thread [Next in Thread>