2022 Developer Survey is open! Take survey.

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 vote
0 answers
12 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
19 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
15 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
16 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
15 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
1 answer
100 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
39 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
25 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
56 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
144 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
44 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
71 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
106 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
14 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
73 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
44 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
51 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
38 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
28 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
34 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
73 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
34 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
41 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
56 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
101 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
67 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
68 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
71 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
187 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
192 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
59 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
51 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
74 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
69 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
57 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
133 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
576 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
109 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
718 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
103 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
51 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
61 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
91 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
124 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 votes
1 answer
404 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' ...
user avatar
0 votes
0 answers
74 views

Ubuntu 18 netplan auto connect to network, any interface name

I am using ubuntu 18.04 and I cant setup auto connection to network by wired connection without changing interface name in /etc/netplan/01-netcfg.yaml every time when I am changing pc. Could someone ...
user avatar
0 votes
1 answer
333 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' ...
user avatar
  • 71
0 votes
1 answer
436 views

How to connect Ubuntu 21.10 to tagged VLAN (netplan)

I have network VLAN: 4005 MTU: 1400 Subnet: 157.XX.XX.64/27 Gateway: 157.XX.XX.65 Netmask: 255.255.255.224 Broadcast: 157.XX.XX.95 I want to configure netplan Ubuntu 21.10 to IP 157....
user avatar
  • 105
2 votes
1 answer
4k views

Ubuntu Server Netplan - conflicting default route declarations for IPv4 - 4 different /24s on each port

I have a server with 2 network cards of 4 ports, but only one of them is used. Each port is connected to a L2 switch and configured for a different VLAN with 1 usable IP from a different /24 subnet - ...
user avatar
  • 71
0 votes
1 answer
92 views

Ubuntu 18.04 server unreachable after setting static IP

I've configured netplan to set static IP for a server on my local network. However, after sudo netstat apply server just becomes unreachable. When I check the router, I can see it listed with assigned ...
user avatar
  • 185

1
2 3 4 5
16