NAME
ethermultilink – switch between multiple interfaces on a bridge

SYNOPSIS
ethermultilink primary secondary [ secondary ]... > /net/bridge0/ctl

DESCRIPTION
Ethermultilink takes a primary ethernet interface and a list of secondary interfaces in increasing priority order. It checks the link status of the secondary interfaces and if any are link–active, bridges the primary and the highest priority secondary interface together by outputting bridge(4) commands on standard output. The link status of all the secondary interfaces is checked once per second and the commands to change the active secondary are output as needed.

EXAMPLE
# make the bridge
bind –a '#B' /net
# mount the ethernet
bind –a '#l0' /net
# mount the wifi
bind –a '#l1' /net
# roam between wifi and ethernet
ethermultilink /net/ether1 /net/ether0 > /net/bridge0/ctl
# setup ip on the primary
ip/ipconfig ether /net/ether1

SOURCE
/rc/bin/ethermultilink

SEE ALSO
bridge(3).