Hi,
I am trying to set up a gateway/router/firewall box for a small business. The requirements for the job are that the box must serve up internet to the business and also to the apartment downstairs and I am having trouble configuring the DHCP server on the gateway.
The gateway has three Network Interface Cards:
eth0: which connects to the modem and the rest of the internet
eth1: which goes downstairs, to serve the apartment
eth2: which serves the small business
The DHCP server should assign all dynamic ip addresses to the downstairs network (eth1), in the range 192.168.0.0 - 192.168.0.255
The upstairs (business) should assign static ip addresses to the servers on the network and dynamically assign ip addresses to any other computers asking for a DHCP lease on the eht2 interface. The addresses assigned to this network should be in the range of 10.0.0.0 - 10.0.0.255
My problem is that computers connected to the 'eth1' interface do not receive an ip address. After connecting a computer to the eth1 interface the computer requests an ip address, but none comes.
NOTE: I am quite sure this is not a hardware fault, I have tested the system first with a crossover cable and a computer directly connected to the router interface and also with both computers connected to a switch using patch cables.
The contents of my /etc/dhcp3/dhcpd.conf file are as follows:
[Global Options]....
subnet 10.0.0.0 subnet 255.255.255.0 {
interface eth2;
option routers 10.0.0.254;
option subnet-mask 255.255.255.0;
option domain-name-servers 10.0.0.254;
}
subnet 192.168.0.0 subnet 255.255.255.0 {
interface eth1;
option routers 192.168.0.254;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.0.1;
}
Any help with this would be much appreciated.