]> TLD Linux GIT Repositories - rc-scripts.git/blob - sysconfig/interfaces/tnlcfg-description
- version 0.5.3
[rc-scripts.git] / sysconfig / interfaces / tnlcfg-description
1 #
2 # In this file you can also put all configuration data instead
3 # of using second file named ifcfg-tunnel_name.
4
5 MODE={ipip|gre|sit|ipxip}
6 ONBOOT=yes|no
7 DEVICE=<device name>
8 if      MODE=ipxip ; then
9         ?
10 elif    MODE=ipip || MODE=gre || MODE=sit ; then
11
12         REMOTEADDR=<IPv4 addres>
13         [ LOCALADDR=<IPv4 addres> ]
14         [ BIND_DEV= ] do jakiego device przybindować (ma związek z routingiem itp)
15
16         [ TTL= ]
17         [ TOS= ]
18         [ PMTUDISC={no|yes} ]
19
20         if      MODE=gre ; then
21
22                 [ KEY= ]
23                 [ IKEY= ]
24                 [ OKEY= ]
25                 [ ISEQ={no|yes} ]
26                 [ ISEQ={no|yes} ]
27                 [ OSEQ={no|yes} ]
28                 [ CSUM={no|yes} ]
29                 [ ICSUM={no|yes} ]
30                 [ OCSUM={no|yes} ]
31         fi
32
33 else    MODE=four ; then
34
35         REMOTEADDR=<IPv6 addres>
36         LOCALADDR=<IPv6 addres>
37
38         [ PRIORITY= ]
39         [ HOPLIMIT= ]
40         [ ENCAPLIMIT= ]
41 fi