[dhclient]force use of a well known dhcp server

This is a discussion on [dhclient]force use of a well known dhcp server within the Linux Networking forums, part of the Linux Forums category; Hi Is it possible to force the dhclient to communicate only with a fixed DHCP server I think this will ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-02-2008
mbm
 
Posts: n/a
Default [dhclient]force use of a well known dhcp server

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
  #2 (permalink)  
Old 04-03-2008
David Schwartz
 
Posts: n/a
Default Re: force use of a well known dhcp server

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
  #3 (permalink)  
Old 04-03-2008
Pascal Hambourg
 
Posts: n/a
Default Re: force use of a well known dhcp server

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 Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:05 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0