Results 1 to 2 of 2
  1. #1

    Question 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
    A second subnet route is added at the end in order to make it available for the virtual machines.

    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

  2. #2
    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

  1. DHCP on vps
    By resideline in forum Hosting Security and Technology
    Replies: 5
    Last Post: 01-19-2012, 04:09 AM
  2. DHCP problem with PXE
    By Apoc in forum Hosting Security and Technology
    Replies: 5
    Last Post: 05-25-2008, 09:54 AM
  3. Dhcp
    By dkitchen in forum Computers and Peripherals
    Replies: 2
    Last Post: 06-28-2006, 11:49 AM
  4. dhcp setup
    By NWSTech in forum Hosting Security and Technology
    Replies: 8
    Last Post: 09-28-2005, 08:06 AM
  5. DHCP Problem
    By dkitchen in forum Hosting Security and Technology
    Replies: 6
    Last Post: 08-29-2004, 07:57 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •