summaryrefslogtreecommitdiffstats
path: root/rc.inet1.conf
diff options
context:
space:
mode:
Diffstat (limited to 'rc.inet1.conf')
-rw-r--r--rc.inet1.conf59
1 files changed, 40 insertions, 19 deletions
diff --git a/rc.inet1.conf b/rc.inet1.conf
index 090d799..c1e1060 100644
--- a/rc.inet1.conf
+++ b/rc.inet1.conf
@@ -1,6 +1,7 @@
# /etc/rc.d/rc.inet1.conf
#
# This file contains the configuration settings for network interfaces.
+
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.
# If you don't have an interface, leave the settings null ("").
@@ -11,54 +12,68 @@
# Several other parameters are available, the end of this file contains a
# comprehensive set of examples.
+# Important note for IPv6 stateless auto configuration (SLAAC) users:
+# From Slackware 15.0 onwards, you need to set USE_SLAAC[0]="yes" (etc) below
+
# =============================================================================
-# Config information for eth0:
+# IPv4 config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
IPALIASES[0]=""
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""
-# Config information for eth1:
+# IPv4 config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
IPALIASES[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""
-# Config information for eth2:
+# IPv4 config information for eth2:
IPADDR[2]=""
NETMASK[2]=""
IPALIASES[2]=""
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""
-# Config information for eth3:
+# IPv4 config information for eth3:
IPADDR[3]=""
NETMASK[3]=""
IPALIASES[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""
-# Default gateway IP address:
+# IPv4 default gateway IP address:
GATEWAY=""
-# IPv6 configuration options:
-#IPADDR6[0]=
-#PREFIX6[0]=
-#IPALIASES6[0]=
-#USE_DHCP6[0]=
-#USE_AUTOCONF6[0]=
+# =============================================================================
+
+# IPv6 config information for eth0:
+IP6ADDR[0]=""
+PREFIXLEN[0]=""
+IP6ALIASES[0]=""
+USE_SLAAC[0]=""
+USE_DHCP6[0]=""
-# Default gateway IPv6 address:
-#GATEWAY6=""
+# IPv6 config information for eth1:
+IP6ADDR[1]=""
+PREFIXLEN[1]=""
+IP6ALIASES[1]=""
+USE_SLAAC[1]=""
+USE_DHCP6[1]=""
-# Change this to "yes" for debugging output to stdout. Unfortunately,
-# /sbin/hotplug seems to disable stdout so you'll only see debugging output
-# when rc.inet1 is called directly.
+# IPv6 default gateway address:
+GATEWAY6=""
+
+# =============================================================================
+
+# Change this to "yes" for debugging output to stdout.
DEBUG_ETH_UP="no"
+# =============================================================================
+
# Example of how to configure a bridge:
# Note the added "BRNICS" variable which contains a space-separated list
# of the physical or virtual network interfaces you want to add to the bridge.
@@ -70,6 +85,8 @@ DEBUG_ETH_UP="no"
#USE_DHCP[0]=""
#DHCP_HOSTNAME[0]=""
+# =============================================================================
+
# Virtual interfaces to create - these are created before any address
# configuration or bridge setup is done, so you may use these interfaces
# as IFNAME or BRNICS values. These can be tun or tap interfaces:
@@ -89,6 +106,8 @@ DEBUG_ETH_UP="no"
#VIRTIFUSER[1]="someuser"
#VIRTIFGROUP[1]="somegroup"
+# =============================================================================
+
## Example config information for wlan0. Uncomment the lines you need and fill
## in your data. (You may not need all of these for your wireless network)
#IFNAME[4]="wlan0"
@@ -110,6 +129,8 @@ DEBUG_ETH_UP="no"
#WLAN_WPADRIVER[4]="wext"
#WLAN_WPAWAIT[4]=30
+# =============================================================================
+
## Some examples of additional network parameters that you can use.
## Config information for wlan0:
#IFNAME[4]="wlan0" # Use a different interface name instead of
@@ -135,9 +156,9 @@ DEBUG_ETH_UP="no"
# server is not found (ipv4ll link-local
# adresses in the IP range 169.254.0.0/16 are
# also known as "zeroconf" addresses)
-#AUTOCONF6_TIMEOUT[4]="15" # The default timeout for auto configuration to
- # wait for the interface to come up is 15 sec.
- # Increase the timeout if required.
+#SLAAC_TIMEOUT[4]="15" # The default timeout for auto configuration to
+ # wait for the interface to come up is 15 sec.
+ # Increase the timeout if required.
#WLAN_ESSID[4]=DARKSTAR # An example of how you can override _any_
# parameter defined in rc.wireless.conf, by
# prepending 'WLAN_' to the parameter's name.