Re: Automatic 6to4 for network-manager
- From: Benoit Boissinot <bboissin+networkmanager gmail com>
- To: Dan Williams <dcbw redhat com>
- Cc: networkmanager-list gnome org
- Subject: Re: Automatic 6to4 for network-manager
- Date: Wed, 18 Nov 2009 01:10:08 +0100
On Tue, Nov 17, 2009 at 10:02 PM, Dan Williams <dcbw redhat com> wrote:
> On Mon, 2009-11-16 at 11:42 +0200, Graham Beneke wrote:
>> Does anyone have any thoughts or comments on building IPv6 transition
>> functionality into NM ?
>
> So the first steps are to figure out what settings are actually needed
> for 6to4. That basically means figuring out the configuration and
> values that existing tools require. Fedora has some scripts that do
> this that might be a guide, and I'm sure other distros automate this
> too.
>
The script I use does the following (I think I found it in openwrt wiki):
IP=1.2.3.4
# anycast:
RELAY6TO4=192.88.99.1
V6PREFIX=$(printf '2002:%02x%02x:%02x%02x' $(echo $IP | tr . ' '))
ip tunnel add tun6to4 mode sit ttl 255 remote any local $IP
ip link set tun6to4 mtu 1280
ip link set tun6to4 up
ip -6 route add 2000::/3 via ::$RELAY6TO4 dev tun6to4
ip addr add $V6PREFIX::1/16 dev tun6to4
So quite simple.
regards,
Benoit
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]