Return to 014.lagg.stop CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / elwix / config / etc / uboot / rc.d |
version 1.1, 2014/01/23 09:34:55 | version 1.2, 2014/09/15 19:06:52 |
---|---|
Line 0 | Line 1 |
#!/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 |