Questions tagged [netplan]

Netplan is a utility for easily configuring networking on a linux system. You simply create a YAML description of the required network interfaces and what each should be configured to do. From this description Netplan will generate all the necessary configuration for your chosen renderer tool.

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

Error in network definition: expected sequence switchports - What does that mean?

Running Ubuntu 22.04 and QEMU/KVM, I currently experimenting with QEMU/KVM guests OpenWrt and Windows 10, which can see each other over an empty bridge. The Windows 10 guest has three virtual NICs, ...
user avatar
0 votes
2 answers
50 views

Help with netplan and 2 LANs on Server v22.04

I'm running Ubuntu server v22.04 with 2 NICs - one facing the ISP and one facing the local LAN and is intended to be a media server for the local LAN and the interface between the LAN and WAN. The ...
user avatar
0 votes
0 answers
25 views

Cloned Ubuntu VMs in vSphere get same IP, despite resetting /etc/machine && /var/lib/dbus/machine-id

vSphere 7.0 + Ubuntu 18 / 20 (tried both) I am trying the steps from this blog post: https://blah.cloud/kubernetes/creating-an-ubuntu-18-04-lts-cloud-image-for-cloning-on-vmware/ I also tried this ...
user avatar
0 votes
0 answers
39 views

Translating RedHat network settings to Netplan (Ubuntu 22.04)

Update: It seems it was an issue with the load balancer settings. It is now working with the configuration I show below. Question: I need to translate these instructions for RedHat into netplan ...
user avatar
  • 1,306
0 votes
0 answers
87 views

Ubuntu 22.04 netplan with two interfaces. Public IP not accessible on the second interface

I have two interfaces on an Ubuntu 22.04 server hosted in AWS. Both have public IP addresses, however; only ens5 is responding to incoming traffic. When I run a tcpdump on ens5 I can see my ping ...
user avatar
4 votes
2 answers
2k views

Netplan - gateway has been deprecated

I newly installed Ubuntu 22.04 and configured netplan like this: network: version: 2 ethernets: ens18: addresses: - 10.10.0.101/24 - 2009:470:1099:...
user avatar
2 votes
1 answer
244 views

DHCP-provided DNS Server with wrong route in Ubuntu Server 22.04

On fresh install of Ubuntu Server 22.04 (ubuntu-22.04-live-server-amd64.iso) on my network, I can not use the DHCP-Provided DNS Servers which are a on a different subnet : routes to that subnet are ...
user avatar
0 votes
0 answers
50 views

Ubuntu 20.04.4 LTS:After temporarily losing connection at router my Ubuntu server can no longer connect at all

Last night we had a storm that interrupted internet connectivity temporarily. Since then my Ubuntu server has been unable to connect to the internet at all while all other devices have recovered fine. ...
user avatar
0 votes
0 answers
26 views

Ubuntu VLAN IP Interfaces Unreachable Remotely

I've configured 5 VLAN interfaces and all appear to work fine. I've only one gateway4 IP configured for one of the VLANs and this is serving as the default gateway. And that works. I'm able to ping ...
user avatar
0 votes
0 answers
41 views

routing-policy netplan ubuntu 20 loose connection to local devices

Hi I have 6 servers running Ubunto 16.04 and just got a new one with Ubunto 20.04, I have 3 interfaces 1 for internet, 1 for intranet, and the last one for local network only. On the internet ...
user avatar
0 votes
0 answers
35 views

Network Issues: Ubuntu 20.04 VM on Hyper-V with VPN

I faced the systematic network issues on my Hyper-V Vm with Ubuntu 20.04: I've lost connection when I'd turned on Global Protect VPN on my host machine (Win 10). This is my netplan config: version: ...
user avatar
0 votes
2 answers
417 views

Fail to up interface wlan0 in ubuntu server 22.04 Raspberry Pi

Im having issues after installing ubuntu server 22.04 on raspberry pi 4 The interface wlan0 is down. After following the official tutorial from ubuntu (https://ubuntu.com/tutorials/how-to-install-...
user avatar
  • 3
0 votes
0 answers
49 views

netplan config for eap-gtc

I have a number of 20.04 systems that connect to WPA2-Enterprise networks. I use Netplan to connect and typically use eap-peap to for authentication. I just got a request to setup a system at a site ...
user avatar
0 votes
0 answers
55 views

netplan equivalent of nmtui?

Is there an equivalent of nmtui for netplan? I have Googled around and not found an alternative and am trying to avoid having to look it up every time I set up Ubuntu.
user avatar
0 votes
1 answer
113 views

How to configure Ubuntu server netplan sriov vlan tagged vf?

How do I configure vlan tags on specific SR-IOV vf interfaces with netplan? I tried the following to prove that vlan tags work on a regular interface: network: ethernets: enp94s0f2: ...
user avatar
  • 111
0 votes
1 answer
437 views

Netplan DNS nameserver setting not being applied

I'm renting a VPS from Linode with Ubuntu 20.04 LTS (Focal Fossa) installed on it. But the default DNS server from Linode doesn't resolve a domain name which I really need it to resolve. Therefore, I ...
user avatar
0 votes
0 answers
63 views

Add a public IP to a Ubuntu server with netplan

I am running a Ubuntu Server 20.04.4 with VMware and I am trying to set up a static IP on it. After installing Ubuntu, the IP received from DHCP is 192.168.1.61: IP received from DHCP: I made the ...
user avatar
  • 1
0 votes
0 answers
149 views

Ubuntu Server 20.04.4 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
2 answers
152 views

DNS issue migrating from ifupdown to netplan

I am working through configuring an ubuntu 20.04 server and am attempting to switch over from using ifupdown to using netplan. I am not a network guru by any stretch, but I believe my problem has ...
user avatar
0 votes
0 answers
17 views

Ubuntu VM host with no access to LAN

I have an issue where the VM host is not able to access the internet after adding a bridge for LXD/LXC containers. The LXC containers are assigned LAN IPs. There seems to be two options to fix the ...
user avatar
0 votes
1 answer
121 views

bonded nics with netplan on Ubuntu 20.04 does not pass traffic

I've spent all afternoon trying to get some nics bonded on a Ubuntu 20.04 server. The bond seems to come up OK based on ip a and /proc/net/bonding but I can only ping the ip of the bond itself, ...
user avatar
0 votes
0 answers
73 views

Creating gre tunnel with netplan, no scope link ipv6 address

I have created GRE tunnel using netplan and ipv6 is not working properly (I am trying to run ospf3 over GRE tunnel and it is not working without scope link ipv6 address), it appears to be missing ...
user avatar
1 vote
1 answer
54 views

How to set up 2 ethernet in Kbuntu?

I have a problem setting up my network with ubuntu. In my office we have several pc, and a NAS. Most of the PCs (all windows) connects to internet, and to NAS via 1Gbit ethernet, but mine has a direct ...
user avatar
0 votes
0 answers
55 views

Ionos Dedicated Ubuntu Pleask Server Not Reachable, Dropping Network?

SITUATION: I have four Ionos Dedicated Ubuntu Pleask Servers all setup with 1 week. Ubuntu 20.04.4 LTS / Plesk Obsidian 18.0.41 Two of the servers are reliable. Two of the servers become unreachable ...
user avatar
1 vote
1 answer
29 views

Configuring Extra Public /24 Subnet with different gateway

I have a server where an internal adapter is configured as followed: network: version: 2 renderer: networkd ethernets: enp3s4f0: dhcp4: no addresses: [ 199.168.96.58/29 ] ...
user avatar
  • 11
0 votes
0 answers
58 views

NetPlan configured VLAN in Ubuntu 18.04 cannot ping

I have an Ubuntu 18.04 server in AWS EC2, running Docker. I want to have separate network cards for each Docker container, as the app inside them needs to use the same port (5003). I added some ...
user avatar
  • 1
0 votes
0 answers
95 views

Wrong nameservers show with `systemd-resolve --status`

I have some rogue nameservers that I can't seem to get rid of on my ubuntu 20.04 server. I run 2 pihole instances, which have been configured to work with ipv4 and ipv6 Cloudflare DOH. When running ...
user avatar
  • 31
0 votes
0 answers
55 views

Can you set up multiple wifis in netplan?

I've got several routers around, and some of them I could connect to, but I don't know whether netplan allows any config for such a case. Basically I've tried creating separate yaml files for each of ...
user avatar
0 votes
1 answer
50 views

20.04 Boot Problems: Login loop, slow boot, NETPLAN DNS settings not applied after boot, need help

I am running an up-to-date Ubuntu system on a physical PC: Linux 5.13.0-35-generic x86_64 NAME="Ubuntu" VERSION="20.04.4 LTS (Focal Fossa)" and I am experiencing the following ...
user avatar
0 votes
1 answer
90 views

18.04.6 LTS DNS problems after upgrading from 16.04

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. "netplan" is completely new ...
user avatar
0 votes
1 answer
191 views

netplan error when setting static IP

My config is as so, but when I try to sudo netplan try or sudo netplan generate it errors. # This is the network config written by 'subiquity' network: ethernets: eno1: addresses: [10.18.100.12/...
user avatar
0 votes
0 answers
114 views

Forward Wireguard traffic to ETH1

Forward Wireguard traffic to ETH1 I setup a wireguard server with AWS, setup the wireguard client with a raspberry PI. Now I need to redirect the WG traffic (wg0) to eth1 -- my goal is to get a IP ...
user avatar
  • 165
0 votes
1 answer
89 views

DHCP and Static IP on different subnet on one interface - Netplan - What are the limitations

Maybe I have some fundamental misunderstanding about subnets, but someone at my company is telling me what I want to achieve is not possible or at least not reliable. Currently, we have multiple ...
user avatar
1 vote
1 answer
105 views

Ubuntu DNS doesn't failover to the secondary when primary can't resolve?

I'm running an Ubuntu 18.04 in our company. I tried to implement dual DNS server in our LAN. DNS1: 192.168.1.1 (BIND9), DNS2: 192.168.1.2 (dnsmasq) Here is the config file in the client: ### cat ...
user avatar
  • 137
1 vote
1 answer
303 views

Netplan configuration - renaming network interfaces

I'm no fan of netplan, a simple renaming operation that's taking hours can't be seen as progress... I have a physical box, with physical NIC's that I need to bridge. On the test machine it's two ...
user avatar
  • 11
0 votes
1 answer
344 views

dnsmasq and NetworkManager DNS

I have a small network of computers that can be moved between sites. These computers are connected to a switch, and one of them acts as DHCP server and DNS server via dnsmasq for this network, let's ...
user avatar
  • 126
0 votes
1 answer
77 views

SSH and connection error

I installed ubuntu server, I connect my computer to wifi and it works to download packages and other installations, however when I want to connect via SSH from another pc it doesn't work if I don't ...
user avatar
0 votes
1 answer
59 views

Netplan: Trunk vlans with individual gateways

Ubuntu 21.10 (Linux 5.13.0-1016-raspi aarch64) On my router, I have 3 vlans, each with their own subnets. I have set up a trunk link carrying all 3 vlans over 1 ethernet cable to my Ubuntu box. I ...
user avatar
2 votes
1 answer
102 views

How to configure Ubuntu to use separate wired and wireless interfaces?

System Info: $ uname -a Linux larrycotton-Latitude-E7440 5.13.0-27-generic #29~20.04.1-Ubuntu SMP Fri Jan 14 00:32:30 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux $ cat /etc/*-rel* DISTRIB_ID=Ubuntu ...
user avatar
  • 41
0 votes
0 answers
104 views

Netplan with Two Gateway Subnets on Same Port

Trying to configure an Ubuntu 18.04 machine with two IP addresses on different subnets on one ethernet port, each with a gateway so port forwarding works from different routers. This was based on the ...
user avatar
0 votes
1 answer
73 views

ad block of 100 IPs at once to Ubuntu 20.04.3

I need to add 100+ IPs to a single interface, which is trivial to accomplish on other versions of Linux in one single line. How do I accomplish the same with Netplan or, if not even possible, with ...
user avatar
0 votes
1 answer
214 views

Help with adding secondary IPs to Netplan on Ubuntu 20.04 AWS EC2 instance

I have a Ubuntu 20.04 ec2 instance. I need to add three more persistent private IP addresses in addition to the primary. I'm familiar with the old way of doing this, but I have no experience with ...
user avatar
  • 1
2 votes
2 answers
906 views

Can I use both systemd-networkd and NetworkManager, or is there an GUI/ncurses alternative to Network Manager?

I am getting used to netplan.io on my laptop after routinely uninstalling it for several years in favor of ifupdown. This is probably far-fetched, but since it's running a desktop front-end (plasma), ...
user avatar
  • 1,047
0 votes
0 answers
134 views

problems with Hyper-v ethernet external connection

I am using Hyper-v with ubuntu20.04. I want to set static IP. I created external virtual switch. I try few things to set address. Through ifconfig (ifconfig eth0 192.168.0.70/24), through netplan. ...
user avatar
0 votes
1 answer
849 views

Cannot setup static IP with Raspberry Pi on Ubuntu 20.04 Desktop

I Ubuntu 20.04 Desktop OS running on Raspberry Pi 4. I have connected a printer to the Pi's ethernet port, and I have troubles in assigning a static IP using netplan. The problem is I cannot find the ...
user avatar
  • 121
0 votes
1 answer
155 views

Using netplan to setup a shared connection

Is it possible to set up a shared connection (DHCP server) on an interface using just the netplan configuration? I can use NetworkManager as follows to set up a shared connection: sudo nmcli c add con-...
user avatar
  • 3
2 votes
1 answer
61 views

Configure only an ip address for an isolated eth0 attached to an ip cam

I have ubuntu 20.04 server on a raspberry pi 4B. It is connected to my lan via wlan0, no problem, using netplan. It is monitoring some BLE devices. Now I want to connect an IP cam to my ethernet port....
user avatar
0 votes
1 answer
86 views

How to setup netplan/networkd to detect an IP conflict being putting networking online?

We've hit an issue where our Ubuntu 20.04 systems seem to bring networking up without verifying there's no IP conflict that will occur. Our Red Hat based systems check for any collision and if ...
user avatar
0 votes
0 answers
129 views

How can I configure a setting where netplan apply doesn't effect all my interfaces?

So basically I run networking tests on my ubuntu machine and I use a few WAN interfaces and VLANS. I run openVPN tunnels over my WAN. whenever I decide to change one of my interface's configuration, ...
user avatar
  • 1
0 votes
0 answers
152 views

Ubuntu Server 20.04 does not show a bond device

I've downloaded the LTS for Ubuntu Server (20.04) and upon installation the installer asks me to create a new bond address or continue without internet. Upon opening the dialogue for a new bond ...
user avatar
  • 1

1
2 3 4 5
16