#983541 RFE: Please support pointopoint in the INET6 address family

Package:
ifupdown
Source:
ifupdown
Description:
high level tools to configure network interfaces
Submitter:
gustavo panizzo
Date:
2021-11-18 08:09:03 UTC
Severity:
wishlist
Tags:
#983541#5
Date:
2021-02-25 20:58:45 UTC
From:
To:
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!

#983541#10
Date:
2021-10-27 09:56:47 UTC
From:
To:
Hi,

Don't hesitate to propose a patch :-)

Cheers,

#983541#13
Date:
2021-10-27 09:56:47 UTC
From:
To:
Hi,

Don't hesitate to propose a patch :-)

Cheers,

#983541#18
Date:
2021-11-18 07:52:09 UTC
From:
To:
Hello

I wrote a patch back then [1] but I forgot to send it. While it works
fine I'm not sure I'll continue using this setup (that's why it took me
so long to reply) , do you want me to update the patch and submit anyway?


[1] https://salsa.debian.org/gfa/ifupdown/-/commit/2b646b180efaa1fc1f05161514c63a2f7c4066ad


cheers