#@# Version: 2002-01-08a /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_RADVD_TRIGGER_ACTION_6TO4=startstop|reload|restart|SIGHUP How to trigger radvd on reason "6to4" Default: "restart" IPV6_RADVD_TRIGGER_ACTION_PPP=startstop|reload|restart|SIGHUP How to trigger radvd on reason "ppp" Default: "restart" This options are useful because it's needed that on reason ppp (an IPv6-enabled PPP link) radvd must be restarted. Therefore this map can be used to make such changes easily. Upper IPv6 options can be overridden in interface-specific configuration. IPV6_DEFAULTGW= (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 Note: if a scope device is specified and doesn't match a device specified in IPV6_DEFAULTDEV IPV6_DEFAULTGW is invalid and default route setup is skipped. IPV6_DEFAULTDEV= (optional) Add a default route through specified interface without specifying next hop Type of interface will be tested whether this is allowed Examples: IPV6_DEFAULTDEV="eth0" INVALID example! IPV6_DEFAULTDEV="ppp0" IPV6_DEFAULTDEV="sit0" Examples for 6to4 (DEV must be in sync with IPV6TO4_SETUP_METHOD) IPV6_DEFAULTDEV="tun6to4" Add default route through dedicated tun6to4 tunnel device, if configured IPV6_DEFAULTDEV="sit0" Add default route through generic sit0 tunnel device, if configured Note: specifying device "tun6to4", a given IPV6_DEFAULTGW is not used. specifying sit-devices and a given IPV6_DEFAULTGW contain a scope value which doesn't match IPV6_DEFAULTDEV is invalid and default route setup is skipped. IPV6_RADVD_PIDFILE= (optional) Location of PID file for controlling radvd, see IPV6_CONTROL_RADVD Default: "/var/run/radvd/radvd.pid" Example: IPV6_RADVD_PIDFILE="/some/other/location/radvd.pid" IPV6TO4_RADVD_PIDFILE= (obsolete) As above, still supported for a while for backward compatibility. /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: IPv6-network IPv6-gateway IPv6-network 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 2000::/3 3ffe:ffff:0:1::1 so-called "default" routes for clients sit1 2000::/3 adds routes through dedicated tunnel interface sit1 tun6to4 3ffe:ffff:1234::/56 tun6to4 3ffe:ffff:5678::/56 ::5.6.7.8 adds routes through hardwired 6to4 tunnel interface tun6to4 Notes: * default routes (such as the "2000::/3" shown above) should be set with IPV6_DEFAULTGW and IPV6_DEFAULTDEV, see more above. * tunnel device "sit0" is not supported here, routes will never be applied /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- 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=[/] 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 Note: if prefix length is omitted, 64 is assumed Example: IPV6ADDR="3ffe:ffff:0:5::1" IPV6ADDR="3ffe:ffff:0:1::1/128" IPV6ADDR_SECONDARIES="[/] ..." (optional) A list of secondary IPv6 addresses (perhaps useful for virtual hosting) Example: IPV6ADDR_SECONDARIES="3ffe:ffff:0:1::10 3ffe:ffff:0:2::11/128" IPV6_MTU= (optional) Optional, dedicated MTU of this link Note: Must be greater or equal to 1280. 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= (optional) IPv4 address of the remote 6to4 relay Note: if this is omitted, ::192.88.99.1 (the anycast relay address) is chosen IPV6TO4_IPV4ADDR=[/] (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="-/ ..." (optional) 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 Optional settings for a 6to4 tunnel or a ppp link IPV6_CONTROL_RADVD=yes|no (optional) 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 tunnel interface: Interface name: sit1.. IPV6INIT=yes|no Enable or disable IPv6 configuration for this interface Default: no IPV6TUNNELIPV4= Specify IPv4 address of a foreign IPv6-in-IPv4 tunnel endpoint Example: IPV6TUNNELIPV4="1.2.3.4" IPV6TUNNELIPV4LOCAL= Specify local IPv4 address of tunnel, useful on interfaces with multiple IPv4 addresses IPV6ADDR=[/] (optional) local IPv6 address of a numbered tunnel IPV6_MTU= (optional) Optional, dedicated MTU of this tunnel Note: Must be greater or equal to 1280 Example: IPV6_MTU="1280"