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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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. |