Results 1 to 2 of 2
-
04-18-2013, 03:54 AM #1Junior Guru
- Join Date
- Jul 2012
- Posts
- 179
Need help with a DHCP configuration
We're having an issue with an DHCP service not utilizing the correct subnet under a virtualized environment.
The installed on the host DHCP server should serve the guest virtual machines providing them with the correct network configuration.
The host is utilizing a bridged interface defined as:
Code:iface eth0 inet manual auto vmbr0 iface vmbr0 inet static address xxx.xxx.11.194 netmask 255.255.255.248 gateway xxx.xxx.11.193 bridge_ports eth0 bridge_stp off bridge_fd 0 post-up route add -net xxx.xxx.99.184 netmask 255.255.255.248 dev vmbr0
Now within the dhcpd.conf both subnets are defined and there are few fixed-address declarations for a couple of MAC addresses (VMs) binded at the second subnet xxx.xxx.99.184/29.
The problem is that the DHCP server rejects to provide them as defined but instead gives a random IP from the first subnet xxx.xxx.11.192/29.
Any ideas what is wrong?██ SitesTen LLC Web Hosting Services
██ Full range of fast and reliable web hosting services and personalized, quality support
██ Dedicated Servers - Virtual Private Servers - Shared/Reseller Web Hosting - Managed Services
-
04-18-2013, 05:22 AM #2Junior Guru
- Join Date
- Jul 2012
- Posts
- 179
One of my colleagues figured it out. We were missing a shared-network { } declaration. Wrapping the subnets within it fixed the problem.
██ SitesTen LLC Web Hosting Services
██ Full range of fast and reliable web hosting services and personalized, quality support
██ Dedicated Servers - Virtual Private Servers - Shared/Reseller Web Hosting - Managed Services
Similar Threads
-
DHCP on vps
By resideline in forum Hosting Security and TechnologyReplies: 5Last Post: 01-19-2012, 04:09 AM -
DHCP problem with PXE
By Apoc in forum Hosting Security and TechnologyReplies: 5Last Post: 05-25-2008, 09:54 AM -
Dhcp
By dkitchen in forum Computers and PeripheralsReplies: 2Last Post: 06-28-2006, 11:49 AM -
dhcp setup
By NWSTech in forum Hosting Security and TechnologyReplies: 8Last Post: 09-28-2005, 08:06 AM -
DHCP Problem
By dkitchen in forum Hosting Security and TechnologyReplies: 6Last Post: 08-29-2004, 07:57 PM