--- elwix/config/etc/uboot/rc.d/014.gre.stop 2014/01/23 09:34:55 1.1 +++ elwix/config/etc/uboot/rc.d/014.gre.stop 2014/09/15 19:06:52 1.2 @@ -0,0 +1,13 @@ +#!/bin/sh + +IFACE="gre0" + +TUNNEL="172.31.2.1 172.31.2.2" + +OPT="" +IP="10.10.10.1/24 10.10.10.2" + +echo "Config GRE network interface $IFACE ..." +ifconfig $IFACE create +ifconfig $IFACE tunnel $TUNNEL +ifconfig $IFACE inet $IP $OPT up