Skip to contentSkip to conversation

Using eth1

DISCUSSION Andrew D. Ball 1 participant 1 message Nov 3, 2005

lore
Share & tools
lore
#0 lore raw

Sorry, I forgot to forward this to Xen-devel.

-------- Forwarded Message --------
From: Andrew D. Ball <[email protected]>
To: Michael Lessard <[email protected]>
Subject: Re: [Xen-devel] Using eth1
Date: Thu, 03 Nov 2005 17:02:15 -0500

Quoted 28 lines · Michael Lessard

On 11/3/05, Li Ge <[email protected]> wrote:
I've used the way the Ewan provided a couple of day to get eth1 working on my dom0. It works fine for me.

<snip>
If you need to use a different NIC than eth0, say eth1, like the "IBM blades":

dom0: fake eth0 -> vif0.0 -+
|
bridge -> real eth1 -> the network
|
domU: fake eth0 -> vifN.0 -+

then you want add the following two lines in your /etc/xen/xend-config.sxp file

(network-script 'network-bridge netdev=eth1')
(vif-script vif-bridge)

<snip>

Regards,
Li

Quoted 8 lines

Inactive hide details for Michael Lessard <[email protected]>Michael Lessard <[email protected]>

No still doesn't work ... i still ping eth0 on Dom0 but not eth1 :(

What do you mean by 'i still ping eth0 on dom0 but no eth1'? Where are you pinging from?

Using the edit to /etc/xen/xend-config.sxp above,
I can do 'ping -I eth0 192.168.46.101' and 'ping -I eth1 192.168.46.101' successfully when eth0 has IP address 192.168.46.143 and eth1 has IP address 192.168.46.16.

Quoted 1 line

From 192.168.46.101, I can ping 192.168.46.143 and 192.168.46.16.

Is this the type of test you're doing?

I have also used eth1 explicitly for the bridge by doing 'export netdev=eth1' before 'xend start' in /etc/rc.d/rc.local, but I like editing /etc/xen/xend-config.sxp better, since I can have xend run from a regular init script.

Andrew

Quoted 7 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel