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

[Xen-users] second interface eth1 does not work in domU (xen 3.0.2 binar

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] second interface eth1 does not work in domU (xen 3.0.2 binary install in mandriva 2006)
From: "John Shen" <John.Shen@xxxxxxxx>
Date: Thu, 24 Aug 2006 10:52:58 -0700
Delivery-date: Thu, 24 Aug 2006 10:53:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbHpPQnuCTDwRgERAKuj19iulYV3w==
Thread-topic: second interface eth1 does not work in domU (xen 3.0.2 binary install in mandriva 2006)
i tried to set up 2 bridged nics in my domU as specified in:
 
 
http://wiki.xensource.com/xenwiki/XenNetworking
 
1. 
In /etc/xen/xend-config.sxp:

(network-script my-network-script)
2.
my-network-script should read

#!/bin/sh
dir=$(dirname "$0")
"$dir/network-bridge" "$@" vifnum=0
"$dir/network-bridge" "$@" vifnum=1
 
3. restart xend and xendomains
 
4. in domU config:
 
vif = [ 'ip=128.48.123.146, bridge=xenbr0', 'ip=128.48.106.156, bridge=xenbr1' ]
 
5. lo behold, i got 2 nics in domUI (both eth0 and eth1 works fine in dom0 so 
there is no physical problem).
 
unfortunately, eth1 does not work, as it only send and does not receive, while 
eth0 works fine as before.
 
eth0      Link encap:Ethernet  HWaddr 00:16:3E:5F:DD:08
          inet addr:128.48.123.146  Bcast:128.48.123.255  Mask:255.255.255.0
          inet6 addr: fe80::216:3eff:fe5f:dd08/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:103409 errors:0 dropped:0 overruns:0 frame:0
          TX packets:96862 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:32282091 (30.7 MiB)  TX bytes:22077403 (21.0 MiB)
eth1      Link encap:Ethernet  HWaddr 00:16:3E:7B:13:B2
          inet addr:128.48.106.156  Bcast:128.48.106.255  Mask:255.255.255.0
          inet6 addr: fe80::216:3eff:fe7b:13b2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:1056 (1.0 KiB)

 
any suggestions would be most welcome:
 
 
 
John Shen 510-326-8473 Fax: 510-987-9612
System Coordinator, Online Information System
Student Affairs, University of California, Office of the President

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

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