shi bai
2006-May-01  06:14 UTC
[Xen-users] [ xen-users] ### DomainU eth0 couldn''t ping outside ####
hi friends,
   
  I have two physical computers  : comp1 and comp2
   
  in comp1,  i installl sarge as domainU.    comp1 has two netcards, 
  eth0 is connected with internet using dhcp
  eth1 is conencted with comp2 with ip 192.168.100.254
  xenbr0 with ip 192.168.0.254  
  domainU sarge ip is 192.168.0.1
   
  comp2,  sarge as domainU too, comp2 has two netcards.  
  eth0 is connected with comp1 with ip 192.168.100.1
  eth1 is idle
  xenbr0 with ip 192.168.1.254
  domainU sarge ip is 192.168.1.1
   
  Now in comp1 or comp2, i can ping from domainU to base host and vice versa. 
  For example, in computer1, when i create domainU, i can ping physical eh0
192..168.100.254 and xenbr0 192.168.0.254.  However, i couldn''t ping
comp2.
   
  That''s i can access base host but i couldn''t get outside.
   
   
  ifconfig on basehost
 
----------------------------------------------------------------------------------------
  eth0      Link encap:Ethernet  HWaddr 00:04:61:98:AC:87
          inet addr:***.***.***.***  Bcast:***.***.***.***  Mask:255.255.255.192
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:254571 errors:0 dropped:0 overruns:0 frame:0
          TX packets:134525 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:225259931 (214.8 MiB)  TX bytes:10101144 (9.6 MiB)
  eth1      Link encap:Ethernet  HWaddr 00:0E:0C:A0:03:DE
          inet addr:192.168.100.254  Bcast:192.168.100.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1364978 errors:0 dropped:0 overruns:0 frame:0
          TX packets:622795 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1642611613 (1.5 GiB)  TX bytes:323191171 (308.2 MiB)
          Base address:0xac00 Memory:fdea0000-fdec0000
  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:77 errors:0 dropped:0 overruns:0 frame:0
          TX packets:77 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5680 (5.5 KiB)  TX bytes:5680 (5.5 KiB)
  peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:264212 errors:0 dropped:0 overruns:0 frame:0
          TX packets:134633 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:229023582 (218.4 MiB)  TX bytes:10106624 (9.6 MiB)
          Interrupt:17 Base address:0x2000
  vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:134525 errors:0 dropped:0 overruns:0 frame:0
          TX packets:254571 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:10101144 (9.6 MiB)  TX bytes:225259931 (214.8 MiB)
  xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet addr:192.168.0.254  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:85844 errors:0 dropped:0 overruns:0 frame:0
          TX packets:90 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7746842 (7.3 MiB)  TX bytes:3780 (3.6 KiB)
   
   
  route on basehost
  _________________________________________________________
  # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
150.203.24.192  *               255.255.255.192 U     0      0        0 eth0
192.168.100.0   *               255.255.255.0   U     0      0        0 eth1
192.168.0.0     *               255.255.255.0   U     0      0        0 xenbr0
default         xxx.xxx.xxx.xxx 0.0.0.0         UG    0      0        0 eth0
   
   
  domainU interface
  ____________________________________________________________
   
  # Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.
        auto lo
        iface lo inet loopback
          auto eth0
        iface eth0 inet static
                address 192.168.0.1
                netmask 255.255.255.0
                gateway 192.168.0.254
                broadcast 192.168.0.255
		
---------------------------------
Love cheap thrills? Enjoy PC-to-Phone  calls to 30+ countries for just 2¢/min
with Yahoo! Messenger with Voice.
--0-724987864-1146464040=:21992
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
<div>hi friends,</div>  <div> </div> 
<div>I have two physical computers  : comp1 and
comp2</div>  <div> </div>  <div>in
comp1,  i installl sarge as
domainU.    comp1 has two netcards, </div> 
<div>eth0 is connected with internet using dhcp</div> 
<div>eth1 is conencted with comp2 with ip 192.168.100.254</div> 
<div>xenbr0 with ip 192.168.0.254  </div> 
<div>domainU sarge ip is 192.168.0.1</div> 
<div> </div>  <div>comp2,  sarge as domainU
too, comp2 has two netcards.  </div>  <div>eth0 is
connected with comp1 with ip 192.168.100.1</div>  <div>eth1 is
idle</div>  <div>xenbr0 with ip 192.168.1.254</div> 
<div>domainU sarge ip is 192.168.1.1</div> 
<div> </div>  <div>Now in comp1 or comp2, i can ping
from domainU to base host and vice versa. </div>  <div>For example,
in computer1, when i create domainU, i can ping physical eh0
192..168.100.254 and xenbr0 192.168.0.254.  However, i
 couldn''t ping comp2.</div>  <div> </div> 
<div>That''s i can access base host but i couldn''t get
outside.<BR></div>  <div> </div> 
<div> </div>  <div>ifconfig on basehost</div> 
<div>----------------------------------------------------------------------------------------</div>
<div>eth0      Link
encap:Ethernet  HWaddr
00:04:61:98:AC:87<BR>         
inet addr:***.***.***.***  Bcast:***.***.***.*** 
Mask:255.255.255.192<BR>         
UP BROADCAST RUNNING MULTICAST  MTU:1500 
Metric:1<BR>         
RX packets:254571 errors:0 dropped:0 overruns:0
frame:0<BR>         
TX packets:134525 errors:0 dropped:0 overruns:0
carrier:0<BR>         
collisions:0
 txqueuelen:0<BR>         
RX bytes:225259931 (214.8 MiB)  TX bytes:10101144 (9.6 MiB)</div>
<div>eth1      Link
encap:Ethernet  HWaddr
00:0E:0C:A0:03:DE<BR>         
inet addr:192.168.100.254  Bcast:192.168.100.255 
Mask:255.255.255.0<BR>         
UP BROADCAST RUNNING MULTICAST  MTU:1500 
Metric:1<BR>         
RX packets:1364978 errors:0 dropped:0 overruns:0
frame:0<BR>         
TX packets:622795 errors:0 dropped:0 overruns:0
carrier:0<BR>         
collisions:0
txqueuelen:1000<BR>         
RX bytes:1642611613 (1.5 GiB)  TX bytes:323191171 (308.2
 MiB)<BR>         
Base address:0xac00 Memory:fdea0000-fdec0000</div> 
<div>lo       
Link encap:Local
Loopback<BR>         
inet addr:127.0.0.1 
Mask:255.0.0.0<BR>         
UP LOOPBACK RUNNING  MTU:16436 
Metric:1<BR>         
RX packets:77 errors:0 dropped:0 overruns:0
frame:0<BR>         
TX packets:77 errors:0 dropped:0 overruns:0
carrier:0<BR>         
collisions:0
txqueuelen:0<BR>         
RX bytes:5680 (5.5 KiB)  TX bytes:5680 (5.5 KiB)</div> 
<div>peth0     Link
encap:Ethernet  HWaddr
FE:FF:FF:FF:FF:FF<BR>         
UP BROADCAST
 RUNNING NOARP MULTICAST  MTU:1500 
Metric:1<BR>         
RX packets:264212 errors:0 dropped:0 overruns:0
frame:0<BR>         
TX packets:134633 errors:0 dropped:0 overruns:0
carrier:0<BR>         
collisions:0
txqueuelen:1000<BR>         
RX bytes:229023582 (218.4 MiB)  TX bytes:10106624 (9.6
MiB)<BR>         
Interrupt:17 Base address:0x2000</div> 
<div>vif0.0    Link encap:Ethernet 
HWaddr
FE:FF:FF:FF:FF:FF<BR>         
UP BROADCAST RUNNING MULTICAST  MTU:1500 
Metric:1<BR>         
RX packets:134525 errors:0 dropped:0 overruns:0
frame:0<BR>         
TX packets:254571
 errors:0 dropped:0 overruns:0
carrier:0<BR>         
collisions:0
txqueuelen:0<BR>         
RX bytes:10101144 (9.6 MiB)  TX bytes:225259931 (214.8 MiB)</div>
<div>xenbr0    Link encap:Ethernet 
HWaddr
FE:FF:FF:FF:FF:FF<BR>         
inet addr:192.168.0.254  Bcast:192.168.0.255 
Mask:255.255.255.0<BR>         
UP BROADCAST RUNNING MULTICAST  MTU:1500 
Metric:1<BR>         
RX packets:85844 errors:0 dropped:0 overruns:0
frame:0<BR>         
TX packets:90 errors:0 dropped:0 overruns:0
carrier:0<BR>         
collisions:0
txqueuelen:0<BR>         
RX bytes:7746842 (7.3 MiB) 
 TX bytes:3780 (3.6 KiB)</div>  <div> </div> 
<div> </div>  <div>route on basehost</div> 
<div>_________________________________________________________</div>
<div># route<BR>Kernel IP routing
table<BR>Destination    
Gateway        
Genmask        
Flags Metric Ref    Use
Iface<BR>150.203.24.192 
*              
255.255.255.192 U    
0     
0        0
eth0<BR>192.168.100.0  
*              
255.255.255.0   U    
0     
0        0
eth1<BR>192.168.0.0    
 *              
255.255.255.0   U    
0     
0        0
xenbr0<BR>default         xxx.xxx.xxx.xxx
0.0.0.0        
UG   
0     
0        0
eth0<BR></div>  <div> </div> 
<div> </div>  <div>domainU interface</div> 
<div>____________________________________________________________</div>
<div> </div>  <div># Used by ifup(8) and ifdown(8).
See the interfaces(5) manpage or<BR># /usr/share/doc/ifupdown/examples for
more
information.<BR>       
auto
lo<BR>       
iface lo inet loopback</div> 
<div>       
auto
 eth0<BR>       
iface eth0 inet
static<BR>               
address
192.168.0.1<BR>               
netmask
255.255.255.0<BR>               
gateway
192.168.0.254<BR>               
broadcast 192.168.0.255<BR></div><p>
		<hr size=1>Love cheap thrills? Enjoy PC-to-Phone <a
href="http://us.rd.yahoo.com/mail_us/taglines/postman9/*http://us.rd.yahoo.com/evt=39666/*http://messenger.yahoo.com/">
calls to 30+ countries</a> for just 2¢/min with Yahoo! Messenger with
Voice.
--0-724987864-1146464040=:21992--
--===============0851957585=Content-Type: text/plain;
charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
--===============0851957585==--
shi bai
2006-May-01  18:30 UTC
Re: [Xen-users] [ xen-users] ### DomainU eth0 couldn''t ping outside ####
Sorry, that there is a tiny mistake of the ip. In comp2,
  sarge as domainU too, comp2 has two netcards.  
  eth1 is connected with comp1 with ip 192.168.100.1
  eth0 is idle
  xenbr0 with ip 192.168.1.254
  domainU sarge ip is 192.168.1.1
   
   
  The problem is that in comp1, i can ping from the domainU to domain0, also i
can ping from domain0 on comp1 to comp2, however, i couldn''t no ping
from domainU in comp1 to comp2.
   
  I have tried to btctl  add xenbr0 eth1 in comp1, but it do no help too. 
  Is it a route problem or else? 
   
  please help thanks
   
   
  
shi bai <baishi83@yahoo.com> wrote:
    hi friends,
   
  I have two physical computers  : comp1 and comp2
   
  in comp1,  i installl sarge as domainU.    comp1 has two netcards, 
  eth0 is connected with internet using dhcp
  eth1 is conencted with comp2 with ip 192.168.100.254
  xenbr0 with ip 192.168.0.254  
  domainU sarge ip is 192.168.0.1
   
  comp2,  sarge as domainU too, comp2 has two netcards.  
  eth1 is connected with comp1 with ip 192.168.100.1
  eth0 is idle
  xenbr0 with ip 192.168.1.254
  domainU sarge ip is 192.168.1.1
   
  Now in comp1 or comp2, i can ping from domainU to base host and vice versa. 
  For example, in computer1, when i create domainU, i can ping physical eh0
192..168.100.254 and xenbr0 192.168.0.254.  However, i couldn''t ping
comp2.
   
  That''s i can access base host but i couldn''t get outside.
   
   
  ifconfig on basehost
 
----------------------------------------------------------------------------------------
  eth0      Link encap:Ethernet  HWaddr 00:04:61:98:AC:87
          inet addr:***.***.***.***  Bcast:***.***.***.***  Mask:255.255.255.192
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:254571 errors:0 dropped:0 overruns:0 frame:0
          TX packets:134525 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:225259931 (214.8 MiB)  TX bytes:10101144 (9.6 MiB)
  eth1      Link encap:Ethernet  HWaddr 00:0E:0C:A0:03:DE
          inet addr:192.168.100.254  Bcast:192.168.100.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1364978 errors:0 dropped:0 overruns:0 frame:0
          TX packets:622795 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1642611613 (1.5 GiB)  TX bytes:323191171 (308.2 MiB)
          Base address:0xac00 Memory:fdea0000-fdec0000
  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:77 errors:0 dropped:0 overruns:0 frame:0
          TX packets:77 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5680 (5.5 KiB)  TX bytes:5680 (5.5 KiB)
  peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:264212 errors:0 dropped:0 overruns:0 frame:0
          TX packets:134633 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:229023582 (218.4 MiB)  TX bytes:10106624 (9.6 MiB)
          Interrupt:17 Base address:0x2000
  vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:134525 errors:0 dropped:0 overruns:0 frame:0
          TX packets:254571 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:10101144 (9.6 MiB)  TX bytes:225259931 (214.8 MiB)
  xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet addr:192.168.0.254  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:85844 errors:0 dropped:0 overruns:0 frame:0
          TX packets:90 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7746842 (7.3 MiB)  TX bytes:3780 (3.6 KiB)
   
   
  route on basehost
  _________________________________________________________
  # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
150.203.24.192  *               255.255.255.192 U     0      0        0 eth0
192.168.100.0   *               255.255.255.0   U     0      0        0 eth1
192.168.0.0     *               255.255.255.0   U     0      0        0 xenbr0
default         xxx.xxx.xxx.xxx 0.0.0.0         UG    0      0        0 eth0
   
   
  domainU interface
  ____________________________________________________________
   
  # Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.
        auto lo
        iface lo inet loopback
          auto eth0
        iface eth0 inet static
                address 192.168.0.1
                netmask 255.255.255.0
                gateway 192.168.0.254
                broadcast 192.168.0.255
    
---------------------------------
  Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2?min
with Yahoo! Messenger with Voice._______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
			
---------------------------------
Yahoo! Mail goes everywhere you do.  Get it on your phone.
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users