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] dhcp server

To: "Franz Von Hahn" <franz.vonhahn@xxxxxxxx>
Subject: Re: [Xen-users] dhcp server
From: "Paras pradhan" <pradhanparas@xxxxxxxxx>
Date: Wed, 5 Nov 2008 11:41:22 -0600
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 05 Nov 2008 09:42:03 -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=y1OtIX0yjzYjMkGftdKp/diFc3/Bi9lzs07yRcOpjBQ=; b=d6EW3bqvq/JOlsSdyk/oc6MXhmSRbLbcRphwyCIgwlmi8c3wpwgNWHd2Isk4+iyRrz d9k3t+4v3yxVgG/GQMayivk5OCipd6YdR3JwD2jJXVCoGzu1Or4YP1p9aSEgBP9a9fBK YvzIBgHI7Ht7wUistPa8WzqrlsnaJlDN6uc6M=
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=m2mmcsRdOPfrs331faSeFmLUFs0h94tpPlZGKLBqWJRvv1CQWTfOGXm1wKqADM2Gie CtfHAOoyzV99Z8u6zNtKbQNH6oS/Ppx/QEVE7l53Ll/4dR+TTlFxokNtbp59bzNCN/eR zFimpTmPCXQ9wp/o6f7ThgLjarPgdDId/nqYI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <375833.31868.qm@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: <8b711df40811050905w65961458o2d12610cd223ec6f@xxxxxxxxxxxxxx> <375833.31868.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


On Wed, Nov 5, 2008 at 11:13 AM, Franz Von Hahn <franz.vonhahn@xxxxxxxx> wrote:
hey

please use the network-bridge script in xend-config.sxp and define bridge=eth0 or bridge=eth1 (according to your configuration) in the domU-config file. All relevant files can normally be found in /etc/xen. Then you should be able to reach the dhcp server on your local network.




Von: Paras pradhan <pradhanparas@xxxxxxxxx>
An: xen-users@xxxxxxxxxxxxxxxxxxx
Gesendet: Mittwoch, den 5. November 2008, 18:05:26 Uhr
Betreff: [Xen-users] dhcp server

hi all,

My xen dom0 server gets IP from a dhcp server.. How do i configure my xen domUs to get the IP from the same DHCP server ?


Thanks
Paras.


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



Here is what I have done:

my xend-config.sxp file has these entries:


---

(network-script network-bridge)
(vif-script vif-bridge)

---



domU config file looks :



---
name = "guest03"
uuid = "8be732a5-44b4-bf92-d237-91d55ed6db31"
maxmem = 256
memory = 256
extra  = "xencons=tty"
vcpus = 1
bootloader = "/usr/bin/pygrub"
>
>
>
vfb = [ "type=vnc,vncunused=1,keymap=en-us" ]
disk = [ "phy:/dev/drbd3,xvda,w" ]
vif = [ "mac=00:16:3e:58:2f:4d,bridge=eth0" ]
dhcp = "dhcp"

----


My desired net should be in 10.x.x.x but my domU gets network of 192.168.122.x


Help .. this is not working for me.

Thanks
Paras.



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>