Networking Forums

Networking Forums > Computer Networking > Linux Networking > [dhclient]force use of a well known dhcp server

Reply
Thread Tools Display Modes

[dhclient]force use of a well known dhcp server

 
 
mbm
Guest
Posts: n/a

 
      04-02-2008, 02:36 PM
Hi

Is it possible to force the dhclient to communicate only with a fixed
DHCP server

I think this will resolve the problem raised by a bad DHCP server
connecte to the LAN

Any comment is welcome

Regards
 
Reply With Quote
 
 
 
 
Dave {Reply Address in.Sig}
Guest
Posts: n/a

 
      04-02-2008, 05:33 PM
In message
<99409c10-f985-4ac1-8514-(E-Mail Removed)>, mbm
wrote:

> Hi
>
> Is it possible to force the dhclient to communicate only with a fixed
> DHCP server
>
> I think this will resolve the problem raised by a bad DHCP server
> connecte to the LAN
>

There's an option for dhclient.conf to force it to reject a particular
server, but I can't see one to force it to only communicate with a
particular one. That's not very fault-tolerant anyway.

--
Dave
mail da (E-Mail Removed) (without the space)
http://www.llondel.org
So many gadgets, so little time
 
Reply With Quote
 
David Schwartz
Guest
Posts: n/a

 
      04-03-2008, 11:48 AM
On Apr 2, 7:36 am, mbm <mbmessa...@yahoo.com> wrote:

> Is it possible to force the dhclient to communicate only with a fixed
> DHCP server
>
> I think this will resolve the problem raised by a bad DHCP server
> connecte to the LAN
>
> Any comment is welcome


If you don't trust DHCP on the LAN for any reason, I'd recommend using
static configuration if at all possible. Otherwise, I suppose you can
add 'ipfilter' rules to block out DHCP packets from other MAC
addresses.

DS
 
Reply With Quote
 
Pascal Hambourg
Guest
Posts: n/a

 
      04-03-2008, 06:52 PM
Hello,

David Schwartz a écrit :
>
> If you don't trust DHCP on the LAN for any reason, I'd recommend using
> static configuration if at all possible. Otherwise, I suppose you can
> add 'ipfilter' rules to block out DHCP packets from other MAC
> addresses.


I'm afraid ipfilter is not the most common packet filter on Linux.
Anyway, this approach may fail because some DHCP clients such as
dhclient from the ISC DHCP package capture incoming packets at the
interface - just like packet sniffers - and not at the IP layer.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Force workstation to use a specific DHCP server ? Tang Windows Networking 4 12-03-2009 06:49 AM
Force workstation to use a specific DHCP server? Gregg Hill Wireless Networks 10 08-06-2008 02:47 PM
Force Single NIC to be DHCP Server Win2003 jcarlock105@gmail.com Windows Networking 1 04-05-2007 04:12 AM
I need to configure DHCP server to force client to obtain a new ip address upon lease renewal malazc@gmail.com Linux Networking 1 07-20-2006 10:21 PM
dns update from dhcp server ok for windows clients, not ok for linux (dhclient) clients Tom Van Overbeke Linux Networking 3 08-07-2003 03:24 PM



1 2 3 4 5 6 7 8 9 10 11