]> git.pld-linux.org Git - projects/rc-scripts.git/blame - sysconfig/interfaces/ifcfg-description
- merge from TOTALNEW branch (see NEWS for more info)
[projects/rc-scripts.git] / sysconfig / interfaces / ifcfg-description
CommitLineData
de1fc6ce
JR
1# $Id: ifcfg-description,v 1.13 2001/05/15 16:03:43 baggins Exp $
2DEVICE=<name>
3[ BOOTMETHOD={none|bootp|dhcp|pump} ]
4 You can specify which dhcp client to use with the DHCP_CLIENT, if
5 the DHCP_CLIENT is not specified we trying to launch in order :
6 /sbin/dhcpcd
7 /sbin/dhclient
8 /sbin/dhcpxd
9 /sbin/pump
10 if you have a preferred client define the DHCP_CLIENT variable.
11 You can also pass some options to dhcl client via DHCP_OPTIONS.
12
13[ BOOTMETHOD6={none|dhcp6|v4compat}
14 dhcp6 method isn't supported, yet.
15 v4compat uses available IPv4 addresses (ie. from DHCPv4)
16 and then convert them to IPv6 (IPv4-compatible) to use with
17 automatic tunnels
18
19
20IPADDR="(IPv4 or IPv6 address)/prefix"
21IP_AOPTS="broadcast xxx etc" (by default broadcast is autocalculated)
22IP_ROPTS=""
23
24IPADDR1=
25IP_AOPTS1= options for ip addr add
26IP_ROPTS1= options for ip route add (currently used only for IP4_PRIM_IF)
27
28IP4_PRIM_IF="1" # number of primary IPv4 interface (IPADDRx)
29IP4_SRC_IF="1" # number of IPv4 address for ip's ,,src'' parameter
30IP6_PRIM_IF="" #
31IP6_SRC_IF="" #
32
03f9cfee 33[ ONBOOT={no|yes} ]
de1fc6ce
JR
34[ MULTICAST={|no|yes} ] - for eth automamaticly set to yes
35[ ARP={no|yes} ] - for eth automamaticly set to yes
36[ IPV6_DISABLE_AUTOCONF={yes|no} ] - disable IPv6 autoconfiguration
37
38[ IPX=yes|no ]
39if IPX=yes ; then
40
41 IPXNETNUM_{802_2,802_2TR,802_3,EtherII,SNAP}
42 IPXPRIMARY_{802_2,802_2TR,802_3,EtherII,SNAP}=yes|no
43 IPXACTIVE_{802_2,802_2TR,802_3,EtherII,SNAP}=yes|no
44fi
45
b2d62426
AM
46[ MTU= ]
47[ METRIC= ]
48
642c5ec3
JK
49[ QDISC= ]
50
de1fc6ce
JR
51[ DEFAULTHANDLING=yes|no ] (used in configuration for ATM interfaces,
52 obsolete variable)
53[ HANDLING=0|1|2|3 ] (0 is default; used ie. in ATM configuration, for
54 details see ifup script)
55
b2d62426
AM
56if DEVICE=eth* ; then
57
58 [ MEDIA={auto|10baseT|10base2|AUI} ]
59 [ MAC=<hw addres> ]
60
de1fc6ce 61elif DEVICE=ppp* || DEVICE=sl* ; then
b2d62426
AM
62
63 PERSIST=yes|no
64 MODEMPORT=<device, say /dev/modem>
65 LINESPEED=<speed, say 115200>
66 DEFABORT=yes|no
67
68 if DEVICE=ppp* ; then
69
03f9cfee 70 AUTH=yes|no
de1fc6ce 71 PEERDNS=yes|no
b2d62426
AM
72 DEFROUTE=yes|no
73 ESCAPECHARS=yes|no
74 HARDFLOWCTL=yes|no (yes imples "modem crtscts" options)
75 PPPOPTIONS=<arbitrary option string>
76 PAPNAME=<"name $PAPNAME" on pppd command line>
de1fc6ce
JR
77 REMIP=<remote ip4 address, normally unspecified>
78 REMIP6=<remote ip6 address, normally unspecified>
b2d62426
AM
79 MRU=
80 DISCONNECTTIMEOUT=<number of seconds, default currently 5>
81 RETRYTIMEOUT=<number of seconds, default currently 60>
82 INITSCRIPT=<modem command>
83 DATAFORCHAT=<list of variables>
84 <anything>=<anything> (for chat script)
de1fc6ce
JR
85 IPV6_PPP=yes|no (use IPv6 for ppp ?)
86 if IPV6_PPP = yes ; then
87 IPV6_CP_USEV4=yes|no (use local IPv4 mapped addresses
88 as IPv6 addresses)
89 IPV6_CP_PERSISTENT=yes|no (use EUI-48 addresses
90 as IPv6 addresses; not
91 supported on Linux, yet)
92 or by default use address specified by IP6_PRIM_IF
93 and REMIP6
94 fi
95 fi
b2d62426 96
de1fc6ce
JR
97 if DEVICE=sl* ; then (SLIP)
98 DIRECT_CONNECT=yes|no (dirrect connection via slattach ?)
99 PROTOCOL=slip|cslip|adaptive
100 REMIP=<remote ip4 address>
101 REMIP6=<remote ip6 address, normally unspecified>
102 fi
103
104elif DEVICE=br* ; then /* Bridge */
105
106 BRIDGE_DEVS=<list of devices betwen which do bridging>
107 Note: separation configuration for devices in this list
108 should be avoided !
109 AGEING=<ethernet (MAC) address ageing time in seconds>
110 GCINT=<garbage collection interval time for the bridge in seconds>
111
112 SPANNING_TREE=yes|no (enable SPT - Spanning Tree Protocol)
113 if SPANNING_TREE=yes ; then
114 BRIDGEPRIO=<bridge's priority; 0-65535; less == better>
115 FD=<bridge forward delay time in seconds>
116 HELLO=<bridge hello time in seconds>
117 MAXAGE=<maximum message age in seconds>
118 PATHCOST_PORT=<port number>
119 PATHCOST=<cost of the port specified in PATHCOST_PORT>
120 Note: both PATHCOST_PORT and PATHCOST must be
121 specified to set cost of port
122 PORTPRIO_PORT=<port>
123 PORTPRIO=<port priority used by port selection algorithms;
124 a number between 0 and 255>
125 Note: see note above
b2d62426
AM
126 fi
127fi
128
201c98b9
AM
129# You can also run some other programs *after* uping od downing
130# device. Just create functions run_up() and run_down()
131run_up()
132{
133 echo "This will be executed after uping device !"
134}
135
136run_down()
137{
138 echo "This will be executed after downing device !"
139}
This page took 0.06704 seconds and 4 git commands to generate.