![]() ![]() | ![]() |
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="gif0" | |
TUNNEL="172.31.2.1 172.31.2.2" | |
OPT="mtu 1500" | |
IP="10.10.10.1/24 10.10.10.2" | |
echo "Config GIF-IPoverIP network interface $IFACE ..." | |
ifconfig $IFACE create | |
ifconfig $IFACE tunnel $TUNNEL | |
ifconfig $IFACE inet $IP $OPT up |