|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] DHCP request
>
> Hi, so far so good. I can start a domain. When I try to connect to a
> domain "xm console <nr>" it boots, but it tries to send a DHCP request
> which times out.
>
> Sending DHCP requests ..... timed out!
>
> Can i turn this off? The network setup for domain0 works perfectly. do
> I need some additional applications etc.?
Take a look at your /etc/xen/xmdefaults config file. You're
asking the domain to get its ip address using the in-kernel DHCP
requester.
Either configure your network's DHCP server to respond to the new
domain's MAC address, or edit xmdefaults to configure an IP
address, netmask and gateway manually.
If you want it to take the config from whatever you have in dom0
and add 1 to the IP address, use the following:
#dhcp="dhcp"
ip = add_offset_to_ip(get_current_ipaddr(),vmid)
netmask = get_current_ipmask()
gateway = get_current_ipgw()
#hostname= "myvm%d" % vmid
If you want to use DHCP, either go with the generated MAC
address, or set your own with:
vif = [ 'mac=00:06:AA:F6:BB:B3' ]
dhcp="dhcp"
Ian
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
|
|
|
|
|