| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: ifconfig.8,v 1.124 2022/11/25 08:41:05 knakahara Exp $ | | 1 | .\" $NetBSD: ifconfig.8,v 1.124.2.1 2024/04/18 16:26:47 martin Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 1983, 1991, 1993 | | 3 | .\" Copyright (c) 1983, 1991, 1993 |
4 | .\" The Regents of the University of California. All rights reserved. | | 4 | .\" The Regents of the University of California. All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" Redistribution and use in source and binary forms, with or without | | 6 | .\" Redistribution and use in source and binary forms, with or without |
7 | .\" modification, are permitted provided that the following conditions | | 7 | .\" modification, are permitted provided that the following conditions |
8 | .\" are met: | | 8 | .\" are met: |
9 | .\" 1. Redistributions of source code must retain the above copyright | | 9 | .\" 1. Redistributions of source code must retain the above copyright |
10 | .\" notice, this list of conditions and the following disclaimer. | | 10 | .\" notice, this list of conditions and the following disclaimer. |
11 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 11 | .\" 2. Redistributions in binary form must reproduce the above copyright |
12 | .\" notice, this list of conditions and the following disclaimer in the | | 12 | .\" notice, this list of conditions and the following disclaimer in the |
13 | .\" documentation and/or other materials provided with the distribution. | | 13 | .\" documentation and/or other materials provided with the distribution. |
14 | .\" 3. Neither the name of the University nor the names of its contributors | | 14 | .\" 3. Neither the name of the University nor the names of its contributors |
| @@ -19,27 +19,27 @@ | | | @@ -19,27 +19,27 @@ |
19 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | | 19 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
20 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | | 20 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
21 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | | 21 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE |
22 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | | 22 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
23 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | | 23 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
24 | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | | 24 | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
25 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | | 25 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
26 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | | 26 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | | 27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
28 | .\" SUCH DAMAGE. | | 28 | .\" SUCH DAMAGE. |
29 | .\" | | 29 | .\" |
30 | .\" @(#)ifconfig.8 8.4 (Berkeley) 6/1/94 | | 30 | .\" @(#)ifconfig.8 8.4 (Berkeley) 6/1/94 |
31 | .\" | | 31 | .\" |
32 | .Dd November 25, 2022 | | 32 | .Dd April 8, 2024 |
33 | .Dt IFCONFIG 8 | | 33 | .Dt IFCONFIG 8 |
34 | .Os | | 34 | .Os |
35 | .Sh NAME | | 35 | .Sh NAME |
36 | .Nm ifconfig | | 36 | .Nm ifconfig |
37 | .Nd configure network interface parameters | | 37 | .Nd configure network interface parameters |
38 | .Sh SYNOPSIS | | 38 | .Sh SYNOPSIS |
39 | .Nm | | 39 | .Nm |
40 | .Op Fl N | | 40 | .Op Fl N |
41 | .Ar interface address_family | | 41 | .Ar interface address_family |
42 | .Oo | | 42 | .Oo |
43 | .Ar address | | 43 | .Ar address |
44 | .Op Ar dest_address | | 44 | .Op Ar dest_address |
45 | .Oc | | 45 | .Oc |
| @@ -604,26 +604,60 @@ from the | | | @@ -604,26 +604,60 @@ from the |
604 | interface. | | 604 | interface. |
605 | .It Cm agrport Ar iface | | 605 | .It Cm agrport Ar iface |
606 | Add | | 606 | Add |
607 | .Ar iface | | 607 | .Ar iface |
608 | to the | | 608 | to the |
609 | .Xr agr 4 | | 609 | .Xr agr 4 |
610 | interface. | | 610 | interface. |
611 | .It Cm -agrport Ar iface | | 611 | .It Cm -agrport Ar iface |
612 | Remove | | 612 | Remove |
613 | .Ar iface | | 613 | .Ar iface |
614 | from the | | 614 | from the |
615 | .Xr agr 4 | | 615 | .Xr agr 4 |
616 | interface. | | 616 | interface. |
| | | 617 | .It Cm laggport Ar interface Oo Cm pri Ar n Oc |
| | | 618 | Add the interface named by |
| | | 619 | .Ar interface |
| | | 620 | as a port of the |
| | | 621 | .Xr lagg 4 |
| | | 622 | interface, |
| | | 623 | and set the priority of |
| | | 624 | .Ar interface |
| | | 625 | to |
| | | 626 | .Ar n . |
| | | 627 | .It Cm -laggport Ar interface |
| | | 628 | Remove the interface named by |
| | | 629 | .Ar interface |
| | | 630 | from the |
| | | 631 | .Xr lagg 4 |
| | | 632 | interface. |
| | | 633 | .It Cm laggportpri Ar interface Ar n |
| | | 634 | If the interface is a |
| | | 635 | .Xr lagg 4 |
| | | 636 | pseudo-interface, set the priority of |
| | | 637 | .Ar interface |
| | | 638 | to |
| | | 639 | .Ar n |
| | | 640 | .It Cm laggproto Ar proto |
| | | 641 | Set the aggregation protocol of |
| | | 642 | .Xr lagg 4 . |
| | | 643 | The default is |
| | | 644 | .Li none . |
| | | 645 | The available options are |
| | | 646 | .Li failover , |
| | | 647 | .Li lacp , |
| | | 648 | .Li loadbalance , |
| | | 649 | and |
| | | 650 | .Li none . |
617 | .It Cm eee | | 651 | .It Cm eee |
618 | Enable IEEE 802.3az Energy Efficiency Ethernet function. | | 652 | Enable IEEE 802.3az Energy Efficiency Ethernet function. |
619 | .It Cm -eee | | 653 | .It Cm -eee |
620 | Disable IEEE 802.3az Energy Efficiency Ethernet function. | | 654 | Disable IEEE 802.3az Energy Efficiency Ethernet function. |
621 | .It Cm vltime Ar n | | 655 | .It Cm vltime Ar n |
622 | .Pq inet6 only | | 656 | .Pq inet6 only |
623 | Set valid lifetime for the address. | | 657 | Set valid lifetime for the address. |
624 | .It Cm ip4csum | | 658 | .It Cm ip4csum |
625 | Shorthand of | | 659 | Shorthand of |
626 | .Dq ip4csum-tx ip4csum-rx | | 660 | .Dq ip4csum-tx ip4csum-rx |
627 | .It Cm -ip4csum | | 661 | .It Cm -ip4csum |
628 | Shorthand of | | 662 | Shorthand of |
629 | .Dq -ip4csum-tx -ip4csum-rx | | 663 | .Dq -ip4csum-tx -ip4csum-rx |
| @@ -889,26 +923,27 @@ Add a link-layer (MAC) address to an Eth | | | @@ -889,26 +923,27 @@ Add a link-layer (MAC) address to an Eth |
889 | .Pp | | 923 | .Pp |
890 | .Ic ifconfig sip0 link 00:11:22:33:44:55 | | 924 | .Ic ifconfig sip0 link 00:11:22:33:44:55 |
891 | .Pp | | 925 | .Pp |
892 | Add and activate a link-layer (MAC) address: | | 926 | Add and activate a link-layer (MAC) address: |
893 | .Pp | | 927 | .Pp |
894 | .Ic ifconfig sip0 link 00:11:22:33:44:55 active | | 928 | .Ic ifconfig sip0 link 00:11:22:33:44:55 active |
895 | .Sh DIAGNOSTICS | | 929 | .Sh DIAGNOSTICS |
896 | Messages indicating the specified interface does not exist, the | | 930 | Messages indicating the specified interface does not exist, the |
897 | requested address is unknown, or the user is not privileged and | | 931 | requested address is unknown, or the user is not privileged and |
898 | tried to alter an interface's configuration. | | 932 | tried to alter an interface's configuration. |
899 | .Sh SEE ALSO | | 933 | .Sh SEE ALSO |
900 | .Xr netstat 1 , | | 934 | .Xr netstat 1 , |
901 | .Xr agr 4 , | | 935 | .Xr agr 4 , |
| | | 936 | .Xr lagg 4 , |
902 | .Xr carp 4 , | | 937 | .Xr carp 4 , |
903 | .Xr ifmedia 4 , | | 938 | .Xr ifmedia 4 , |
904 | .Xr netintro 4 , | | 939 | .Xr netintro 4 , |
905 | .Xr pfsync 4 , | | 940 | .Xr pfsync 4 , |
906 | .Xr vlan 4 , | | 941 | .Xr vlan 4 , |
907 | .Xr ifconfig.if 5 , | | 942 | .Xr ifconfig.if 5 , |
908 | .\" .Xr eon 5 , | | 943 | .\" .Xr eon 5 , |
909 | .Xr ifmcstat 8 , | | 944 | .Xr ifmcstat 8 , |
910 | .Xr rc 8 , | | 945 | .Xr rc 8 , |
911 | .Xr routed 8 | | 946 | .Xr routed 8 |
912 | .Sh BUGS | | 947 | .Sh BUGS |
913 | Due to hardware limitations some of the capabilities cannot be turned on | | 948 | Due to hardware limitations some of the capabilities cannot be turned on |
914 | and off individually and need to be specified together. | | 949 | and off individually and need to be specified together. |