[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: reject dhclient offer from wrong subnet



	Hi.

On Wed, Dec 15, 2021 at 04:37:19PM +0100, Tuxo wrote:
> Can I configure dhclient on my router to discard lease offers from a certain subnet? I could also try to match the lease time, the 192.168.100/24 lease time
> is only several seconds (!!) short, the real one will be 4 hours or more and come with a valid WAN subnet mask.

Try adding "reject 192.168.100/24;" into your router's dhclient.conf.

Also, dhclient.conf(5).

Reco


Reply to: