File:
[ELWIX - Embedded LightWeight unIX -] /
elwix /
config /
etc /
default /
rc.d /
014.lagg.stop
Revision
1.2:
download - view:
text,
annotated -
select for diffs -
revision graph
Mon Jan 28 01:47:36 2013 UTC (11 years, 7 months ago) by
misho
Branches:
MAIN
CVS tags:
elwix2_3,
elwix2_2,
elwix2_1,
elwix2_0,
elwix1_9_mips,
elwix1_9,
elwix1_8,
HEAD,
ELWIX2_2p0,
ELWIX2_1,
ELWIX2_0,
ELWIX1_9,
ELWIX1_8,
ELWIX1_7
ELWIX 1.7
#!/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>