Results 1 to 3 of 3
hi all,
i have got a old machine which i want to convert into a firewall/dhcpserver but im having problem with getting the dhcp server to work this is the ...
- 09-21-2009 #1Just Joined!
- Join Date
- Jul 2009
- Location
- uk
- Posts
- 19
network problem/query
hi all,
i have got a old machine which i want to convert into a firewall/dhcpserver but im having problem with getting the dhcp server to work this is the map of what im doing:-
->Internet->Cable-Modem->Router(also a firewall)->Oldmachine(other firewall/dhcp server->Switch then to all other machines.
this is whats happening i got the dhcpd.conf configured like this:-
# The primary network interface( connection from the firewall/dhcp server to router) which works fine
auto eth1
iface eth1 inet static
address 192.168.1.5
netmask 255.255.255.0
gateway 192.168.1.1
(the internal one that dont work)
auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
dhcp3-server file
interfaces="eth0" the one i want the dhcp to work with!
restarted both then tried to connect one of the nic on my windows box to get the ip from eth0 and it keep on coming back with the ip 169.254.70.49 which i know that mean it cant find a dhcp server or something between those lines can anyone see what im doing wrong with it because to me it should work
many thanks
- 09-24-2009 #2Linux Newbie
- Join Date
- Jan 2008
- Location
- Canada
- Posts
- 109
Hi Linuxfan27
I notice that you are using a totally different SubNet on the internal one that does not work. I am not entirely sure what you are trying to do but if the second address is on a different SubNet it can NOT be seen by the other address(es). Your gateway is on 192.168.1 SubNet. Try 192.168.1.2 or something for the second IP Address. Hope this helps. Cheers...
Robert
- 09-24-2009 #3Just Joined!
- Join Date
- Jul 2009
- Location
- Nebraska
- Posts
- 24
robertdaleweir is correct. You are on two different subnets, which is restricting the two interfaces to see each other.
Is your router(firewall) a wireless router? Or what is the purpose of the router? I have a similar set up at my home, but this is what mine consists of:
Internet-->Cable modem-->Smoothwall (firewall/router/dhcp server)-->switch-->all other machines-->I also have a wireless access point connected to the switch as well.
This set up works wonders!
Let me know if you have any other questions.


Reply With Quote