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] Assigning IP to DomU

If you distribute ip addresses with dhcp, the best way is to set a
static ip through dhcp.conf. eg:

host s0015f2bbc04a{
    hardware ethernet 00:15:f2:bb:c0:4a;
    fixed-address 10.1.0.3;
  }

and in your xen config file you provide a mac address that fits to your
dhcp entry. eg:

vif = [ 'mac=00:15:f2:bb:c0:4a' ]
dhcp = "dhcp"

greetinx
christo

On Tue, 2007-04-10 at 18:46 +0530, sagnik dhar wrote:
> I have DomU running, and i want to setup a VNC connection from Dom0
> (VNC Viewer) to DomU (VNC Server). For this i need to assign an IP
> address to the DomU. I have added these lines to the Config file.
> 
> dhcp="dhcp" 
> nettmask="255.255.255.0"
> gateway="90.90.90.193"
> hostname= "test"
> 
> 
> Are the values of netmask and gateway specific to my machine? 
> Please tel me how to assign an IP address to DomU.
> _______________________________________________
> 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

<Prev in Thread] Current Thread [Next in Thread>