]> git.pld-linux.org Git - projects/rc-scripts.git/blobdiff - sysconfig/interfaces/tnlcfg-description
- merge from TOTALNEW branch (see NEWS for more info)
[projects/rc-scripts.git] / sysconfig / interfaces / tnlcfg-description
index 282883cbaedd176e86ceb95951478a949d7c7c47..3c967fc143b7a8ace26e6f3a8652f27540ab6b68 100644 (file)
@@ -1,13 +1,14 @@
-#      $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> ]
@@ -15,15 +16,31 @@ else        MODE=ipip || MODE=gre || MODE=sit ; then
 
        [ 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
        
This page took 0.052249 seconds and 4 git commands to generate.