[Bug 1767607] Re: missing point-to-point option in netplan configuration

Lukas Märdian 1767607 at bugs.launchpad.net
Mon Jan 13 12:31:20 UTC 2025


This is an upstream feature request, so I'm closing the packaging task.

** Changed in: netplan.io (Ubuntu)
       Status: Triaged => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/1767607

Title:
  missing point-to-point option in netplan configuration

Status in Netplan:
  Triaged
Status in netplan.io package in Ubuntu:
  Invalid

Bug description:
  Hi,

  missing an option in netplan configuration to use point-to-point
  interfaces.

  
  Example /etc/network/interfaces configuration:

  iface ens3 inet static
    address 10.20.30.40
    netmask 255.255.255.255
    gateway 10.10.10.1
    pointopoint 10.10.10.1

  
  # ip addr show ens3
  2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
      link/ether 52:54:00:e3:a0:c8 brd ff:ff:ff:ff:ff:ff
      inet 10.20.30.40 peer 10.10.10.1/32 scope global ens3
         valid_lft forever preferred_lft forever

  
  Currently I'm trying to workaround with /usr/lib/networkd-dispatcher/routable.d/10-point-to-point, which doesn't seem to work while booting, but with a following `netplan apply`:

  
  #! /bin/bash

  while [ ! $(ip link show ens3 | perl -nE 'say /state\ UP/') ] ; do
    wait 1
  done

  ip addr add 10.20.30.40/32 peer 10.10.10.1 dev ens3
  ip route add default via 10.10.10.1 dev ens3

  
  If implemented, maybe something like the following two ideas?

  network:
    version: 2
    renderer: networkd
    ethernets:
      ens3:
        addresses:
          - 10.20.30.40/32 peer 10.10.10.1
        gateway4: 10.10.10.1

  or:

  network:
    version: 2
    renderer: networkd
    ethernets:
      ens3:
        addresses:
          - peer: 10.10.10.1
            10.20.30.40/32
        gateway4: 10.10.10.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/1767607/+subscriptions




More information about the foundations-bugs mailing list