Changeset View
Changeset View
Standalone View
Standalone View
sbin/dhclient/dhclient.conf.5
Show All 32 Lines | |||||
.\" This software has been written for the Internet Software Consortium | .\" This software has been written for the Internet Software Consortium | ||||
.\" by Ted Lemon <mellon@fugue.com> in cooperation with Vixie | .\" by Ted Lemon <mellon@fugue.com> in cooperation with Vixie | ||||
.\" Enterprises. To learn more about the Internet Software Consortium, | .\" Enterprises. To learn more about the Internet Software Consortium, | ||||
.\" see ``http://www.isc.org/isc''. To learn more about Vixie | .\" see ``http://www.isc.org/isc''. To learn more about Vixie | ||||
.\" Enterprises, see ``http://www.vix.com''. | .\" Enterprises, see ``http://www.vix.com''. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd May 31, 2018 | .Dd July 21, 2021 | ||||
.Dt DHCLIENT.CONF 5 | .Dt DHCLIENT.CONF 5 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm dhclient.conf | .Nm dhclient.conf | ||||
.Nd DHCP client configuration file | .Nd DHCP client configuration file | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
The | The | ||||
.Nm | .Nm | ||||
▲ Show 20 Lines • Show All 429 Lines • ▼ Show 20 Lines | |||||
.Pp | .Pp | ||||
The media setup is only used for the initial phase of address | The media setup is only used for the initial phase of address | ||||
acquisition (the DHCPDISCOVER and DHCPOFFER packets). | acquisition (the DHCPDISCOVER and DHCPOFFER packets). | ||||
Once an address has been acquired, the DHCP client will record it in its | Once an address has been acquired, the DHCP client will record it in its | ||||
lease database and will record the media type used to acquire the address. | lease database and will record the media type used to acquire the address. | ||||
Whenever the client tries to renew the lease, it will use that same media type. | Whenever the client tries to renew the lease, it will use that same media type. | ||||
The lease must expire before the client will go back to cycling through media | The lease must expire before the client will go back to cycling through media | ||||
types. | types. | ||||
.It Ic vlan-pcp Ar code ; | |||||
The | |||||
.Ic vlan-pcp | |||||
statement sets the PCP (Priority Code Point) value for the VLAN header. | |||||
This requires the | |||||
.Va net.link.vlan.mtag_pcp | |||||
sysctl to be set to 1. | |||||
.El | .El | ||||
.Sh EXAMPLES | .Sh EXAMPLES | ||||
The following configuration file is used on a laptop | The following configuration file is used on a laptop | ||||
which has an IP alias of | which has an IP alias of | ||||
.Li 192.5.5.213 , | .Li 192.5.5.213 , | ||||
and has one interface, | and has one interface, | ||||
.Li ep0 | .Li ep0 | ||||
(a 3Com 3C589C). | (a 3Com 3C589C). | ||||
▲ Show 20 Lines • Show All 58 Lines • Show Last 20 Lines |