not sure how exactly it is configured on fedora, but on debian-based distros like ubuntu you just need to update two files. for this example I'll assume that your 4 interfaces are configured as such:
eth0 : 10.1.1.1/24
eth1 : 10.1.2.1/24
eth2 : 10.1.3.1/24
eth3 : 10.1.4.1/24
then, update
/etc/default/dhcp3-server (you'll have to find the equivalent file for fedora, since this is debian-specific) to contain:
INTERFACES="eth0 eth1 eth2 eth3"
and then your
/etc/dhcp3/dhcpd.conf could contain:
Code:
option domain-name "my.net";
option domain-name-servers ns1.my.net, ns2.my.net;
default-lease-time 600;
max-lease-time 7200;
log-facility local7;
subnet 10.1.1.0 netmask 255.255.255.0 {
range 10.1.1.10 10.1.1.39;
option domain-name "netA.my.net";
option routers 10.1.1.1;
option broadcast-address 10.1.1.255;
}
subnet 10.1.2.0 netmask 255.255.255.0 {
range 10.1.2.10 10.1.2.39;
option domain-name "netB.my.net";
option routers 10.1.2.1;
option broadcast-address 10.1.2.255;
}
subnet 10.1.3.0 netmask 255.255.255.0 {
range 10.1.3.10 10.1.3.39;
option domain-name "netC.my.net";
option routers 10.1.3.1;
option broadcast-address 10.1.3.255;
}
subnet 10.1.4.0 netmask 255.255.255.0 {
range 10.1.4.10 10.1.4.39;
option domain-name "netD.my.net";
option routers 10.1.4.1;
option broadcast-address 10.1.4.255;
}