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

[Fwd: Re: [Xen-users] 2 network cards and two physical network.]

--- Begin Message ---
Dirk H. Schulz a écrit :


Jean-Michel Caricand schrieb:

For examples, I test the config at home.

Before "xend start"

amande:/home/jm# ifconfig
eth0      Lien encap:Ethernet  HWaddr 00:D0:70:02:0C:B3
         inet adr:  Bcast:  Masque:
         RX packets:1289 errors:0 dropped:0 overruns:0 frame:0
         TX packets:1527 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 lg file transmission:1000
         RX bytes:425133 (415.1 KiB)  TX bytes:368301 (359.6 KiB)
         Interruption:10 Adresse de base:0xe000

lo        Lien encap:Boucle locale
         inet adr:  Masque:
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:204 errors:0 dropped:0 overruns:0 frame:0
         TX packets:204 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 lg file transmission:0
         RX bytes:23402 (22.8 KiB)  TX bytes:23402 (22.8 KiB)

amande:/home/jm#  route -n
Table de routage IP du noyau
Destination Passerelle Genmask Indic Metric Ref Use Iface U 0 0 0 eth0 UG 0 0 0 eth0

It looks like you do not have defined eth1 nor the bridge xen-br1 on dom0, so issuing

amande:/home/jm# /etc/xen/scripts/network start bridge=xen-br1 netdev=eth1
network start bridge=xen-br1 netdev=eth1 antispoof=yes

must lead to an error, which it does:

iptables: No chain/target/match by that name

I think you
- have to set up eth1 in /etc/network/interfaces
- have to define the bridge xen-br1 using brctl (look into the network script for syntax or man brctl)
- add eth1 to the bridge xen-br1

Then it should work. Good luck! :-)


Hi Dirk,

You're right ! I must up eth1 on host before use brctl. All work. Thank you !

--- End Message ---
Xen-users mailing list



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