Package: ifupdown
Version: 0.8.36
Severity: wishlist
Tags: ipv6

Hello

currently the manual method for ipv6 does not support pointopoint
configurations

config

```
iface wg3 inet static
  pre-up ip link add $IFACE type wireguard
  pre-up wg setconf $IFACE /etc/wireguard/$IFACE.conf
  post-down ip link del $IFACE
  post-up wg set $IFACE fwmark 51097
  address 172.21.68.1
  netmask 255.255.255.255
  pointopoint 172.21.68.9

iface wg3 inet6 static
  address fe80::1:100/128
  pointopoint fdc5:30f7:af0a:1000::1
```

resulting config

```
# ip -6 a s dev wg3
69: wg3: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 state UNKNOWN qlen 1000
    inet6 fe80::1:100/128 scope link
       valid_lft forever preferred_lft forever

```

while this configuration is supported by ip without problems

(removing ipv6 config for wg3 in /etc/network/interfaces)

```
ip -6 addr add fe80::1:100 peer fdc5:30f7:af0a:1000::1 dev wg3

# ip -6 a s dev wg3
68: wg3: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 state UNKNOWN qlen 1000
    inet6 fe80::1:100 peer fdc5:30f7:af0a:1000::1/128 scope link
       valid_lft forever preferred_lft forever
```

thanks!

Reply via email to