IPv6 configuration on Ubuntu (dapper) systems

How can I enable/disable IPv6 globally?

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.

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/ip6tables.