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

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Fwd: Re: [Xen-users] 2 network cards and two physical network.]
From: Jean-Michel Caricand <jean-michel.caricand@xxxxxxxxxxx>
Date: Thu, 25 Aug 2005 16:33:23 +0200
Delivery-date: Thu, 25 Aug 2005 14:10:30 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Reply-to: jean-michel.caricand@xxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050331)

--- Begin Message ---
To: "Dirk H. Schulz" <dirk.schulz@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] 2 network cards and two physical network.
From: Jean-Michel Caricand <jean-michel.caricand@xxxxxxxxxxx>
Date: Thu, 25 Aug 2005 16:30:11 +0200
In-reply-to: <430DC1CE.1050407@xxxxxxxxxxxxx>
References: <430D7547.8080403@xxxxxxxxxxx> <430D878B.4090606@xxxxxxxxxxxxx> <430DA282.4020004@xxxxxxxxxxx> <430DC1CE.1050407@xxxxxxxxxxxxx>
Reply-to: jean-michel.caricand@xxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050331)
Dirk H. Schulz a écrit :

Jean,

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:192.168.3.1  Bcast:192.168.3.255  Masque:255.255.255.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         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:127.0.0.1  Masque:255.0.0.0
         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 192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 192.168.3.254 0.0.0.0 UG 0 0 0 eth0
amande:/home/jm#


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! :-)

Dirk

Hi Dirk,

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


--- End Message ---
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Fwd: Re: [Xen-users] 2 network cards and two physical network.], Jean-Michel Caricand <=