[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] RE: second interface eth1 does not work in domU (xen 3.0.2 binary install in mandriva 2006)


  • To: <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "John Shen" <John.Shen@xxxxxxxx>
  • Date: Mon, 28 Aug 2006 10:31:04 -0700
  • Delivery-date: Mon, 28 Aug 2006 10:34:15 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcbHpPQnuCTDwRgERAKuj19iulYV3wDIskFx
  • Thread-topic: second interface eth1 does not work in domU (xen 3.0.2 binary install in mandriva 2006)

to answer my own question. the script should specify netdev:
 
dir=$(dirname "$0")
"$dir/network-bridge" "$@" vifnum=0 netdev=eth0
"$dir/network-bridge" "$@" vifnum=1 netdev=eth1
[
now it works. hopefully it will be useful for others.
 
System Coordinator, Online Information System
Student Affairs, University of California, Office of the President

________________________________

De: John Shen
Enviado el: Jue 8/24/2006 10:52 a.m.
Para: xen-users@xxxxxxxxxxxxxxxxxxx
Asunto: 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.