Changeset View
Changeset View
Standalone View
Standalone View
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 December 17, 2019 | .Dd May 31, 2020 | ||||
.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 f Ar type:format Ns Op Ar ,type:format | .Op Fl f Ar type:format Ns Op Ar ,type:format | ||||
Show All 11 Lines | |||||
.Op Ar parameters | .Op Ar parameters | ||||
.Nm | .Nm | ||||
.Ar interface | .Ar interface | ||||
.Cm destroy | .Cm destroy | ||||
.Nm | .Nm | ||||
.Fl a | .Fl a | ||||
.Op Fl L | .Op Fl L | ||||
.Op Fl d | .Op Fl d | ||||
.Op Fl [gG] Ar groupname | |||||
.Op Fl m | .Op Fl m | ||||
.Op Fl u | .Op Fl u | ||||
.Op Fl v | .Op Fl v | ||||
.Op Ar address_family | .Op Ar address_family | ||||
.Nm | .Nm | ||||
.Fl l | .Fl l | ||||
.Op Fl d | .Op Fl d | ||||
.Op Fl u | .Op Fl u | ||||
▲ Show 20 Lines • Show All 2,843 Lines • ▼ Show 20 Lines | |||||
Optionally, the | Optionally, the | ||||
.Fl a | .Fl a | ||||
flag may be used instead of an interface name. | flag may be used instead of an interface name. | ||||
This flag instructs | This flag instructs | ||||
.Nm | .Nm | ||||
to display information about all interfaces in the system. | to display information about all interfaces in the system. | ||||
The | The | ||||
.Fl d | .Fl d | ||||
flag limits this to interfaces that are down, and | flag limits this to interfaces that are down, | ||||
.Fl u | .Fl u | ||||
limits this to interfaces that are up. | limits this to interfaces that are up, | ||||
.Fl g | |||||
limits this to members of specified group of interfaces, and | |||||
bcr: s/of specified/of the specified/
same below | |||||
.Fl G | |||||
excludes members of specified group from the list. | |||||
Both | |||||
.Fl g | |||||
and | |||||
.Fl G | |||||
flags may be specified to apply both conditions. | |||||
.Sy groupname | |||||
may contain shell patterns in which case it should be quoted. | |||||
When no arguments are given, | When no arguments are given, | ||||
Done Inline Actionss/later overrides/later ones override/ bcr: s/later overrides/later ones override/
s/one/ones/ | |||||
.Fl a | .Fl a | ||||
is implied. | is implied. | ||||
.Pp | .Pp | ||||
The | The | ||||
.Fl l | .Fl l | ||||
flag may be used to list all available interfaces on the system, with | flag may be used to list all available interfaces on the system, with | ||||
no other additional information. | no other additional information. | ||||
If an | If an | ||||
▲ Show 20 Lines • Show All 106 Lines • ▼ Show 20 Lines | |||||
.Dl # ifconfig gif1 destroy | .Dl # ifconfig gif1 destroy | ||||
.Pp | .Pp | ||||
Display available wireless networks using | Display available wireless networks using | ||||
.Li wlan0 : | .Li wlan0 : | ||||
.Dl # ifconfig wlan0 list scan | .Dl # ifconfig wlan0 list scan | ||||
.Pp | .Pp | ||||
Display inet and inet6 address subnet masks in CIDR notation | Display inet and inet6 address subnet masks in CIDR notation | ||||
.Dl # ifconfig -f inet:cidr,inet6:cidr | .Dl # ifconfig -f inet:cidr,inet6:cidr | ||||
.Pp | |||||
Display interfaces that are up with the exception of loopack | |||||
Done Inline Actionss/loopack/loopback/ bcr: s/loopack/loopback/ | |||||
.Dl # ifconfig -a -u -G lo | |||||
.Sh DIAGNOSTICS | .Sh DIAGNOSTICS | ||||
Messages indicating the specified interface does not exist, the | Messages indicating the specified interface does not exist, the | ||||
requested address is unknown, or the user is not privileged and | requested address is unknown, or the user is not privileged and | ||||
tried to alter an interface's configuration. | tried to alter an interface's configuration. | ||||
.Sh SEE ALSO | .Sh SEE ALSO | ||||
.Xr netstat 1 , | .Xr netstat 1 , | ||||
.Xr carp 4 , | .Xr carp 4 , | ||||
.Xr gif 4 , | .Xr gif 4 , | ||||
Show All 31 Lines |
s/of specified/of the specified/
same below