DHCP Server for internal LAN and DMz
I am running shorewall for routing/firewall on my home network. I also have a dhcp server set up for this too. I have an internal LAN with IP subnet of 10.10.10.0/255 and a DMz with an IP subnet of 10.10.11.0/255. I have the internal LAN on eth1 connected to a cisco 2912XL Router. I have the DMz on eth2 connected to an officeconcect 10/100 Hub.
What I want is when a request is sent for an IP address on the internal lan, one to be assigned in the 10.10.10.0 range and when one is requested on the DMz one assigned in the 10.10.11.0 range is assigned.
What I tried to do was edit my /etc/dhcpd.conf like this:
DHCPARGS=eth1;
ddns-update-style ad-hoc;
default-lease-time 7000;
subnet 10.10.10.0 netmask 255.255.255.0 {
range 10.10.10.10 10.10.10.100;
option subnet-mask 255.255.255.0;
option broadcast-address 10.10.10.255;
option routers 10.10.10.254;
option domain-name-servers 10.10.10.254;
option domain-name "computerxpress.d2g.com";
}
DHCPARGS=eth2;
ddns-update-style ad-hoc;
subnet 10.10.11.0 netmask 10.10.11.255 {
range 10.10.11.1 10.10.11.10;
option subnet-mask 255.255.255.0;
option broadcast-address 10.10.11.255;
option routers 10.10.11.254;
}
Anyone have any ideas why this isn't working or what I need to change to make this work? Thanks.
Bryan H
|