i have ubuntu as well.
root@1:/etc# cat /etc/radvd.conf
interface br0 {
AdvSendAdvert on;
AdvManagedFlag on;
MinRtrAdvInterval 5;
MaxRtrAdvInterval 10;
prefix 2001:470:xxxx:56::/64 {
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr on;
};
};
root@1:/etc/network# cat interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
auto eth1 eth3
iface eth0 inet dhcp
auto br0
iface br0 inet static
bridge_ports eth1 eth3
address 192.168.1.1
netmask 255.255.0.0
broadcast 192.168.255.255
gateway 192.168.1.1
bridge_fd 1
bridge_stp off
iface br0 inet6 static
address 2001:470:xxxx:56::1
netmask 64
auto br0:0
iface br0:0 inet static
address 192.168.0.1
netmask 255.255.0.0
broadcast 192.168.255.255
gateway 192.168.0.1
iface br0:0 inet6 static
address 2001:470:xxxx:57::1
netmask 64
auto he-ipv6
iface he-ipv6 inet6 v4tunnel
endpoint 72.52.104.74
local 60.xxx.xxx.xxx
ttl 255
address 2001:470:xxxx:yyy::2
netmask 64
mtu 1472
ip -6 route add 2000::/3 dev he-ipv6 metric 1
Don't forget to firewall.
ip6tables -t filter -P FORWARD DROP
ip6tables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
ip6tables -A FORWARD -s 2001:470:xxxx::/48 -j ACCEPT
ip6tables -A FORWARD -p ipv6-icmp -j ACCEPT
60.xxx.xxx.xxx = Client IPv4 address
2001:470:xxxx:yyy::2 = Client IPv6 address
2001:470:xxxx::/48 = Routed /48 (this isn't necessary if you want to use Routed /64)
2001:470:xxxx:56::1 = /64