Using trunk(4) interface in OpenBSD

Posted 26 Aug 2006 at 12:41 UTC by dmitri Share This

In OpenBSD you can use trunk(4) interface for creating link aggregation and link failover.


The trunk(4) interface support was added in OpenBSD since 3.9 version (last release in present moment) for allowing link aggregation and link failover. One virtual trunk(4) interface can be created from multiple network interfaces.


Simple example, creating failover trunk, using two Gigabit Ethernet interfaces and one wireless interface:

# ifconfig bge0 up
# ifconfig bge1 up
# ifconfig ath0 nwid test_network up
# ifconfig trunk0 trunkproto failover trunkport bge0 trunkport bge1 \
        trunkport ath0 netmask
Of course, in this example, loadbalance also can be used.


Manual pages:

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!

Share this page