|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-users
[Fwd: Re: [Xen-users] 2 network cards and two physical network.] 
| 
 --- Begin Message ---
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 <=
 |  |  | 
  
    |  |  |