Differences between revisions 4 and 7 (spanning 3 versions)
Revision 4 as of 2006-12-05 12:45:06
Size: 604
Editor: kadlecsik
Comment:
Revision 7 as of 2006-12-05 12:57:22
Size: 1257
Editor: kadlecsik
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.

Campus6: IPv6hostslinux_ubuntu (last edited 2008-04-10 15:29:34 by localhost)