escheider
asked on
ipchains and DHCP
Hello experts:
Is it possible to have a DHCP server setup on a seperate network and obtain your ip address from that server?
DHCP Server Address is 10.1.102.90
DHCP Server has the following scopes:
10.1.101.100 - 200
10.1.102.100 - 200
10.1.103.100 - 200
How can I setup rules on this linux router to distribute the correct ip address to a requesting client?
For instance, if I'm on the 10.1.101.x network, and perform an ipconfig /renew, how can I obtain the ip parameters from the dhcp server?
Is it possible to have a DHCP server setup on a seperate network and obtain your ip address from that server?
DHCP Server Address is 10.1.102.90
DHCP Server has the following scopes:
10.1.101.100 - 200
10.1.102.100 - 200
10.1.103.100 - 200
How can I setup rules on this linux router to distribute the correct ip address to a requesting client?
For instance, if I'm on the 10.1.101.x network, and perform an ipconfig /renew, how can I obtain the ip parameters from the dhcp server?
Try setting your network mask to 255.255.0.0
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I think you're on the right track jlevie. I have done this with Cisco routers using ip helper.
I will try your suggestion and see what happens.
I will try your suggestion and see what happens.
ASKER
Question, is dhcprelay a module that will need to be installed. How can I check to see if it is on my linux box?
dhcprelay is part of the dhcp server package and will be installed if dhcp is installed.
ASKER
jlevie:
It actuall works...now, dhcp uses udp ports 67 and 68, so after I switch to a deny all policy, I assume I'll have to open these ports up to communicate to the server?
Let me know and I'll award you the points.
E
It actuall works...now, dhcp uses udp ports 67 and 68, so after I switch to a deny all policy, I assume I'll have to open these ports up to communicate to the server?
Let me know and I'll award you the points.
E
I'm guessing that your DHCP server is, per my example above, on the untrusted (eth0) interface and that's where you'll be doing a deny all. If that's the case, then yes you'll need to allow thost UDP ports.
ASKER
Works great...I knew it could be done.
Cool...
As the DHCP server would have no chance to deside which network it should give if there where more than one to choose from on the same network card.