#@# Version: 2002-01-01

/etc/sysconfig/network:
  NETWORKING_IPV6=yes|no
    Enable or disable global IPv6 initialization
    Default: no
  IPV6FORWARDING=yes|no
    Enable or disable global forwarding of incoming IPv6 packes 
    on all interfaces.
    Note: Actual packet forwarding cannot be controlled per-device, use netfilter6 for such issues
    Default: no
  IPV6INIT=yes|no
    Enable or disable IPv6 configuration for all interfaces.
    Use with caution!
    Default: value not set in this file

  IPV6_AUTOCONF=yes|no
    Sets the default for device-based autoconfiguration.
    Default: yes if IPV6FORWARDING=no, no if IPV6FORWARDING=yes
  IPV6_ROUTER=yes|no
    Sets the default for device-based Host/Router behaviour.
    Default: yes if IPV6FORWARDING=yes, no if IPV6FORWARDING=no
  IPV6_AUTOTUNNEL=yes|no
    Controls automatic IPv6 tunneling.
    Default: no

  IPV6_TUNNELMODE=IP|NBMA [OPTIONAL: IP by default]
    Mode of tunnel setup
    IP: separate tunnel device mode (now recommeded) 
    NBMA: NBMA-styled tunnel mode (now mostly obsolete)

  IPV6_TRIGGER_RADVD_ACTION_6TO4=restart|SIGHUP
  IPV6_TRIGGER_RADVD_ACTION_PPP=restart|SIGHUP
    How to trigger radvd on which reason

  Upper IPv6 options can be overridden in interface-specific configuration.

  IPV6_DEFAULTGW=<ipv6address[%interface]> [optional]
    Add a default route through specified gateway
    An interface can be specified: required for link-local addresses
    Examples:
      IPV6_DEFAULTGW="3ffe:400:100:f101::2"
        Add default route through 3ffe:400:100:f101::2
      IPV6_DEFAULTGW="3ffe:400:100:f101::2%eth0"
        Add default route through 3ffe:400:100:f101::2 and device eth0
      IPV6_DEFAULTGW="fe80::1%eth0"
        Add default route through fe80::1 and device eth0

  IPV6_DEFAULTDEV=<interface> [optional]
    Add a default route through specified interface without specifying next hop
    Link of interface will be tested whether this is allowed
    Examples:
      IPV6_DEFAULTDEV="eth0" INVALID example!
      IPV6_DEFAULTDEV="ppp0"
      IPV6_DEFAULTDEV="sit0"

  IPV6_RADVD_PIDFILE=<pid-file> [optional]
    Location of PID file to get PID for sending signal
    Default: "/var/run/radvd/radvd.pid"
    Example:
       IPV6_RADVD_PIDFILE="/some/other/location/radvd.pid"


/etc/sysconfig/network-scripts/init.ipv6-global:
  Not really a public file.  Contains different basic settings that
  are set from /etc/[rc.d/]init.d/network at different stages of
  network initialization.

 
/etc/sysconfig/static-routes-ipv6:
  Contains lines of the form:

    <device> ipv6network ipv6gateway
    <tunneldevice> ipv6network

  <device> must be a device name to have the route brought up and
  down with the device

  For example:
  
  eth0   fec0:0:0:2::/64                         fec0:0:0:1:0:0:0:20
   adds a route for IPv6 network fec0:0:0:2::/64 through fec0:0:0:1:0:0:0:20
   
  eth0    3ffe::/16				3ffe:400:100:f101::1
  eth0    2000::/3				3ffe:400:100:f101::1
   so-called "default" routes for clients

  sit1    3ffe::/16
  sit1    2000::/3
   adds routes through virtual tunnel sit1

  sit0    2000::/3 # deprecated
  tun6to4 2000::/3
   adds routes for 6to4 tunneling, if used, also interface "tun6to4" is
allowed for that


/etc/sysconfig/network-scripts/network-functions-ipv6:

  Not really a public file.  Contains functions which the scripts use
  for bringing IPv6 on interfaces up and down, like addresses, routes,
  forwarding handling and static or automatic tunneling.


/etc/sysconfig/network-scripts/ifcfg-<interface-name>
 
  IPv6-only items for real interfaces:
    IPV6INIT=yes|no
      Enable or disable IPv6 configuration for this interface
      Default: no
    IPV6FORWARDING=yes|no
      Enable or disable global forwarding of incoming IPv6 packets
      Note: Obsolete in interface specification!
      Default: no
    IPV6ADDR=<ipv6address>/<prefixlength> 
      Specify a primary static IPv6 address here
      Optional, if normal host and a router advertisement daemon is on local link
      Required, if node is a router and interface should route packets
      Example:
        IPV6ADDR="3ffe:400:100:f101::1/64"
    IPV6ADDR_SECONDARIES=<list of ipv6 addresses>
      Optional, a list of secondary IPv6 addresses (perhaps useful for virtual hosting)
      Example:
        IPV6ADDR_SECONDARIES="3ffe:400:100:f101::10/64 3ffe:400:100:f101::11/64"
    IPV6_MTU=<MTU of link> [optional]
      Note: Must be greater or equal to 1280.
      Optional, dedicated MTU of this link
      Example:
        IPV6_MTU="1280"

  Special configuration options for multi-homed hosts etc.
	IPV6_ROUTER=yes|no: Controls IPv6 autoconfiguration
	IPV6_AUTOCONF=yes|no: Controls IPv6 autoconfiguration
	 Defaults:
	  Global IPV6FORWARDING=yes: IPV6_AUTOCONF=no, IPV6_ROUTER=yes
	  Global IPV6FORWARDING=no: IPV6_AUTOCONF=yes

  Optional settings for a 6to4 tunnel
    IPV6TO4INIT=yes|no
      Enable or disable 6to4 tunneling setup
      Default: no
    IPV6TO4_RELAY=<ipv4address>
      IPv4 address of the remote 6to4 relay
    IPV6TO4_IPV4ADDR=<ipv6address> [OPTIONAL]
      Overwrite local IPv4 address which is accessable from the Internet
       (optional, in case of static IPv4-NAT behind a router or other special scenarios)
    IPV6TO4_ROUTING=<LAN-routing-setup-tokens>
      A list of routing tokens to setup proper IPv6 routes on the LAN
      Example:
         IPV6TO4_ROUTING="eth0-:f101::0/64 eth1-:f102::0/64"
         Will create one route per eth0 and eth1, taking given SLA
    IPV6TO4_SETUP_METHOD=sit0|tun6to4 [OPTIONAL]
      Select method of used 6to4 tunnel setup
        sit0: uses the generic tunnel device
        tun6to4: uses a dedicated device named "tun6to4" (default)

  Optional settings for a 6to4 tunnel or a ppp link
    IPV6_CONTROL_RADVD=yes|no
      Enable signalling radvd that the 6to4 prefix has been changed or a
       preconfigured dynamic device is up or down
      Default: no

  IPv6-only items for automatic tunnel interface: 
    Virtual interface name: sit0
    IPV6INIT=yes|no
      Enable or disable IPv6 configuration for this interface
    Obsolete now, see IPV6_AUTOTUNNEL in /etc/sysconfig/network

  IPv6-only items for static unnumbered tunnel interface:
    Virtual interface name: sit1..
    IPV6INIT=yes|no
      Enable or disable IPv6 configuration for this interface
      Default: no
    IPV6TUNNELIPV4=<ipv4 address of foreign tunnel endpoint>
      specify IPv4 address of a foreign IPv6-in-IPv4 tunnel endpoint
      Example:
        IPV6TUNNELIPV4="195.226.187.50"
    IPV6TUNNELIPV4LOCAL=<local ipv4 address of tunnel> [optional]
      specify local IPv4 address of tunnel, useful on interfaces with multiple IPv4 addresses

  IPv6-only items for static numbered tunnel interface:
    Virtual interface name: sit1..
    IPV6INIT=yes|no
      Enable or disable IPv6 configuration for this interface
      Default: no
    IPV6TUNNELIPV4=<ipv4 address of foreign tunnel endpoint>
      specify IPv4 address of a foreign IPv6-in-IPv4 tunnel endpoint
      Example:
        IPV6TUNNELIPV4="195.226.187.50"
    IPV6ADDR=<ipv6address>/<prefixlength> [OPTIONAL]
     local IPv6 address of a numbered tunnel

    
 
