Changeset View
Changeset View
Standalone View
Standalone View
sbin/ifconfig/ifconfig.8
Show All 22 Lines | |||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" From: @(#)ifconfig.8 8.3 (Berkeley) 1/5/94 | .\" From: @(#)ifconfig.8 8.3 (Berkeley) 1/5/94 | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd March 6, 2023 | .Dd March 6, 2023 | ||||
lwhsu: Bump the date. :-) | |||||
.Dt IFCONFIG 8 | .Dt IFCONFIG 8 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm ifconfig | .Nm ifconfig | ||||
.Nd configure network interface parameters | .Nd configure network interface parameters | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Op Fl j Ar jail | |||||
.Op Fl kLmn | .Op Fl kLmn | ||||
.Op Fl f Ar type Ns Cm \&: Ns Ar format | .Op Fl f Ar type Ns Cm \&: Ns Ar format | ||||
.Ar interface | .Ar interface | ||||
.Op Cm create | .Op Cm create | ||||
.Oo | .Oo | ||||
.Ar address_family | .Ar address_family | ||||
.Oo | .Oo | ||||
.Ar address | .Ar address | ||||
.Op Ar dest_address | .Op Ar dest_address | ||||
.Oc | .Oc | ||||
.Oc | .Oc | ||||
.Op Ar parameters | .Op Ar parameters | ||||
.Nm | .Nm | ||||
.Op Fl j Ar jail | |||||
.Ar interface | .Ar interface | ||||
.Cm destroy | .Cm destroy | ||||
.Nm | .Nm | ||||
.Op Fl j Ar jail | |||||
.Fl a | .Fl a | ||||
.Op Fl dkLmuv | .Op Fl dkLmuv | ||||
.Op Fl f Ar type Ns Cm \&: Ns Ar format | .Op Fl f Ar type Ns Cm \&: Ns Ar format | ||||
.Op Fl G Ar groupname | .Op Fl G Ar groupname | ||||
.Op Fl g Ar groupname | .Op Fl g Ar groupname | ||||
.Op Ar address_family | .Op Ar address_family | ||||
.Nm | .Nm | ||||
.Fl C | .Fl C | ||||
.Nm | .Nm | ||||
.Op Fl j Ar jail | |||||
.Fl g Ar groupname | .Fl g Ar groupname | ||||
.Nm | .Nm | ||||
.Op Fl j Ar jail | |||||
.Fl l | .Fl l | ||||
.Op Fl du | .Op Fl du | ||||
.Op Fl g Ar groupname | .Op Fl g Ar groupname | ||||
.Op Ar address_family | .Op Ar address_family | ||||
.Nm | .Nm | ||||
.Op Fl j Ar jail | |||||
.Op Fl dkLmuv | .Op Fl dkLmuv | ||||
.Op Fl f Ar type Ns Cm \&: Ns Ar format | .Op Fl f Ar type Ns Cm \&: Ns Ar format | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
The | The | ||||
.Nm | .Nm | ||||
utility is used to assign an address | utility is used to assign an address | ||||
to a network interface and/or configure | to a network interface and/or configure | ||||
network interface parameters. | network interface parameters. | ||||
▲ Show 20 Lines • Show All 149 Lines • ▼ Show 20 Lines | |||||
.Ar groupname | .Ar groupname | ||||
may contain shell patterns in which case it should be quoted. | may contain shell patterns in which case it should be quoted. | ||||
.Pp | .Pp | ||||
Setting | Setting | ||||
.Ar groupname | .Ar groupname | ||||
to | to | ||||
.Cm all | .Cm all | ||||
selects all interfaces. | selects all interfaces. | ||||
.It Fl j Ar jail | |||||
Perform the actions inside the | |||||
.Ar jail . | |||||
.Pp | |||||
The | |||||
.Cm ifconfig | |||||
will first attach to the | |||||
.Ar jail | |||||
(by jail id or jail name) before performing the effects. | |||||
.Pp | |||||
This allow network interfaces of | |||||
.Ar jail | |||||
to be configured even if the | |||||
.Cm ifconfig | |||||
binary is not available in | |||||
.Ar jail . | |||||
.It Fl k | .It Fl k | ||||
Print keying information for the | Print keying information for the | ||||
.Ar interface , | .Ar interface , | ||||
if available. | if available. | ||||
.Pp | .Pp | ||||
For example, the values of 802.11 WEP keys and | For example, the values of 802.11 WEP keys and | ||||
.Xr carp 4 | .Xr carp 4 | ||||
passphrases will be printed, if accessible to the current user. | passphrases will be printed, if accessible to the current user. | ||||
▲ Show 20 Lines • Show All 3,021 Lines • Show Last 20 Lines |
Bump the date. :-)