Changeset View
Changeset View
Standalone View
Standalone View
sbin/ifconfig/ifconfig.8
Show First 20 Lines • Show All 212 Lines • ▼ Show 20 Lines | ||||||||||||||
.Fl g | .Fl g | |||||||||||||
is specified before other significant flags like, e.g., | is specified before other significant flags like, e.g., | |||||||||||||
.Fl a , | .Fl a , | |||||||||||||
.Fl l , | .Fl l , | |||||||||||||
or | or | |||||||||||||
.Fl C , | .Fl C , | |||||||||||||
then | then | |||||||||||||
.Nm | .Nm | |||||||||||||
lists names of interfaces belonging to | lists names of interfaces belonging to | |||||||||||||
pauamma_gundo.comUnsubmitted Done Inline Actions
pauamma_gundo.com: | ||||||||||||||
.Ar groupname . | .Ar groupname . | |||||||||||||
Any other flags and arguments are ignored in this case. | Any other flags and arguments are ignored in this case. | |||||||||||||
.Pp | .Pp | |||||||||||||
Only one option | Only one option | |||||||||||||
.Fl g | .Fl g | |||||||||||||
should be specified as later override previous ones | should be specified as later override previous ones | |||||||||||||
.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. | |||||||||||||
▲ Show 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | ||||||||||||||
and | and | |||||||||||||
.Fl u . | .Fl u . | |||||||||||||
.It Fl m | .It Fl m | |||||||||||||
Display the capability list and all | Display the capability list and all | |||||||||||||
of the supported media for the specified interface. | of the supported media for the specified interface. | |||||||||||||
.It Fl n | .It Fl n | |||||||||||||
Disable automatic loading of network interface drivers. | Disable automatic loading of network interface drivers. | |||||||||||||
.Pp | .Pp | |||||||||||||
By default if the network interface driver is not present in the kernel | By default if the network interface driver is not present in the kernel | |||||||||||||
then | then | |||||||||||||
.Nm | .Nm | |||||||||||||
will attempt to load it. | will attempt to load it. | |||||||||||||
Done Inline ActionsIs "not" missing in that sentence? It directly contradicts "Disable" above. pauamma_gundo.com: Is "not" missing in that sentence? It directly contradicts "Disable" above. | ||||||||||||||
Done Inline ActionsThe next sentence says "This flag disables this behavior.". It describes the default behavior of attempting to load the driver and then explains that the flag disables the given behavior. email_luiz.eng.br: The next sentence says "This flag disables this behavior.".
It describes the default behavior… | ||||||||||||||
.It Fl u | .It Fl u | |||||||||||||
Done Inline Actions
Thanks. Rewrite for better flow and clarity. (May need a linebreak.) pauamma_gundo.com: Thanks.
Rewrite for better flow and clarity. (May need a linebreak.) | ||||||||||||||
Done Inline ActionsThat should have been This flag disables .Nm Ns 's behavior of loading network interface drivers not already present in the kernel. .It Fl u (missing line break.) pauamma_gundo.com: That should have been
```
This flag disables
.Nm Ns 's behavior of loading network interface… | ||||||||||||||
Display only the interfaces that are up. | Display only the interfaces that are up. | |||||||||||||
.It Fl v | .It Fl v | |||||||||||||
Get more verbose status for an interface. | Get more verbose status for an interface. | |||||||||||||
.It Ar address | .It Ar address | |||||||||||||
For the inet family, | For the inet family, | |||||||||||||
Done Inline Actions
While here, for consistency with "inet6" below. pauamma_gundo.com: While here, for consistency with "inet6" below. | ||||||||||||||
the address is either a host name present in the host name data | the address is either a host name present in the host name data | |||||||||||||
base, | base, | |||||||||||||
.Xr hosts 5 , | .Xr hosts 5 , | |||||||||||||
or an IPv4 address expressed in the Internet standard | or an IPv4 address expressed in the Internet standard | |||||||||||||
Done Inline Actions
pauamma_gundo.com: | ||||||||||||||
Done Inline Actions
pauamma_gundo.com: | ||||||||||||||
.Dq dot notation . | .Dq dot notation . | |||||||||||||
.Pp | .Pp | |||||||||||||
It is also possible to use the CIDR notation (also known as the | It is also possible to use the CIDR notation (also known as the | |||||||||||||
slash notation) to include the netmask. | slash notation) to include the netmask. | |||||||||||||
That is, one can specify an address like | That is, one can specify an address like | |||||||||||||
.Li 192.168.0.1/16 . | .Li 192.168.0.1/16 . | |||||||||||||
.Pp | .Pp | |||||||||||||
For the | For the | |||||||||||||
▲ Show 20 Lines • Show All 125 Lines • ▼ Show 20 Lines | ||||||||||||||
If the Address Resolution Protocol is enabled, | If the Address Resolution Protocol is enabled, | |||||||||||||
the host will only reply to requests for its addresses, | the host will only reply to requests for its addresses, | |||||||||||||
and will never send any requests. | and will never send any requests. | |||||||||||||
.It Fl staticarp | .It Fl staticarp | |||||||||||||
If the Address Resolution Protocol is enabled, | If the Address Resolution Protocol is enabled, | |||||||||||||
the host will perform normally, | the host will perform normally, | |||||||||||||
sending out requests and listening for replies. | sending out requests and listening for replies. | |||||||||||||
.It Cm stickyarp | .It Cm stickyarp | |||||||||||||
Enable the so-called sticky ARP mode for the interface. | Enable the so-called sticky ARP mode for the interface. | |||||||||||||
Done Inline Actions
pauamma_gundo.com: | ||||||||||||||
If this option is enabled on the given interface, any resolved address is | If this option is enabled on the given interface, any resolved address is | |||||||||||||
marked as a static one and never expires. This may be used to increase | marked as a static one and never expires. This may be used to increase | |||||||||||||
security of the network by preventing ARP spoofing or to reduce latency for | security of the network by preventing ARP spoofing or to reduce latency for | |||||||||||||
high-performance Ethernet networks where the time needed for ARP resolution is | high-performance Ethernet networks where the time needed for ARP resolution is | |||||||||||||
too high. Please note that a similar feature is also provided for bridges. See | too high. Please note that a similar feature is also provided for bridges. See | |||||||||||||
the sticky option in the | the sticky option in the | |||||||||||||
.Sx Bridge Interface Parameters | .Sx Bridge Interface Parameters | |||||||||||||
section. Enabling this | section. Enabling this | |||||||||||||
option may impact techniques which rely on ARP expiration/overwriting feature | option may impact techniques which rely on ARP expiration/overwriting feature | |||||||||||||
such as load-balancers or high-availabity solutions such as | such as load-balancers or high-availabity solutions such as | |||||||||||||
.Xr carp 4 . | .Xr carp 4 . | |||||||||||||
.It Fl stickyarp | .It Fl stickyarp | |||||||||||||
Disable the so-called sticky ARP mode for the interface (default). | Disable the so-called sticky ARP mode for the interface (default). | |||||||||||||
Done Inline Actions
pauamma_gundo.com: | ||||||||||||||
Resolved addresses will expire normally respecting the kernel ARP | Resolved addresses will expire normally respecting the kernel ARP | |||||||||||||
configuration. | configuration. | |||||||||||||
.It Cm broadcast | .It Cm broadcast | |||||||||||||
(Inet only.) | (Inet only.) | |||||||||||||
Specify the address to use to represent broadcasts to the | Specify the address to use to represent broadcasts to the | |||||||||||||
network. | network. | |||||||||||||
The default broadcast address is the address with a host part of all 1's. | The default broadcast address is the address with a host part of all 1's. | |||||||||||||
.It Cm debug | .It Cm debug | |||||||||||||
▲ Show 20 Lines • Show All 58 Lines • ▼ Show 20 Lines | ||||||||||||||
kernel configuration option, or the | kernel configuration option, or the | |||||||||||||
.Va net.fibs | .Va net.fibs | |||||||||||||
tunable. | tunable. | |||||||||||||
.It Cm tunnelfib Ar fib_number | .It Cm tunnelfib Ar fib_number | |||||||||||||
Specify tunnel FIB. | Specify tunnel FIB. | |||||||||||||
A FIB | A FIB | |||||||||||||
.Ar fib_number | .Ar fib_number | |||||||||||||
is assigned to all packets encapsulated by tunnel interface, e.g., | is assigned to all packets encapsulated by tunnel interface, e.g., | |||||||||||||
.Xr gif 4 | .Xr gif 4 , | |||||||||||||
.Xr gre 4 | ||||||||||||||
and | and | |||||||||||||
.Xr gre 4 . | .Xr vxlan 4 . | |||||||||||||
.It Cm maclabel Ar label | .It Cm maclabel Ar label | |||||||||||||
If Mandatory Access Control support is enabled in the kernel, | If Mandatory Access Control support is enabled in the kernel, | |||||||||||||
set the MAC label to | set the MAC label to | |||||||||||||
.Ar label . | .Ar label . | |||||||||||||
.\" (see | .\" (see | |||||||||||||
.\" .Xr maclabel 7 ) . | .\" .Xr maclabel 7 ) . | |||||||||||||
.It Cm media Ar type | .It Cm media Ar type | |||||||||||||
If the driver supports the media selection system, set the media type | If the driver supports the media selection system, set the media type | |||||||||||||
▲ Show 20 Lines • Show All 2,719 Lines • Show Last 20 Lines |