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

Re: [Xen-users] second NIC MAC address for domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] second NIC MAC address for domU
From: Simon Hobson <linux@xxxxxxxxxxxxxxxx>
Date: Fri, 12 Feb 2010 17:27:47 +0000
Delivery-date: Fri, 12 Feb 2010 09:30:06 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B74AF97.2030605@xxxxxxx>
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: <4B74AF97.2030605@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Jonathan M. McCune wrote:

I have a server with two NICs running Xen 3.2 from Debian Lenny (eth0 and eth1). I'm wondering what the best method is to effectively dedicate eth1 to a particular domU. I have an existing DHCP entry for the MAC address of eth1, so assigning a different MAC to the virtual NIC in my domU and bridging that to eth1 within dom0 is an issue for me. I tried assigning the identical MAC address to my domU in the vif line in its config file. tcpdump in dom0 suggests that the DHCP requests are making it out onto the network, but the DHCP replies don't seem to be getting through to the domU.

Either use pciback.hide to make the hardware directly available to the guest, or ...

Create a bridge, so you'll end up with a physical device, and the Dom0 virtual device attached. Then attached a virtual interface for the guest to this bridge. The Dom0 doesn't need to have an IP address on the bridge, but you do need to bring up the interface (ip link set up dev ... IIRC) for it to pass traffic.

--
Simon Hobson

WANTED: "Software CD ROM Kit" for Canon CLBP 360-PS printer (Canon part no RH6-3612, or possibly RH6-3810, or RH6-3610 might do). I've a dead HD and need this CD so I can replace the disk and re-install the printer OS on it. If anyone knows where I might get hold of one I'd be grateful - requests to Canon drew a blank, it's been out of support for years. Alternatively, if anyone has one of these and would let me image their hard disk ...

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

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

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