Size: 1935
Comment:
|
Size: 6404
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 4: | Line 4: |
= Global configuration parameters = == How can I enable/disable IPv6 globally? == In {{{/etc/sysconfig/network }}} : {{{ NETWORKING_IPV6=yes|no }}} Enable or disable global IPv6 initialization. Default: no == How can I enable forwarding between IPv6 enabled interfaces? == In {{{/etc/sysconfig/network }}} : {{{ IPV6FORWARDING=yes|no }}} Enable or disable global forwarding of incoming IPv6 packes on all interfaces. Default: no '''Note''': Actual packet forwarding cannot be controlled per-device, use netfilter6 for such cases == How can enable/disable IPv6 configuration for all the interfaces? == In {{{/etc/sysconfig/network }}} : {{{ IPV6INIT=yes|no }}} Enable or disable IPv6 configuration for all interfaces. Default: value not set in this file '''Use with caution!''' == How can I enable/disable autoconfiguration on all the interfaces? == In {{{/etc/sysconfig/network }}} : {{{ IPV6_AUTOCONF=yes|no }}} Sets the default for device-based autoconfiguration. Default: yes if {{{IPV6FORWARDING=no}}}, no if {{{IPV6FORWARDING=yes}}} == How can I enable/diable router behaviour (not to accept router advertisment etc.) on a device ? == In {{{/etc/sysconfig/network }}} : {{{ IPV6_ROUTER=yes|no }}} Sets the default for device-based Host/Router behaviour. Default: yes if {{{IPV6FORWARDING=yes}}}, no if {{{IPV6FORWARDING=no}}} == How can enable automatic tunneling ? == In {{{/etc/sysconfig/network }}} : {{{ IPV6_AUTOTUNNEL=yes|no }}} Controls automatic IPv6 tunneling. Default: no. It is advised to not enable this feature since it is deprecated. == How can I setup default gateway ? == It can be useful if you don't or can't use autoconfiguration and Router advertisments. In {{{/etc/sysconfig/network }}} : {{{ IPV6_DEFAULTGW=<IPv6 address[%interface]> (optional) }}} Add a default route through specified gateway. An interface can be specified: required for link-local addresses. {{{ Examples: IPV6_DEFAULTGW="2001:db8:1234:5678::1" Add default route through 3ffe:ffff:1234:5678::1 IPV6_DEFAULTGW="2001:db8:1234:5678::1%eth0" Add default route through 3ffe:ffff:1234:5678::1 and device eth0 IPV6_DEFAULTGW="fe80::1%eth0" Add default route through fe80::1 and device eth0 }}} * '''Note''': if IPV6_DEFAULTGW is specified with %interface scope and it doesn't match IPV6_DEFAULTDEV, IPV6_DEFAULTDEV is ignored. * '''Note''': it's preferred to use %interface for all addresses, not just link-local if you have multiple IPv6-enabled interfaces. == How can I configure default gateways without specifying the address of the default geteway? == In {{{/etc/sysconfig/network }}} : {{{ IPV6_DEFAULTDEV=<interface> (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="sit1" }}} {{{ Examples for 6to4 IPV6_DEFAULTDEV="tun6to4" Add default route through dedicated 6to4 tunnel device "tun6to4", if configured }}} * '''Note''': "tun6to4" does not support an additional IPV6_DEFAULTGW. Other interfaces prefer IPV6_DEFAULTGW, if specified. == How can I specify the pidfile for router advertisment daemon? == In {{{/etc/sysconfig/network }}} : {{{ IPV6_RADVD_PIDFILE=<pid-file> (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" }}} == How can ask radvd to adapt ppp or 6to4 configuration changes? == This can be important if the ppp session restarts or 6to4 reconfiguration takes place since the subnet behind the linux should use the new IPv6 prefix to generate new router advetisments. In {{{/etc/sysconfig/network }}} : {{{ IPV6_RADVD_TRIGGER_ACTION=startstop|reload|restart|SIGHUP (optional) }}} How to trigger radvd in case of 6to4 or PPP action. Default: SIGHUP startstop:: radvd starts if interface goes up and stops if interface goes down using initscript call of radvd with related parameter reload|restart:: initscript of radvd is called with this parameter SIGHUP:: signal HUP is sent to radvd, pidfile must be specified, if not the default = Interace specific configuration parameters = = help = |
IPv6hostslinux fedora
Global configuration parameters
How can I enable/disable IPv6 globally?
In /etc/sysconfig/network :
NETWORKING_IPV6=yes|no
Enable or disable global IPv6 initialization. Default: no
How can I enable forwarding between IPv6 enabled interfaces?
In /etc/sysconfig/network :
IPV6FORWARDING=yes|no
Enable or disable global forwarding of incoming IPv6 packes on all interfaces. Default: no Note: Actual packet forwarding cannot be controlled per-device, use netfilter6 for such cases
How can enable/disable IPv6 configuration for all the interfaces?
In /etc/sysconfig/network :
IPV6INIT=yes|no
Enable or disable IPv6 configuration for all interfaces. Default: value not set in this file Use with caution!
How can I enable/disable autoconfiguration on all the interfaces?
In /etc/sysconfig/network :
IPV6_AUTOCONF=yes|no
Sets the default for device-based autoconfiguration. Default: yes if IPV6FORWARDING=no, no if IPV6FORWARDING=yes
How can I enable/diable router behaviour (not to accept router advertisment etc.) on a device ?
In /etc/sysconfig/network :
IPV6_ROUTER=yes|no
Sets the default for device-based Host/Router behaviour. Default: yes if IPV6FORWARDING=yes, no if IPV6FORWARDING=no
How can enable automatic tunneling ?
In /etc/sysconfig/network :
IPV6_AUTOTUNNEL=yes|no
Controls automatic IPv6 tunneling. Default: no. It is advised to not enable this feature since it is deprecated.
How can I setup default gateway ?
It can be useful if you don't or can't use autoconfiguration and Router advertisments. In /etc/sysconfig/network :
IPV6_DEFAULTGW=<IPv6 address[%interface]> (optional)
Add a default route through specified gateway. An interface can be specified: required for link-local addresses.
Examples: IPV6_DEFAULTGW="2001:db8:1234:5678::1" Add default route through 3ffe:ffff:1234:5678::1 IPV6_DEFAULTGW="2001:db8:1234:5678::1%eth0" Add default route through 3ffe:ffff:1234:5678::1 and device eth0 IPV6_DEFAULTGW="fe80::1%eth0" Add default route through fe80::1 and device eth0
Note: if IPV6_DEFAULTGW is specified with %interface scope and it doesn't match IPV6_DEFAULTDEV, IPV6_DEFAULTDEV is ignored.
Note: it's preferred to use %interface for all addresses, not just link-local if you have multiple IPv6-enabled interfaces.
How can I configure default gateways without specifying the address of the default geteway?
In /etc/sysconfig/network :
IPV6_DEFAULTDEV=<interface> (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="sit1"
Examples for 6to4 IPV6_DEFAULTDEV="tun6to4" Add default route through dedicated 6to4 tunnel device "tun6to4", if configured
Note: "tun6to4" does not support an additional IPV6_DEFAULTGW. Other interfaces prefer IPV6_DEFAULTGW, if specified.
How can I specify the pidfile for router advertisment daemon?
In /etc/sysconfig/network :
IPV6_RADVD_PIDFILE=<pid-file> (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"
How can ask radvd to adapt ppp or 6to4 configuration changes?
This can be important if the ppp session restarts or 6to4 reconfiguration takes place since the subnet behind the linux should use the new IPv6 prefix to generate new router advetisments.
In /etc/sysconfig/network :
IPV6_RADVD_TRIGGER_ACTION=startstop|reload|restart|SIGHUP (optional)
How to trigger radvd in case of 6to4 or PPP action. Default: SIGHUP
- startstop
- radvd starts if interface goes up and stops if interface goes down using initscript call of radvd with related parameter
- reload|restart
- initscript of radvd is called with this parameter
- SIGHUP
- signal HUP is sent to radvd, pidfile must be specified, if not the default
Interace specific configuration parameters
help
# Uses following information from "/etc/sysconfig/network": # NETWORKING_IPV6=yes|no: controls IPv6 initialization (global setting) # IPV6_DEFAULTDEV=<device>: controls default route (optional) # IPV6_DEFAULTGW=<address>: controls default route (optional) # # Uses following information from "/etc/sysconfig/network-scripts/ifcfg-$1": # IPV6INIT=yes|no: controls IPv6 configuration for this interface # IPV6ADDR=<IPv6 address>[/<prefix length>]: specify primary static IPv6 addres s # IPV6ADDR_SECONDARIES="<IPv6 address>[/<prefix length>] ..." (optional) # IPV6_ROUTER=yes|no: controls IPv6 autoconfiguration (no: multi-homed interfac e without routing) # IPV6_AUTOCONF=yes|no: controls IPv6 autoconfiguration # defaults: # IPV6FORWARDING=yes: IPV6_AUTOCONF=no, IPV6_ROUTER=yes # IPV6FORWARDING=no: IPV6_AUTOCONF=yes # IPV6_MTU=<MTU for IPv6>: controls IPv6 MTU for this link (optional) # # Optional for 6to4 tunneling (hardwired name of tunnel device is "tun6to4"): # IPV6TO4INIT=yes|no: controls 6to4 tunneling setup # IPV6TO4_RELAY=<IPv4 address>: IPv4 address of the remote 6to4 relay (default: 192.88.99.1) # IPV6TO4_MTU=<MTU for IPv6>: controls IPv6 MTU for the 6to4 link (optional, default is MTU of interface - 20) # IPV6TO4_IPV4ADDR=<IPv4 address>: overwrite local IPv4 address (optional) # IPV6TO4_ROUTING="<device>-<suffix>/<prefix length> ...": information to setup local subnetting # Example: IPV6TO4_ROUTING="eth0-:f101::0/64 eth1-:f102::0/64" # # Optional for 6to4 tunneling to trigger radvd: # IPV6_CONTROL_RADVD=yes|no: controls radvd triggering (optional) # IPV6_RADVD_PIDFILE=<file>: PID file of radvd for sending signals, default is "/var/run/radvd/radvd.pid" (optional) # IPV6_RADVD_TRIGGER_ACTION=startstop|reload|restart|SIGHUP: how to trigger radvd (optional, default is SIGHUP)