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] create another veth in domU

To: Konstantinos Pachopoulos <kostaspaxos@xxxxxxxx>
Subject: Re: [Xen-users] create another veth in domU
From: Ted Kaczmarek <tedkaz@xxxxxxxxxxxxx>
Date: Tue, 28 Feb 2006 15:51:06 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 28 Feb 2006 20:51:50 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20060228202431.52518.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <20060228202431.52518.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, 2006-02-28 at 20:24 +0000, Konstantinos Pachopoulos wrote:
> Hi,
> i am trying to create a router domU, which of course
> needs more than one veths. 
> First i have to say, that in the domains, which i
> create i only see an eth0 and no veth0, as  mentioned
> in http://wiki.xensource.com/xenwiki/XenNetworking.
> Why is that?
> 
> Second, in an attempt to create a second network
> interface (either named ethX or vethX) i entered 2 vif
> entries in the conf file of the domain. Now it looks
> like this:
> -----------------------
> #vif=['bridge=xenbr0']
> disk=['phy:/dev/hermes/root,hda1,w','phy:/dev/hermes/swap,hda2,w']
> #ip="192.168.1.17"
> #netmask="255.255.255.240"
> #gateway="10.0.0.138"
> vif = ['mac=aa:00:00:00:00:11']
> vif = ['mac=aa:00:00:00:00:12']
> -----------------------
> Unfortunately only the NIC, which corresponds to the
> second MAC appeared in the domain. How can i create a
> second(and third and so on) NIC? I have been searching
> since yesterday . I've changed the "vifnum" parameter
> in network-bridge script, but didn't make any
> difference.
> 
> Thanks
> 
> 
What happens if you try it like this.
 
vif = ['mac=aa:00:00:00:00:11' , 'mac=aa:00:00:00:00:12']

Regards,
Ted



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

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