Package: ifupdown
Version: 0.6.7
Severity: wishlist
Tags: patch, ipv6

Hi aj!

Attached are the scripts setup-6to4 and clean-6to4 which are (prototype)
implementations of 6to4 support for ifupdown to put into if-{up,down}.d
respectivly. In the spirit of ipv6' autoconfiguration, I tried to keep
the needed configuration minimally.

Here is the documentation for the new configuration options the
implement:

use6to4 _yes|no_
        If set to yes, use the outgoing source ip of this interface as
        local endpoint fo a 6to4 tunnel. The address' basic format is
        2002:<<ipv4>>::/16

6to4subnet _ipv6 address fragment_
        This can be used to configure a subnet of the local 6to4 address
        space on another interface; e.g. on a router. The fragment is
        the local subnet, four hexadecimal digits, which is inserted
        into the 6to4 addresses: 2002:<<ipv4>>:<<subnet>>::/64

6to4base_iface _interface name_
        When configuring a 6to4 subnet, the 6to4 prefix is determined by
        looking at this interfaces. Keep the base_iface in front of this
        iface in "auto" directives to ensure proper configuration
        sequencing.


Using the 6to4base_iface, one can keep the ipv4 address dynamic. In the
case of only one 6to4 tunnel, the base_iface could be inferred.

There is a obvious dependency between the main 6to4 interface and all
interfaces with an attached subnet.

The scripts use iproute to access networking information.

See
http://www.tldp.org/HOWTO/Linux+IPv6-HOWTO/configuring-ipv6to4-tunnels.html
for a simple 6to4 HOWTO.


Regards, David

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-rc5-vserver-686
Locale: LANG=C, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)

Versions of packages ifupdown depends on:
ii  debconf [debconf-2.0]         1.4.72     Debian configuration management sy
ii  libc6                         2.3.6-3    GNU C Library: Shared libraries an
ii  net-tools                     1.60-17    The NET-3 networking toolkit

ifupdown recommends no packages.

-- debconf information excluded

Attachment: clean-6to4
Description: application/shellscript

Attachment: setup-6to4
Description: application/shellscript

Reply via email to