Hi, I am trying to set up a Ubuntu 12.04 as 6RD border router but I can't get it work ok. 
Google don't give so many hints so I have used http://en.usenet.digipedia.org/thread/18960/18958/ as source.


My setup:

<script>
#My 6rd domain, iproute ( 20111117-1ubuntu2 ) package in Ubuntu 12.04 can only use /32…..
PREFIX="2001:db8"
# My 6RD BR IP
BRIP=1.1.99.1

#Create "loopback", i have tried to use eth0 as BR-interface but it's same problem.
ip link add type veth  
ip a a dev veth0 $BRIP
ip l set veth0 up

#Create 6rd tunnel interface
ip tunnel add 6rd mode sit local $BRIP dev veth0 ttl 64 
ip addr add ${PREFIX}::1/32 dev 6rd 
ip tunnel 6rd dev 6rd 6rd-prefix ${PREFIX}::/32
ip link set 6rd up 

#Enable IPv6 routing
sysctl -w net.ipv6.conf.all.forwarding=1
</script>

Then I set up option 212 with:
option 6rd code 212 = { integer 8, integer 8,
                       ip6-address, array of ip-address };
option 6rd 0 32 2001:db8:: 1.1.99.1;

The problem is that when I use the tunnel ( ping6 ${PREFIX}::1 for example )  I get "icmp port unreachable" for the traffic ( protocol 41 ) to BRIP/1.1.99.1 
The icmp originates from my BRIP so everything looks ok. except that it don't work. :)

A route to 2001:db8::/32 through dev 6rd is automatically created when I run my script.

Has anyone done this or used other OS like *BSD, other Linux or what should I do???
I have tried to use the newest iproute2 package from source but it don't help either.

/Torbjörn Eklöv
mobil: 070 - 683 51 75
Lync: torbjorn.eklov@interlan.se
Skype: torbjorn.eklov
http://www.interlan.se
http://www.dnssecandipv6.se