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/
Home Products Support Community News


Re: [Xen-users] How to setup multiple vif's using different ethernet nic

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] How to setup multiple vif's using different ethernet nic's for DomU
From: Simon Hobson <linux@xxxxxxxxxxxxxxxx>
Date: Fri, 14 Nov 2008 09:19:27 +0000
Delivery-date: Fri, 14 Nov 2008 01:20:13 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <406674080811131959m5b1e33b8q280c3640c65502c6@xxxxxxxxxxxxxx>
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: <406674080811131959m5b1e33b8q280c3640c65502c6@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
xen rkar wrote:

My system has two gigabit nic's. One of them(eth0) is configured to access the network on dom0.
I want to exclusively use eth1 for the use of my DomU virtual machine.

I've done this at home for my gateway - I run a router in a DomU and it has exclusive use of the ethernet card with the external connection. Lookup pciback.hide, this is my boot entry (the pciback statement is part of the module line) :

title           Xen 3.0.3-1-amd64 / Debian 2.6.18-6-xen-amd64 - Ext Eth hidden
root            (hd0,0)
kernel          /xen-3.0.3-1-amd64.gz
module /vmlinuz-2.6.18-6-xen-amd64 root=/dev/sda3 ro console=tty0 pciback.hide=(01:07.0)
module          /initrd.img-2.6.18-6-xen-amd64

Simon Hobson

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