LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to select among many dhcp offer (https://www.linuxquestions.org/questions/linux-networking-3/how-to-select-among-many-dhcp-offer-654245/)

sana afsar 07-08-2008 01:54 AM

How to select among many dhcp offer
 
There is a DHCP sever on the network.
I ve created one more DHCP server for using it with systemimager.
When the node boots it get dhcp offer from the network dhcp server
then from my dhcp server and says "DHCP offer already seen" and chooses the former which i dont want.
I want it to accept dhcp offer from my dhcp server
How to do this??
plz help me.....

simonapnic 07-08-2008 08:31 AM

Why not configure the interface yourself then ?
ifconfig <interface, like eth0 etc> <ip address you want> netmask <netmask here>
route add default gw <dhcp gateway>
and you should be fine..also /etc/resolv.conf should have your DNS servers.

nx5000 07-08-2008 09:07 AM

Have a look at this

I've played a bit with option "reject" because sometimes one ISP gives me wrong adress (192.168.100.1). So now, I reject it with this line:

Quote:

reject 192.168.100.1;
my 2 cents..

sana afsar 07-09-2008 06:41 AM

Thanks a lot!!!!
I got it!!!


All times are GMT -5. The time now is 10:29 PM.