HEADSUP: OpenBSD dhclient incoming

Sten Spans sten at blinkenlights.nl
Tue Jun 7 09:28:55 GMT 2005


On Mon, 6 Jun 2005, Brooks Davis wrote:

> I'm about to start importing the OpenBSD dhclient and required
> support in /etc.  I will unhook dhclient from the build while I work so
> there shouldn't be much breakage for most people.
>
<snip>
>
> Since the interface configuration process had to change to accommodate
> this, I've taken the opportunity to streamline it.  There are now less
> paths by which and interface will be configured.  First,
> /etc/rc.d/dhclient is no longer a start script and simply exists to
> start and stop individual dhclients.  Second, /etc/rc.d/netif now
> handles both DHCP and non-DHCP interfaces.  As a bonus, it can handle
> interface which are both so the following is a valid configuration:
>
> ifconfig_fxp0="DHCP media 100baseTX"

This is great, another use for this is dhcp on vlan interfaces, aka:
ifconfig_vlan42="DHCP vlandev fxp0"

Previously this had to be done with interface start scripts.

-- 
Sten Spans

"There is a crack in everything, that's how the light gets in."
Leonard Cohen - Anthem


More information about the freebsd-current mailing list