Dhcp3 configuration for XEN server
Hi all,
I am running an Ubuntu 9.04 Server (32-bit) and i have installed the XEN kernel in order to run a XEN Virtual Appliance (VA). I want to setup a DHCP server in order to serve the VAs. The host machine is part of a server farm and uses a static IP address. So far i have created a virtual interface (eth0:1) so as not to mess with the hardware (eth0) interface and cause any problems in the cluster. However I'm struggling in getting the DHCP server running. I'm attaching below the dhcpd.conf , dhcp3-server files and syslog. Any help would be highly appreciated... Thanks. Code:
# Code:
# Code:
Oct 16 16:50:56 vm101 dhcpd: No subnet declaration for eth0:1 (0.0.0.0). http://ubuntuforums.org/showthread.php?t=1292804 |
Hi,
Any suggestions? |
What network settings have you given eth0:1 ?
output of ifconfig would be useful. |
eth0:1 Link encap:Ethernet HWaddr 00:30:48:27:44:4e
inet addr:192.168.1.123 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
Is eth0 on a different subnet ?
ie eth0 192.168.4.1 eth0:1 192.168.1.123 If it is you might need to use the shared-network directive from the man pages. Code:
The shared-network statement is used to inform the DHCP server that |
Just found this
According to Redhat you can't have a DHCP server on an alias interface. http://www.redhat.com/docs/en-US/Red...CP_Server.html |
Hi,
Yes eth0:1 is on a different subnet than eth0. But your last post confused things even more. :) |
All times are GMT -5. The time now is 04:02 AM. |