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
-1 votes
1 answer
802 views

Modify netplan configuration without apply until reboot

I need to modify the netplan configuration in .yaml to add some static routes but i dont want to apply (netplan apply) until the next reboot (will be restarted in quite a few days). This is my plan: ...
Saa8's user avatar
  • 1
0 votes
1 answer
549 views

set up 2 networks card with different gateways

I have a VMs Ubuntu server 20.04 with two network cards, I would like to set up a different vlan with different gateway in each one. I made my routing table in the file yaml but when I assign gateway ...
intheshadow's user avatar
0 votes
0 answers
245 views

Ubuntu-server install via chroot netplan wifi network unreachable

I just installed ubuntu 22.04 via chroot and also the ubuntu-server metapackage. I'm trying to connect via wifi only using netplan. I found some info about it but it doesn't work. I always get "...
user2057220's user avatar
0 votes
1 answer
3k views

Temporary failure in (DNS) Name Resolution / 20.04

"Temporary failure in (DNS) Name Resolution" Background: I work in healthcare security with approximately ~125 servers across a dozen clients across the US The appliances are both physical ...
Renevant's user avatar
3 votes
1 answer
8k views

Ubuntu 22.04: Netplan (static ip) - Unable to ping gateway or internet IP's, local network devices ping fine

Situation I have VMWare ESXI running with an Ubuntu Server 22.04 instance. This instance runs PowerDNS for my local network and needs a static IP. My local network uses class A-type IP addresses, in ...
Harold's user avatar
  • 159
0 votes
0 answers
378 views

How to switch between two WiFi adapters in command line?

I managed to get my external wifi adapter (MT7601u) work in my raspberry pi 4 thanks to help from chili555. Now I have two wifi interfaces, wlan0 (raspberry pi's built-in wifi) and wlx8c882b02d94e (...
stormfire's user avatar
1 vote
0 answers
303 views

netplan and new adapter - possible to update / generate .yaml file automatically?

How to automatically generate a netplan .yaml file? Repurposing an old laptop for Ubuntu test server. No Ethernet port. Installed Ubuntu server from thumb drive then searched for *deb packages to make ...
Alan's user avatar
  • 29
0 votes
1 answer
68 views

Automatic Internal Static IP

Can we set up something like Automatic Static IP, instead of DHCP? I don't want to edit netplan every Virtual Machines.. Thank you.
banggoseok's user avatar
1 vote
1 answer
7k views

Ubuntu 20.04 add static route

I have two virtual Servers with ubuntu 20.04, both are working so far. But my problem is, that Server1 can not ping Server2 and vice versa. I get the error 'Destination Host Unreachable'. This is with ...
Günter Kieninger's user avatar
0 votes
0 answers
802 views

Looking for Netplan example for generating OpenVSwitch vxlans

All: Does anyone have a working example of defining an openvswitch vxlan in Netplan? I'm unsure about where to define the ports (under ports? under bridges?) much less how to configure them using the ...
Stephen Nesbitt's user avatar
0 votes
0 answers
135 views

network is down for 5 min and up again for 3 min

I have started to see a very weird behavior on Ubuntu 20.04.4 (5.4.0-121-generic) when the network is going down for 5 minutes and then is up for 3 minutes. The strange thing that when the network is ...
Ms.Simpson's user avatar
1 vote
2 answers
8k views

Ubuntu 22.04 bridging with netplan doesn't work

I hope you can help me. I'm trying to setup a network bridge adapter with Netplan to use it with my KVM guest machine. I followed a couple of tutorial, including the one on Netplan.io and so far none ...
Gautam Dhavamani's user avatar
0 votes
2 answers
1k 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 ...
TheKeeper's user avatar
0 votes
1 answer
822 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 ...
KidACrimson's user avatar
0 votes
0 answers
6k 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 ...
SudoMakeCoffee's user avatar
15 votes
2 answers
61k 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:...
Thomas Aichinger's user avatar
2 votes
1 answer
3k 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 ...
action bear poor specific's user avatar
0 votes
2 answers
5k 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-...
Galois's user avatar
  • 3
0 votes
1 answer
359 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 ...
Thomas OHern's user avatar
1 vote
0 answers
691 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.
Grant Curell's user avatar
0 votes
1 answer
1k 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: ...
Dave's user avatar
  • 183
5 votes
3 answers
15k 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 ...
Joshua Schroijen's user avatar
0 votes
0 answers
922 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 ...
Stopper's user avatar
0 votes
2 answers
630 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 ...
Zack Schmidt's user avatar
0 votes
1 answer
1k 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, ...
Peter Nunn's user avatar
1 vote
1 answer
84 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 ...
Claudio Arcia's user avatar
0 votes
0 answers
267 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 ...
BradZehr's user avatar
1 vote
1 answer
53 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 ] ...
Gongas's user avatar
  • 11
1 vote
1 answer
466 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 ...
D34DC3N73R's user avatar
0 votes
1 answer
154 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 ...
tubwreck's user avatar
1 vote
1 answer
548 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 ...
Thomas Gabrielsen's user avatar
0 votes
1 answer
1k 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/...
DickyDal's user avatar
0 votes
1 answer
432 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 ...
Christophe Foyer's user avatar
1 vote
1 answer
767 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 ...
ITnewbie's user avatar
  • 137
1 vote
1 answer
4k 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 ...
word y's user avatar
  • 11
0 votes
1 answer
3k 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 ...
Victor's user avatar
  • 126
0 votes
1 answer
424 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 ...
Giangi Giangioso's user avatar
0 votes
1 answer
320 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 ...
revengineer's user avatar
2 votes
1 answer
320 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 ...
Shaggy1's user avatar
  • 41
1 vote
0 answers
1k 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 ...
Oscar M's user avatar
  • 11
0 votes
1 answer
229 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 ...
user3021543's user avatar
0 votes
1 answer
2k 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 ...
Jason's user avatar
  • 1
2 votes
2 answers
5k 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), ...
AveryFreeman's user avatar
  • 1,246
0 votes
0 answers
516 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. ...
Vladimir Yanakiev's user avatar
0 votes
1 answer
2k 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 ...
jxw's user avatar
  • 133
1 vote
1 answer
554 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-...
blessedone's user avatar
2 votes
1 answer
150 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....
dave fournier's user avatar
0 votes
1 answer
450 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 ...
Ron Rossman Jr's user avatar
-1 votes
2 answers
3k views

Ubuntu 20.04: when adding bridge via netplan, bridged interface remains routable, routing entries duplicated

OS: Ubuntu 20.04.3, all the latest updates installed. I am trying to create a bridge interface, to enslave current (eno1) Netplan configuration: # This is the network config written by 'subiquity' ...
Konstantin Boyandin's user avatar
0 votes
2 answers
2k views

Networking: 4 Separate Subnets Default Route Consistency Warning?

Just installed Ubuntu and one of my network card ports does not work and has no ping to it's IP - eno2. Netplan as configured during install: # This is the network config written by 'subiquity' ...
lion's user avatar
  • 91

1
3 4
5
6 7
20