Size: 604
Comment:
|
Size: 1257
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
Ubuntu dapper default supports IPv6, so you have to do nothing. If you want do disable IPv6 globally, please read [:IPv6hostslinux disableIPv6:our section] on how to do it. | Ubuntu dapper default supports IPv6, so you have to do nothing to enable IPv6. If you want do disable IPv6 globally, please read [:IPv6hostslinux disableIPv6:our section] on how to do it. |
Line 9: | Line 9: |
sys/net/ipv6/conf/all/forwarding=1}}} Please note, you cannot enable/disable IPv6 forwarding per interface as in the IPv4 case. If you want to disable IPv6 forwarding for some interfaces, use netfilter/ip6tables. |
net/ipv6/conf/all/forwarding=1}}} and run {{{ # sysctl -p /etc/sysctl.conf}}} Please note, you cannot enable/disable IPv6 forwarding per interface as in the IPv4 case. If you want to disable IPv6 forwarding for some interfaces, use netfilter/p6tables. == How can I enable/disable autoconfiguration on all interfaces? == Autoconfiguration is enabled by default. If you want to disable it for all interfaces, add the line {{{ net/ipv6/conf/all/autoconf=0}}} to {{{/etc/sysctl.conf}}} and reload the file by {{{sysctl}}}. == How can I enable/disable router behaviour (i.e not to accept router advertisements) on all devices? == The kernel default accepts router advertisements. You can disable it on all interfaces by adding the line {{{ net/ipv6/conf/all/accept_ra=0}}} to {{{/etc/sysctl.conf}}} and reloading it by {{{sysctl}}}. |
IPv6 configuration on Ubuntu (dapper) systems
How can I enable/disable IPv6 globally?
Ubuntu dapper default supports IPv6, so you have to do nothing to enable IPv6. If you want do disable IPv6 globally, please read [:IPv6hostslinux disableIPv6:our section] on how to do it.
How can I enable forwarding between IPv6 enabled interfaces?
In /etc/sysctl.conf add the line
net/ipv6/conf/all/forwarding=1
and run
# sysctl -p /etc/sysctl.conf
Please note, you cannot enable/disable IPv6 forwarding per interface as in the IPv4 case. If you want to disable IPv6 forwarding for some interfaces, use netfilter/p6tables.
How can I enable/disable autoconfiguration on all interfaces?
Autoconfiguration is enabled by default. If you want to disable it for all interfaces, add the line
net/ipv6/conf/all/autoconf=0
to /etc/sysctl.conf and reload the file by sysctl.
How can I enable/disable router behaviour (i.e not to accept router advertisements) on all devices?
The kernel default accepts router advertisements. You can disable it on all interfaces by adding the line
net/ipv6/conf/all/accept_ra=0
to /etc/sysctl.conf and reloading it by sysctl.