Package: ifupdown
Version:  0.6.8+nmu1
Tags: IPv6

Hello,

I recently tested a new IPv6 native upstream via pppoe. With
this, I noticed several shortcomings of the current ifupdown
package in this regard.

- As this is my second ppp upstream, I needed to use the
  unit pppd option inorder to maintain a relation between the
  interface name in /etc/network/interface and the one that was
  brought up  for real. Somehow this is not statisfying, esp.
  when there could be other ppp sessions without a unit keyword,
  e.g. when the machine in question also acts as ppp server

- There is no ppp method for inet6. It is only available for
  inet. Nevertheless, one ppp link can carry traffic for
  different network families, e.g. IPv4, IPV6, IPX,..., and all
  these are configured via the same pppd and its option line

- IPv6 over pppd negotiates only link-local addresses. Normally
  you would like global IPv6 addresses. These have to be set
  manually via an up command, same for routing. Maybe an inet6
  ppp method could support address, gateway or route options
  additionally.

- As my <cencored> DSL-provider limits me to only one pppoe
  session per mac address, I created a virtual ethernet card with
  the help of the macvlan device driver. There is no support for
  this in the ifupdown package, altough very easy to workaround
  to one pre-up and post-down command

For reference, my current /etc/network/interfaces stanza for this
setup looks:

# ipv6 upstream
# ppp over eth0, so eth0 must be there first
# we need another mac address, so make it with a macvlan
# auto ppp1 # when it consider it stable
iface ppp1 inet ppp 
        pre-up ifconfig eth0 up
        pre-up ip link add link eth0 macvlan0 type macvlan
        pre-up ifconfig macvlan0 up
        up ifconfig ppp1 add 2001:<prefix>::1/64
        up route -A inet6 add ::/0 ppp1
        provider ipv6-native-dsl-provider
        post-down ifconfig macvlan0 down
        post-down ip link del link eth0 macvlan0 type macvlan

Bye,

Joerg

Attachment: signature.asc
Description: Digital signature

Reply via email to