File:  [ELWIX - Embedded LightWeight unIX -] / elwix / config / etc / uboot / rc.d / 014.lagg.stop
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Mon Sep 15 19:06:52 2014 UTC (9 years, 10 months ago) by misho
Branches: MAIN
CVS tags: elwix2_3, HEAD, ELWIX2_2p0
elwix 2.2

#!/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>