[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Xen Networking advice - how to configure for DHCP to guests


  • To: "Dealy, Brian" <BRIAN.DEALY@xxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.