Hi!
I would like to set up dhcpd to use eth1 and eth2 (eth0 is in use for xdsl)
the config(s) should looks liks this:
#eth1 config
ddns-update-style ad-hoc;
default-lease-time 1200;
max-lease-time 9200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
option domain-name-servers 192.168.1.1, 1.2.3.4ISPDNSSERVER;
option domain-name "workgroup.local";
option netbios-name-servers 192.168.1.1;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.199;
}
#eth2 config
ddns-update-style ad-hoc;
default-lease-time 1200;
max-lease-time 9200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.2.255;
option routers 192.168.2.1;
option domain-name-servers 192.168.2.1, 1.2.3.4ISPDNSSERVER;
option domain-name "workgroup.local";
option netbios-name-servers 192.168.2.1;
subnet 192.168.2.0 netmask 255.255.255.0 {
range 192.168.2.100 192.168.2.199;
}
but i dont know how to set it up properly

i couldnt find anything on google or so either...
has anyone tried to use dhcpd with 2 nics yet? any tutorials, guides or
howtos?