On Sat, 1 Sep 2001, Joel Hammer wrote:
> No. Never got an answer. If you could post or send me a copy of a
> dhcp.conf file that serves two subnets I'd really appreciate it.
> This shouldn't be too hard, since the dhcpd server is a double homed
> machine, and I could just see having one demon listen on eth0 and the
> other on eth1, but, I would really like to get more general solution.
> If I weren't so lazy I would have tried that by now.
> Joel
>
Here's a base config I use:
subnet 192.168.0.0 netmask 255.255.255.0 {
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
option domain-name "domain.org";
option domain-name-servers 192.168.1.1;
option time-offset -8; # Pacific Standard Time
range dynamic-bootp 192.168.0.128 192.168.0.255;
default-lease-time 604800;
max-lease-time 604800;
}
subnet 10.1.1.0 netmask 255.255.255.0 {
option routers 10.1.1.1;
option subnet-mask 255.255.255.0;
option domain-name "domain.org";
option domain-name-servers 192.168.1.1;
option time-offset -8; # Pacific Standard Time
range dynamic-bootp 10.1.1.128 10.1.1.224;
default-lease-time 604800;
max-lease-time 604800;
}
_______________________________________________
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc
->http://linux.nf/mailman/listinfo/linux-users