LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-08-2008, 01:54 AM   #1
sana afsar
LQ Newbie
 
Registered: Jun 2008
Posts: 4

Rep: Reputation: 0
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.....
 
Old 07-08-2008, 08:31 AM   #2
simonapnic
Member
 
Registered: Jul 2008
Posts: 70

Rep: Reputation: 16
Post

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.
 
Old 07-08-2008, 09:07 AM   #3
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 52
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..
 
Old 07-09-2008, 06:41 AM   #4
sana afsar
LQ Newbie
 
Registered: Jun 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks a lot!!!!
I got it!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No dhcp offer on cable modem nx5000 Linux - Networking 6 09-07-2007 04:26 PM
Wrong server IP being sent in DHCP offer Garybtx Linux - Server 2 11-14-2006 11:29 PM
DHCP Offer Checksum Error TastyWheat Linux - Networking 2 09-11-2006 02:09 PM
DHCP offer only each 2nd boot hetOrakel Suse/Novell 1 04-19-2005 05:56 PM
DHCP offer packet refused David_Moses Linux - Wireless Networking 2 01-15-2005 06:59 AM


All times are GMT -5. The time now is 04:28 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration