diff options
author | thompsa <thompsa@FreeBSD.org> | 2007-04-10 00:35:31 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2007-04-10 00:35:31 +0000 |
commit | 994b9b86e7887426d4757742a9c6c5f0459d7cb6 (patch) | |
tree | a4479a42542a37189c2a5e340d6ca8248878f346 /sbin | |
parent | 31737a26bdcf828bee38bbc94acd9a62925b551c (diff) | |
download | FreeBSD-src-994b9b86e7887426d4757742a9c6c5f0459d7cb6.zip FreeBSD-src-994b9b86e7887426d4757742a9c6c5f0459d7cb6.tar.gz |
Hook trunk(4) up to the build.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/ifconfig/Makefile | 1 | ||||
-rw-r--r-- | sbin/ifconfig/ifconfig.8 | 17 |
2 files changed, 18 insertions, 0 deletions
diff --git a/sbin/ifconfig/Makefile b/sbin/ifconfig/Makefile index 672d888..5520cf7 100644 --- a/sbin/ifconfig/Makefile +++ b/sbin/ifconfig/Makefile @@ -30,6 +30,7 @@ SRCS+= ifgroup.c # ... SRCS+= ifpfsync.c # pfsync(4) support SRCS+= ifbridge.c # bridge support +SRCS+= iftrunk.c # trunk support .if ${MK_IPX_SUPPORT} != "no" && !defined(RELEASE_CRUNCH) SRCS+= af_ipx.c # IPX support diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8 index 7026328..be0e96b 100644 --- a/sbin/ifconfig/ifconfig.8 +++ b/sbin/ifconfig/ifconfig.8 @@ -1367,6 +1367,23 @@ cost to 0. The minimum is 1 and the maximum is 200000000. .El .Pp +The following parameters are specific to trunk interfaces: +.Bl -tag -width indent +.It Cm trunkport Ar interface +Add the interface named by +.Ar interface +as a port of the trunk. +.It Cm -trunkport Ar interface +Remove the interface named by +.Ar interface +from the trunk. +.It Cm trunkproto Ar proto +Set the trunking protocol. +The default is failover. +The available options are failover, fec, lacp, loadbalance, roundrobin and +none. +.El +.Pp The following parameters are specific to IP tunnel interfaces, .Xr gif 4 : .Bl -tag -width indent |