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

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] [ xen-users] ### DomainU eth0 couldn't ping outside ####
From: shi bai <baishi83@xxxxxxxxx>
Date: Mon, 1 May 2006 11:30:46 -0700 (PDT)
Delivery-date: Mon, 01 May 2006 11:31:24 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=wweKhQpEqgf2btyRirJjSLJ1swtH43UkwWoi3Tq3S+GF6p8aIZYcITUDIeALH61HQ6cf82wNlh2SqSDf8UnU3kT8YktxqalllvXxb9r/stYMsWCuaxZ6ZsWMPuohsa40hYSrCD0ue6nFD22BBVeps9of3ZAibtTv7BfQBmlb1Rs= ;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060501061400.23159.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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
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@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


Yahoo! Mail goes everywhere you do. Get it on your phone.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-users] [ xen-users] ### DomainU eth0 couldn't ping outside ####, shi bai <=