-# $Id: tnlcfg-description,v 1.2 1999/09/15 10:15:35 misiek Exp $
+# $Id: tnlcfg-description,v 1.3 2001/05/15 16:03:43 baggins Exp $
#
# In this file you can also put all configuration data instead
# of using second file named ifcfg-tunnel_name.
MODE={ipip|gre|sit|ipxip}
+ONBOOT=yes|no
DEVICE=<device name>
-if MODE=ipxip ; then
+if MODE=ipxip ; then
?
-else MODE=ipip || MODE=gre || MODE=sit ; then
+elif MODE=ipip || MODE=gre || MODE=sit ; then
REMOTEADDR=<IPv4 addres>
[ LOCALADDR=<IPv4 addres> ]
[ TTL= ]
[ TOS= ]
- [ SEQ={no|yes} ]
- [ ISEQ={no|yes} ]
- [ OSEQ={no|yes} ]
- [ KEY= ]
- [ IKEY= ]
- [ OKEY= ]
- [ CSUM={no|yes} ]
- [ ICSUM={no|yes} ]
- [ OCSUM={no|yes} ]
[ PMTUDISC={no|yes} ]
+
+ if MODE=gre ; then
+
+ [ KEY= ]
+ [ IKEY= ]
+ [ OKEY= ]
+ [ ISEQ={no|yes} ]
+ [ ISEQ={no|yes} ]
+ [ OSEQ={no|yes} ]
+ [ CSUM={no|yes} ]
+ [ ICSUM={no|yes} ]
+ [ OCSUM={no|yes} ]
+
+ fi
+
+
+else MODE=four ; then
+
+ REMOTEADDR=<IPv6 addres>
+ LOCALADDR=<IPv6 addres>
+
+ [ PRIORITY= ]
+ [ HOPLIMIT= ]
+ [ ENCAPLIMIT= ]
+
fi