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 Networking advice - how to configure for DHCP to gue

To: "Dealy, Brian" <BRIAN.DEALY@xxxxxxxx>
Subject: Re: [Xen-users] Xen Networking advice - how to configure for DHCP to guests
From: "HU wenjin" <wenjin.hu@xxxxxxxxx>
Date: Wed, 5 Nov 2008 23:23:19 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 05 Nov 2008 20:24:01 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=XujBAOZH1Xq5CUvXlEllZ7fZfl2pLxprJLldgNctQ2I=; b=aO4IP/JxQUdYC8u+rJwl3xW9KS1sTr+NSyHgNaZ2uN4gDDNk0acrWmx3SeUR1QWAGk 17rSCCrAg2/fwLWJjn7IJaPUK5BLe/hXiEjakqSr2dL9NMKW6ZG/JbvXqIC1+3iZyBIC d7Iu0hXObvAvsv7toaPOWLO/YBg7InjLDAy60=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=lHM1H89eyN8pljGk5OYRrJq/s3bhKnCXQun64TsxMC+kZurNzhyhE29VZ4I+QvC52m VbcSJYFgxeM6gzPag1+UHRpjVZ59hgGTHctMWJV3TvkjJCoacZTbOjzPO11cT2Dx8u0f p5U73Pk6OMY3Ltx/3dXsIMkbANhZ8umcRDlgY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <53C979FEC5BAF24BA10B4626F179F80402C9B056@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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <53C979FEC5BAF24BA10B4626F179F80402C9B056@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
See my comments below, hope it is helpful.

On Wed, Nov 5, 2008 at 10:56 PM, Dealy, Brian <BRIAN.DEALY@xxxxxxxx> wrote:

Hello all,  (sorry if this is a duplicate.)

 

I am working on a project where I have a fedora-8 xen domain-0  which is booted and which I have a domU guest called

fguest1 booted on it.  virt-manager shows all is well except that I have a networking problem I didn't expect.

 

both machines can access the network fine, but in my xend-config.sxp file I asked for bridged networking

which I assumed would allow the guest to get an address from our dhcp server…

 

 instead there is a xenbr0 bridge which appears to be handing my guest a 192.168.200.xxx address.  although this arrangement

allows internet access, I really wanted this guest to have a 10.11.xx.xxx address from the local  dhcp

server, like domain-0 has…

 

Can you explain your LAN network  in more details? Is 192.168.200.xxx also one of your LAN subnetwork?
 

in my config I asked it to use:

(network-script ' network-bridge netdev=eth1')


If eth1 is in the subnet 10.11.xxx.xxx. Then it should be correct.

 

using one of the examples in the config file.

 

and

(vif-script vif-bridge) also from the config file…

 

It is no problem with this option.
 

Since I am new to the network with xen, I thought maybe

there is someone who could advise on the proper

networking setup to have each guest get its ip from

the local dhcp server.


Once your guest is up and in bridge mode, then you can just think the guest is like a machine in your LAN and the same steps and tricks for you to get the IP from dhcp server. nothing magic there. 

 

thanks in advance. I did look in the FAQ for xen networking and it

seemed to me that this should be the right setup, but now I am wondering

if I misunderstand what it says.

 

fyi, I want it this way because I am trying to get to the guest consoles

remotely via vnc.  thanks.

Brian

 

 

 

 

Brian Dealy

Vice President - Technology

SAIC Technology Fellow

Cyber Security Solutions Operation

Science Application International Corp.

San Diego, CA

858-826-4457

dealyb@xxxxxxxx

 


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

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