Re: ISC DHCP - Two subnets on one physical interface.



Thank you. I don't know how I missed that in the man page. It was the
first thing I saw when I opened it. I think I got a little thrown off
when I saw so many sources (including isc's web page in certain
places) saying that you need 2 physical interfaces, but I knew it
could be done somehow.

For those who would like to see the working config.


max-lease-time 86400;
default-lease-time 14400;
ddns-update-style interim;

log-facility local4;

shared-network drlan {

subnet 10.0.10.0 netmask 255.255.255.0 {
authoratative;
range 10.0.10.10 10.0.10.250; ## Guest Network

# don't let clients update A records for ddns
ignore client-updates;

# options
option subnet-mask 255.255.255.0;
option broadcast-address 10.0.10.255;

option domain-name "guest.domain.tld";
option domain-name-servers 65.106.1.196,65.106.7.196;
option routers 10.0.10.1;

host guest-conference-room {hardware ethernet
00:19:bb:d7:fe:d7;fixed-address 10.0.10.2;}
}

subnet 10.0.0.0 netmask 255.255.255.0 {
authoratative;

option subnet-mask 255.255.255.0;
option broadcast-address 10.0.0.255;

option domain-name "domain.domain.tld";
option domain-name-servers 10.0.0.225;
option routers 10.0.0.1;

option ntp-servers 10.0.0.250;

host office-ws1 {hardware ethernet 00:0d:9d:4c:
94:4d;fixed-address 10.0.0.5;}

}
}

.



Relevant Pages

  • Re: F7 Help with DHCP
    ... option broadcast-address 192.168.1.255; ... option routers 192.168.1.1; ... option domain-name-servers 213.172.33.34; ... it gets a IP number from my Linux DHCP server. ...
    (Fedora)
  • Re: local dns problem
    ... option subnet-mask 255.255.255.0; ... option domain-name-servers 192.168.71.1; ... Copyright 2006 by Maurice Eugene Heskett, ...
    (Fedora)
  • dhcpd and two network interfaces
    ... option subnet-mask 255.255.255.0; ...
    (comp.os.linux.networking)
  • Re: local dns problem
    ... option subnet-mask 255.255.255.0; ... option domain-name-servers 192.168.71.1; ... But a network restart on the lappy is still getting 192.168.71.102? ...
    (Fedora)
  • Re: DHCPD setup problem, please help
    ... > I'm trying to configure my DHCP on redhat 7.2, ... > option subnet-mask 255.255.255.0; ...
    (comp.security.unix)