Module Name: src Committed By: yamaguchi Date: Wed Oct 18 07:59:06 UTC 2023
Modified Files: src/share/man/man4: lagg.4 Log Message: Update lagg(4) manual 1. corrected the wrong example - lagg(4) can not add multiple port and set its priority at once - This is the restriction of ifconfig(8) 2. adapted to changed behavior related to MTU - Changed not to copy MTU of the 1st physical interface to lagg(4) to prevent locking against myself To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/share/man/man4/lagg.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man4/lagg.4 diff -u src/share/man/man4/lagg.4:1.4 src/share/man/man4/lagg.4:1.5 --- src/share/man/man4/lagg.4:1.4 Tue May 24 20:50:18 2022 +++ src/share/man/man4/lagg.4 Wed Oct 18 07:59:06 2023 @@ -1,4 +1,4 @@ -.\" $NetBSD: lagg.4,v 1.4 2022/05/24 20:50:18 andvar Exp $ +.\" $NetBSD: lagg.4,v 1.5 2023/10/18 07:59:06 yamaguchi Exp $ .\" .\" Copyright (c) 2005, 2006 Reyk Floeter <r...@openbsd.org> .\" @@ -150,8 +150,10 @@ most easily done with the .Cm create command. .Pp -The MTU of the first interface to be added is used as the lagg MTU. -All additional interfaces are required to have exactly the same value. +The MTU of the +.Xr lagg 4 +is applied to each physical interfaces. +And the physical interfaces can not change its MTU directly. .Sh EXAMPLES Create a link aggregation using LACP with two .Xr wm 4 @@ -171,9 +173,10 @@ Gigabit Ethernet interfaces and set each # ifconfig wm0 up # ifconfig wm1 up # ifconfig lagg0 create -# ifconfig lagg0 laggproto failover \e - laggport wm0 pri 1000 laggport wm1 pri 2000 \e - 192.168.1.1 netmask 255.255.255.0 +# ifconfig lagg0 laggproto failover +# ifconfig lagg0 laggport wm0 pri 1000 +# ifconfig lagg0 laggport wm1 pri 2000 +# ifconfig lagg0 inet 192.168.1.1 netmask 255.255.255.0 .Ed .Sh SEE ALSO .Xr ifconfig 8