Questions tagged [netplan]

For questions specifically about Netplan, the YAML network configuration abstraction created by Canonical. If this question is not about Netplan, try a more general tag like [networking]

Netplan logo

Netplan is a utility that converts abstracts network configurations given in YAML format into an actual Linux network setup.

The YAML document describes network interfaces and how they should be set up, and Netplan uses this document to generate the configuration for the desired renderer, which may be NetworkManager () or systemd-networkd.


External Links

Official website and more information: https://netplan.io/

Source code: https://github.com/CanonicalLtd/netplan

36 questions
7
votes
0 answers

netplan configuration not active -- ubuntu 18.04

trying to set up a fixed IP address on one of two NIC. I try using netplan. Not working at all. Not an expert on this, I am out of my wits and ready to roll back to some other way (networkd). Maybe someone has a useful advice in any direction. Any…
onouv
  • 171
  • 1
  • 1
  • 2
4
votes
1 answer

Lost network connectivity on Hetzner with Netplan bridge

I installed the Ubuntu 18.04 and wanted to have a bridge interface instead of using the main interface directly for KVM virtualization: Here is the Netplan default configuration after installation, which worked well: ---- # This file describes the…
3
votes
0 answers

How to bridge a VLAN and a physical interface with netplan?

I have two workstations running Ubuntu 22.04 Server using netplan for network device management. The first workstation has 5 NICs. The only two that I think matter for this are enp0s25 and `ens1. Here is my netplan config from that…
Eric Urban
  • 194
  • 11
2
votes
1 answer

Add a device static route with netplan

I would like to add a static ip route to a device in my netplan configuration. A normal route looks like this: eth0: routes: - to: 10.0.0.0/24 via: 192.168.3.1 But instead of route to a via address, I would like to add…
kcid42
  • 21
  • 3
2
votes
1 answer

Error: WARNING: systemd-networkd is not running, output will be incomplete

I am using systemd-networkd to render network interfaces, in the initial network configuration i had a network connection, but as soon as i boot into the bridged network via the netplan config it causes some errors for me. At first, i had the…
Fithe_Xanki
  • 21
  • 1
  • 1
  • 5
2
votes
0 answers

How to configure AP priority in netplan?

I would like to configure more than one AP in netplan, like this: wifis: wlan0: access-points: network1: password: "abc" priority: 0 network2: password: "def" …
tollo
  • 403
  • 2
  • 8
2
votes
0 answers

Bridge config in netplan does not come up at boot

I had an ubuntu 18.04 working and decided to move it to a VM in Proxmmox. Configuration includes a bridge, it was working fine in the previous system but it does not come up at boot in the Proxmox VM. Here is my netplan config: network: …
drg
  • 21
  • 1
2
votes
1 answer

Ubuntu 18.04 netplan with bridge

I am running Ubuntu 18.04 and my netplan configuration has suddenly stopped working. When I run sudo netplan apply the following messages appear and I lose connection Traceback (most recent call last): File "/usr/sbin/netplan", line 23, in…
emergon
  • 23
  • 1
  • 4
1
vote
1 answer

Configure two NICs with different IPs in Netplan - Ubuntu 22.04

Configure Two NICs for Different Networks on the Same Machine Question How do I correctly configure two NICs on separate networks? The goal is is to have all traffic returned from the interface it was received on. If anyone can provide an example of…
Ax0n
  • 119
  • 1
  • 4
1
vote
0 answers

Netplan ignores try and apply arguments

When I enter command like: netplan try or netplan apply netplan outputs nothing. If I try again to start those commands netplan outputs error: bind: address already in use netplan: fatal error: cannot bind to port 2983, is another daemon running?,…
iEPCBM
  • 111
  • 2
1
vote
0 answers

Ubuntu 20.04 LTS, netplan: Setup LACP for two InfiniBand interfaces?

I've been asked to setup a bonded InfiniBand interface (LACP) on a Ubuntu server running 20.04 LTS and currently configured with netplan. I've searched the topic, but no real good answer on how to set it up using netplan. Is it even supported? I'm…
MagNJ
  • 11
  • 1
1
vote
1 answer

Netplan/DHCP Config: Forwarding requests from one bridge port to another

im trying to configure a bridge network on Ubuntu 20.04. There are 4 ethernet ports in the brige. This is how the corresponding netplan config looks like: network: version: 2 ethernets: enp15s0: dhcp4: no dhcp6: no enp12s0: …
MechaTheo
  • 25
  • 5
1
vote
1 answer

Applying Netplan Access Point settings?

I am upgrading a previous configuration of an AIO server/access point to Ubuntu 20.04. I wrote a Netplan configuration for our interfaces, as follows - network: version: 2 renderer: NetworkManager ethernets: enp1s0: dhcp4: true …
1
vote
1 answer

OVH VPS (Ubuntu 18.04) can not connect with IPv6

I have a VPS server from OVH running Ubuntu 18.04 LTS and I noticed today that the IPv6 was not working at all, nor was the IPv6 assigned to me listed when I looked in ifconfig. Then I followed the OVH guide here and I followed the section for my…
Computer_User
  • 97
  • 1
  • 9
1
vote
0 answers

Ubuntu 18.04 Netplan routing to VM

I have an Ubuntu 18.04 server with Hetzner on which Virtualbox is running Windows server '12. The host has ip: 144.76.116.79 I've got an additional ip, 144.76.116.125, since I want all traffic incoming and outgoing to 144.76.116.125 directly routed…
Stantastic
  • 11
  • 1
1
2 3