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]

Filter by
Sorted by
Tagged with
0 votes
0 answers
38 views

internet forwarding to a remote computer (ubuntu 20.04 -> ubuntu 20.04) via static routes (netplan)

I have the following Problem: I have a (ubuntu) computer with 2 network cards. One card is connected to the internet (dhcp), the other NIC is connected to a remote raspberry-pi. My goal is to provide ...
user avatar
0 votes
0 answers
57 views

Netplan's wifi configuration being ignored

I have an Ubuntu pc accessible via ssh which has 2 wireless interfaces that I intend to connect to different SSIDs. This has been working for some time, but recently something changed and one of the ...
user avatar
0 votes
0 answers
586 views

Ubuntu 20.04 netplan static configuration gets reset after a while

Expected behavior: My netplan configuration is always used and the static IP addresses I configured stay like configured. Actual behavior: Somehow the machine "forgets" the configuration and ...
user avatar
0 votes
1 answer
958 views

Ubuntu Server 20.04.2 LTS Network slow/not working

My network issues first started when I got a DNS error, so I started trying to change my DNS server to Cloudflare/Google DNS. I started reading how to do this and I found that latest Ubuntu releases ...
user avatar
0 votes
0 answers
59 views

DNS/network issue after upgrading from Ubuntu 16.04 LTS to 18.04.6 LTS

I've upgraded my headless Ubuntu 16.04 LTS with ESM (Extended Security Maintenance) server to 18.04 LTS. Everything went great except the DNS settings are wrong, and I can't figure out how to use ...
user avatar
1 vote
0 answers
99 views

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 ...
user avatar
  • 111
1 vote
1 answer
482 views

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: <stuff> routes: - to: 10.0.0.0/24 via: 192.168.3.1 But ...
user avatar
  • 11
0 votes
0 answers
379 views

Netplan connects, but no internet

I am running into a strange issue on my Raspberry Pi running a fresh install of Ubuntu Server 20.04 LTS when connecting to my home wifi with netplan. After running netplan apply, I receive no error ...
user avatar
0 votes
0 answers
5k views

Netplan Configuration

When I apply the configuration below, everything works fine (IE.: I am able to reach my server over eth0 and wlan0). But, after applying the netplan configuration, I received the following output: ***...
user avatar
  • 703
0 votes
0 answers
54 views

Managed switch: make port communicate on two VLANs

I'm trying my best to have the following scenario. VLAN1: All of my WiFi and non-IoT devices VLAN2: All of the IoT devices including Raspberry Pi manager running Linux. I want to make it possible to ...
user avatar
0 votes
0 answers
2k views

Ubuntu 20.04 upgrades - DNS name resolution fails on internal network

My company distributes software to clients on Ubuntu VMs. Recently we've been updating all client VMs from Ubuntu 16/18 to Ubuntu 20.04. We've been having an issue where DNS name resolution isn't ...
user avatar
1 vote
0 answers
229 views

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 ...
user avatar
  • 11
0 votes
0 answers
249 views

netplan - Network with DHCP configured, but no internet

I am trying to configure my Ubuntu Server 20.04 LTS to use DHCP in its network configuration. Many tutorials on the internet recommend that I create the following file with the following settings... ...
user avatar
0 votes
1 answer
5k views

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 ...
user avatar
0 votes
1 answer
304 views

Automatic creation of the second WiFi interface with netplan (Ubuntu 20.04)

I want to create wifi access point on my machine together with ordinary wifi interface. My card support this operation. I can do this manually with the following commands (note that wlan0 already ...
user avatar
1 vote
1 answer
818 views

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: ...
user avatar
1 vote
1 answer
800 views

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: ...
user avatar
0 votes
1 answer
274 views

Why does networkd forget the bridge configuration then complains about invalid gateway?

I use 2 of the 4 ethernet sockets as a bridge, which I configure with netplan: network: version: 2 renderer: networkd ethernets: eno1: dhcp4: no eno2: dhcp4: no eno3: ...
user avatar
1 vote
1 answer
516 views

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 ...
user avatar
0 votes
0 answers
2k views

Ubuntu 18.04 netplan bridge. Keep one of physical interfaces down on boot

I have got an server with Ubuntu 18.04 (upgraded from 16.04 recently), which runs two qemu-kvm VMs. The server has two network interfaces, only the first is connected. The second is not used / wired ...
user avatar
0 votes
1 answer
109 views

How can I manually assign a static IP in Ubuntu 18.04?

I have a VPS server running Ubuntu 18.04 which has a /64 subnet of IPv6 addresses. For the purpose of this post, let's call it 2601:aaaa:aaaa:aaaa::/64. The VPS website says I can use any address ...
user avatar
0 votes
1 answer
880 views

How to enable screen sharing when using networkd in netplan?

On Ubuntu 18.04, I am configuring a bond of 2 interfaces and using 2 interfaces of another NIC. Here is my netplan entry: network: version: 2 renderer: networkd ethernets: eno1: dhcp4: ...
user avatar
  • 1
2 votes
0 answers
117 views

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 ...
user avatar
  • 363
6 votes
0 answers
10k views

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 ...
user avatar
  • 161
0 votes
0 answers
490 views

How to determine root of network unreachable error thrown by Docker

I'm trying to configure docker to run on an old SuperServer of mine, and can't get the networking bits setup correctly. Network config and Docker errors are below, ideas and suggestions are welcome. ...
user avatar
0 votes
1 answer
123 views

How to rename "lo" interface in Ubuntu Server 18.04?

How to rename "lo" interface in Ubuntu Server 18.04 ? I have tried using udev rules without success, here is my code: SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:00:00:00:00:...
user avatar
2 votes
0 answers
692 views

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....
user avatar
  • 21
1 vote
0 answers
378 views

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 ...
user avatar
2 votes
1 answer
4k views

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 ...
user avatar
  • 23
0 votes
1 answer
3k views

How to configure netplan in Ubuntu 18.04 for DHCP and Static Routes

I have a server running Ubuntu 18.04 with 2 NICs. Each NIC is attached to a different network. My current configuration looks like: cat /etc/netplan/01-netcfg.yaml network: version: 2 renderer: ...
user avatar
0 votes
1 answer
2k views

Configure a bridge connection as a hub with netplan

My current problem hits the limits of my basic networking skills. In short : I "tapped" a server with multiple network interfaces on a network cable linking my router and my media center. I try to ...
user avatar
4 votes
1 answer
3k views

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, ...
user avatar
  • 939