IPv6 6rd BR setup on Linux

Masakazu Asama masakazu.asama at gmail.com
Wed Apr 17 08:11:15 UTC 2013


Sasa

Distribution that supports 6rd feature is limited.
I was confirmed that it works on debian wheezy.
(squeeze's kernel does not support 6rd.)

(1) edit /etc/sysctl.conf and set net.ipv6.conf.all.forwarding=1
(2) edit /etc/network/interfaces like following
===
auto eth0
iface eth0 inet static
    address 172.16.1.1
    netmask 255.255.255.0
    gateway 172.16.1.123
iface eth0 inet6 static
    address 2001:xxxx:xxxx:xxxx::1
    netmask 64
    gateway 2001:xxxx:xxxx:xxxx::1234

auto tun6rd
iface tun6rd inet6 v4tunnel
    address 2001:db8:ac10:101::
    netmask 32
    local 172.16.1.1
    endpoint any
    ttl 64
    up ip tunnel 6rd dev tun6rd 6rd-prefix 2001:db8::/32
    up ip link set mtu 1280 dev tun6rd
===
(3) reboot

This example assumes that 6rd-prefix = 2001:db8::/32 and BR has
172.16.1.1(0xac100101).

Regards.



2013/4/16 Shishio Tsuchiya <shtsuchi at cisco.com>

> Sasa
> Ohkubo-san tested Linux as BR,too.
> You need to change default route to IPv6 internet and enable IPv6
> fowarding.
> /etc/sysctl.conf
> net.ipv6.conf.all.forwarding=1
>
> Regards,
> -Shishio
>
>
> (2013/04/16 16:33), Sasa Ristic wrote:
> > OK, I found this information too, but, if I'm not mistaken, this is all
> regarding 6rd "client" setup on *nix, while the BR is on Cisco ASR1K.
> > I'm trying to setup BR on (any kind) Linux, but either there is no
> possibility or information on this topic, or I'm unable to find it.
> >
> >
> > On Tue, Apr 16, 2013 at 3:44 AM, Shishio Tsuchiya <shtsuchi at cisco.com<mailto:
> shtsuchi at cisco.com>> wrote:
> >
> >     Sasa
> >     Sakura internet,datacentor provider of JAPAN,is providing 6rd
> BR(ASR1K),IPv6 internet and 6rd configuration information for their
> customer.
> >     We published the information as informational draft.
> >     Debian 6.0's linux kernel is 2.6.32.So <http://2.6.32.So> you might
> need upgrade kernel.
> >     Basically information is 6rd CE configuration for host,but I think
> this would be useful for you.
> >
> http://tools.ietf.org/html/draft-sakura-6rd-datacenter-04#appendix-A.1.2.3
> >     http://research.sakura.ad.jp/6rd-trial/6rd-trial-debian60/
> >     (Japanese)
> >
> >     Regards,
> >     -Shishio
> >
> >     (2013/04/16 7:57), Sasa Ristic wrote:
> >      > hello all,
> >      >
> >      > can someone please share any info regarding a ipv6 6rd BR setup
> on linux
> >      > (debian specific preferably)... goo.gl <http://goo.gl> search
> didn't turn up much...
> >      >
> >      > thanks!
> >      >
> >      >
> >      >
> >
> >
> >
> >
> >
> >
> > --
> > ricky
>
>
>
>



More information about the NANOG mailing list