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] Guest Network Some can Ping, Some can't Ping

To: Xin Chen <xcheney@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Guest Network Some can Ping, Some can't Ping
From: Igor Chubin <igor@xxxxxxx>
Date: Fri, 8 Jun 2007 10:14:00 +0300
Cc: Igor Chubin <igor@xxxxxxx>, xen-users <Xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 08 Jun 2007 00:09:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4668A4BA.3010101@xxxxxxxxxxxxxx>
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>
References: <466685FC.4070804@xxxxxxxxxxxxxx> <acbf498f0706060333x7ad3b2a4g389e2cc3f37e44bc@xxxxxxxxxxxxxx> <46675722.6000204@xxxxxxxxxxxxxx> <20070607144344.GK5979@xxxxxxx> <4668A4BA.3010101@xxxxxxxxxxxxxx>
Reply-to: Igor Chubin <igor@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Fr, Jun 08, 2007 at 10:37:14 +1000, Xin Chen wrote:
> Hi Igor,
> 
> Thanks for ur reply!
> 
> Ye, you are right. I changed the ip for eth1 to 121 now.  Thanks.
> 

It's better now but 
you've better not use IP addresses from same IP-network 
on several interfaces.

If you necessarily must use IP-addresses from one IP-network, 
it's better to specify netmask /32 on all of them except one.


> Also I create another xen bridge for eth1 by using:
> 
> #!/bin/sh
> dir=$(dirname "$0")
> "$dir/network-bridge" "$@" vifnum=0
> "$dir/network-bridge" "$@" vifnum=1
> 
> Then change /etc/xen/xend-config.sxp with the following (network-script 
> my-network-script).
> 
> 
> Then I assign the guest1 to xenbr1. You know what, it seems fine now.
> Now I can ping eth0 and eth1 from any pc and looks great. what 's the 
> reason????
> it doesn't explain anything, does it?
> 


You talk about eth0 and eth1 of domain 0, 
but can you ping guests?


> I attach the ifconfig and brctl show output here, Thanks again, Igor!
> 

Thank you for commands output.
It looks good

-- 
WBR, i.m.chubin


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users