File:  [ELWIX - Embedded LightWeight unIX -] / elwix / config / etc / default / rc.d / 014.lagg.stop
Revision 1.1.2.1: download - view: text, annotated - select for diffs - revision graph
Sun Jan 20 23:08:48 2013 UTC (11 years, 6 months ago) by misho
Branches: elwix1_7
added new startup script

#!/bin/sh

IFACE="lagg0"
PROTO="lacp"
PORTS="fxp0 fxp1"

MEDIA="autoselect"

OPT=""
IP=""

echo "Config Ethernet-Link aggregation interface $IFACE ..."
ifconfig $IFACE create
ifconfig $IFACE laggproto $PROTO
for p in $PORTS; do
	ifconfig $IFACE laggport $p
done
ifconfig $IFACE inet $IP media $MEDIA $OPT up
#dhclient $IFACE

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>