dhcpcd-discuss

Replace DHCP default gateway with static route

Alex K.

Tue Apr 03 23:05:49 2018

Hello everyone,

I've been looking for days to achieve the following - replace the default
gateway DHCPCD got from the network, with a static route (toward a
particular subnet only), using the router IP address we got within the
basic DHCP offer, as that route next hop.

Basically, replacing the "regular" default route DHCP put, with a static
route. Obviously keeping the rest of information DHCP got (our IP address
and such).

After digging for days, I haven't been able to make working
configuration/hook. Therefore, any suggestion will be gladly appreciated.

Alex.

Follow-Ups:
Re: Replace DHCP default gateway with static routeRoy Marples
Archive administrator: postmaster@marples.name