CFT: new trunk(4)



Hi,


Here is a patch to add OpenBSD's trunk(4) interface, and also includes
LACP support which came from agr(4) on NetBSD. Im interested in anyone
who wants to test this and in particular lacp mode if you have a switch
that supports it.

http://people.freebsd.org/~thompsa/if_trunk-20070330b.diff

The procedure to build this is (on an recent current)
cd /usr/src
patch -p0 < if_trunk-20070330b.diff
build kernel and world...
install kernel and world...

To create a lacp trunk
ifconfig trunk0 create
ifconfig trunk0 up
ifconfig trunk0 trunkproto lacp
ifconfig trunk0 trunkport fxp0
ifconfig trunk0 trunkport fxp1

ifconfig will show you the status of the trunk, for lacp the port will
be forwarding when it reaches COLLECTING and DISTRIBUTING. There are
other trunk modes failover,loadbalance and roundrobin (see the man
page).

Any feedback would be great.


cheers,
Andrew
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • CFT: new trunk(4)
    ... LACP support which came from agron NetBSD. ... To create a lacp trunk ... ifconfig trunk0 create ... ifconfig trunk0 trunkport fxp0 ...
    (freebsd-net)
  • Re: CFT: new trunk(4)
    ... Here is a patch to add OpenBSD's trunkinterface, ... LACP support which came from agron NetBSD. ... ifconfig trunk0 create ... ifconfig trunk0 trunkport fxp0 ...
    (freebsd-net)
  • Re: CFT: new trunk(4) [results]
    ... LACP support which came from agron NetBSD. ... who wants to test this and in particular lacp mode if you have a switch ... put in the trunk. ... trunkport rl1 =1c ...
    (freebsd-current)
  • Re: 1900 question
    ... and LACP but cant see the commands e.g. ... cannot do switchport mode trunk, could someone tell me what I need to ...
    (comp.dcom.sys.cisco)