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

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


  • To: <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "md" <md@xxxxxxxxxxxxx>
  • Date: Wed, 4 Jan 2006 20:31:24 +0100
  • Delivery-date: Wed, 04 Jan 2006 19:27:54 +0000
  • Importance: Normal
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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