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

[Xen-users] [ xen-users] ### DomainU eth0 couldn't ping outside ####

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] [ xen-users] ### DomainU eth0 couldn't ping outside ####
From: shi bai <baishi83@xxxxxxxxx>
Date: Sun, 30 Apr 2006 23:14:00 -0700 (PDT)
Delivery-date: Sun, 30 Apr 2006 23:14:38 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=1VJe8f2MUm7ZbXdIiy70H2ITCEBsWB7dCZ2twqi7z2XYDDS0ej5upaspWO7dXn52skuc+LFPmZfmAXNR//DzrZjQp2KQxiUUjRc6FGkIoy2nwaa7IUQVGzdXj/Kz1DwLP+KFyA+p08O4PTB+MoHFo0K99lnyc/QDBjK1PXIAcs8= ;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] [ xen-users] ### DomainU eth0 couldn't ping outside ####, shi bai <=