|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-users
Re: [Xen-users] network troubles...
 
hi all.  
 
In the end it was all resumed to a PATH problem in ... 
/etc/xen/scripts/vif-bridge. It happens that brctl and ifconfig are
sillenly dying with xen original config due to not being in the
expected PATH. 
replacing (in  /etc/xen/scripts/vif-bridge) brctl by /sbin/brctl
and ifconfig by /sbin/ifconfig solved everything. I have now xen
running smoothly and stably and a dual opteron (tyan 2882) with 10GB of
RAM.   
 
Best regards.  
 
 
 On 10/6/05, Andrew Olds <aolds@xxxxxxxxxx> wrote:
hi
have you had any joy in getting your networking running between dom0
and U. I am having the same problem but have been unsuccessful in
finding any doco or answers.
  Regards Andrew
 
  Hi all,
  I've
installed latest xen (3.0)  on a clean box under gentoo
(32bits). Dom 0 boots fine. DomUs also. trouble is that i cannot get
networking to work between Dom)/DomU in any way :(  (there
are no afaik abnormal stuff in xen log btw)
  i also updated  /etc/xen/scripts/network-bridge to work under gentoo as stated i de -devel ML.
  bellow are my configs.
  Any help hint would be greatly appreciated.
 
  /etc/xen/xend-config.sxp
  # Xend configuration file. (xend-port         8000) (xend-event-port   8001) (xend-address      'localhost') (console-port-base 9600) (console-address   'localhost')
 #(network-script     network-route) #(vif-script         vif-route) (network-script    network-bridge) (vif-bridge     xen-br0) (vif-script        vif-bridge) (vif-antispoof     no) (block-file block-file)
 (block-enbd block-enbd) (dom0-min-mem 0) (dom0-cpus 0) ____
  DomU config
  kernel = "/boot/vmlinux-syms-2.6.12-xenU" memory = 2048 name = "g2" # dhcp = "dhcp"
 nics = 1 #ip = "192.168.10.190/28" ip = "off" vif = [ 'mac=aa:bb:cc:dd:ee:01', 'bridge=xen-br0' ] disk = [ 'phy:/dev/sdd1,sda1,w' , 'phy:/dev/sdh1,sda10,w' , 'phy:/dev/sdi1,sda11,w' ]
 
  on Dom 0...
  osiris tree # ifconfig eth0      Link encap:Ethernet  HWaddr 00:E0:81:2C:71:E6           inet
addr:192.168.10.188  Bcast:192.168.10.255  Mask:255.255.255.0           UP
BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1           RX packets:3047 errors:0 dropped:0 overruns:0 frame:0           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0 
          RX bytes:285049 (278.3 Kb)  TX bytes:0 (0.0 b)
  lo        Link encap:Local Loopback           inet addr:127.0.0.1  Mask:255.0.0.0           UP LOOPBACK RUNNING  MTU:16436  Metric:1
           RX packets:4 errors:0 dropped:0 overruns:0 frame:0           TX packets:4 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0           RX bytes:614 (614.0 b)  TX bytes:614 (
614.0 b)
  peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF           UP
BROADCAST RUNNING NOARP
MULTICAST  MTU:1500  Metric:1           RX packets:53953 errors:0 dropped:0 overruns:0 frame:0           TX packets:4832 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000           RX bytes:4323826 (
4.1 Mb)  TX bytes:3737539 (3.5 Mb)           Interrupt:24
  vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF           UP
BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1           RX packets:493 errors:0 dropped:0 overruns:0 frame:0           TX packets:49854 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0
           RX bytes:82755 (80.8 Kb)  TX bytes:3787362 (3.6 Mb)
  xen-br0   Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF           inet
addr:192.168.10.188  Bcast:192.168.10.255  Mask:255.255.255.0           UP
BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1           RX packets:7293 errors:0 dropped:0 overruns:0 frame:0           TX packets:4374 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0
           RX bytes:563051 (549.8 Kb)  TX bytes:3652132 (3.4 Mb)
 
  osiris  # brctl show bridge
name     bridge
id              
STP enabled     interfaces xen-br0        
8000.feffffffffff      
no              peth0                                                         vif0.0
  brctl showmacs xen-br0 port
no mac
addr                is
local?       ageing timer   2    
00:00:1d:f4:c7:69      
no                
0.00   2    
00:60:08:f6:03:bf      
no              
273.79   2    
00:e0:63:02:0e:c0      
no                
4.94   2    
00:e0:63:02:1f:c0      
no                
7.93   2    
00:e0:63:03:17:c0      
no                
2.94   2    
00:e0:63:03:1d:00      
no                
7.93   2    
00:e0:63:03:1f:c0      
no                
9.92   2    
00:e0:63:03:b1:40      
no                
4.94   2    
00:e0:63:03:df:40      
no                
5.94   2    
00:e0:63:03:e3:00      
no                
0.95   2    
00:e0:63:09:c7:2f      
no                
0.33   2    
00:e0:63:0a:8e:00      
no                
0.53   2    
00:e0:63:0a:92:00      
no                
1.94   2    
00:e0:63:0a:99:c0      
no                
0.95   2    
00:e0:63:37:73:8e      
no                
8.92   1    
fe:ff:ff:ff:ff:ff      
yes                0.00
 
  Many thanxs in advance and have a nice weekend.
  ALl the best.
 
 
 
 
    
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users 
 |   
 
 | 
    | 
  
  
    |   | 
    |