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
37 views

NETPLAN "DESTINATION HOST UNREACHABLE" Ubuntu 20.04.6 desktop

I'm quite new to Ubuntu and I'm trying to configure my netplan file. when I set the configuration in my /etc/netplan/01.-network-manager.yaml there seems to be an issue after i have apply the setting (...
Isaac Oyinsan's user avatar
0 votes
0 answers
43 views

Issue with dual-NIC clients and netplan swapping ethernet interfaces

Background: 1500+ stations running Ubuntu Server + ubuntu-desktop-minimal, most are still on 20.04, new stations are all deployed with 22.04 (with a ubuntu-desktop-minimal --no-install-recommends flag ...
SteeVee99's user avatar
-1 votes
0 answers
31 views

netpan not automatically apply after reboot

My systemd-networkd don't autoload all ips from my netplan config on boot. I read a lot of asks at this and another forums, but I didn't find a solution. neplan apply add ips, but It should work ...
 dussyaka's user avatar
0 votes
0 answers
30 views

VM firewall configuration (linux - ubuntu 22) with virtualbox

I have created four VMs with Virtual box, which play the following roles: Ubuntu server, which acts as a firewall Ubuntu server, acting as a web server Windows server, for active directory Windows 11 ...
Uultron_10's user avatar
0 votes
0 answers
49 views

wired connection stopped working

On my desktop (Ubuntu 23.10 only) I have both ethernet (Intel 211) and wireless. The ethernet connection stopped working; I can't reach the Deco router. The wireless connection works ok. The ...
JPi's user avatar
  • 141
0 votes
0 answers
24 views

Netplan issues with Hetzner and ip's

I have the following config on 01-netplan.conf think it's called. network: version: 2 renderer: networkd ethernets: eno1: dhcp4: no bridges: br0: interfaces: [eno1] ...
Mads Iversen's user avatar
0 votes
0 answers
56 views

NIC Bonding Problem

My infrastructure is like below: Ubuntu 22.04 LTS Server running on VirtualBox 2 NICs, enp0s3 and enp0s8, both attached to Bridged Adapter My netplan file: network: version: 2 renderer: networkd ...
NK_'s user avatar
  • 317
0 votes
0 answers
29 views

netplan config is ignored, who reconfigures my network?

I have a machine with multiple NIC, for the sake of simplicity we call them ext0: uses DHCP, goes to the outside int0 and int1: have static IP adresses, go to some private network, where there is ...
mbeyss's user avatar
  • 978
1 vote
1 answer
122 views

WPA3-enterprise on Ubuntu

I need to connect to a WiFi network that has WPA3-Enterprise as its security method for Wifi with username/password authentication. In windows, I can connect to this network just fine, by only having ...
Artichoke's user avatar
  • 173
0 votes
0 answers
37 views

Netplan Bridge Does Not Support Multiple Interfaces

Issue: When bridging multiple NICs using netplan, client hosts connected to the bridged NICs cannot communicate with the gateway server. The goal is to have all bridged NICs share the same static IP ...
Steve O's user avatar
0 votes
1 answer
54 views

Network settings seems to be completely broken, no logic to be seen

I have been a random problem with my server for a while, every now and then after a reboot the network suddenly completely stops working. Normally, after a few changes in the network files I am ...
Yoshi's user avatar
  • 101
2 votes
1 answer
50 views

Why does my VLan have same IP address as underlying physical connection with netplan? [closed]

I'm trying to configure a vlan on my machine using netplan. On my router (Synology SRM) I've got two networks defined. Primary Network Subnet: 192.168.200.1/24 Gateway: 192.168.200.1 Primary DNS: 192....
Greg B's user avatar
  • 247
0 votes
1 answer
43 views

RPi 4B with Ubuntu Server 20.04 fails to connect to Wi-Fi Sometimes

I have Ubuntu Server 20.04 installed in RPi 4B. The problem is does connect to a network today but if i try to connect to the same network next day it fails. Why does this happen? My .yaml is as below ...
Eldho K K's user avatar
0 votes
0 answers
43 views

Why does my netplan configuration not work?

I am using Ubuntu20 server, and its default Netplan. The server is a bare metal under OVH management, so I have very limited control over the changes I can make on the network interface. I have ...
Javi M's user avatar
  • 1
1 vote
0 answers
31 views

Permanent iptables redirect

I have an iptables command I run on Ubuntu 22.04.3 that forwards 443 to 8443. However I have to keep running it every reboot. sudo iptables -A PREROUTING -t nat -p tcp --dport 443 -j REDIRECT --to-...
Mike L.'s user avatar
  • 11
2 votes
0 answers
60 views

Quickly switching between access points using Netplan and NetworkManager

I am working on a mobile robot base that uses a Raspberry Pi 4 running Ubuntu Server 22.04. It receives commands from a stationary server, so it must have a reliable connection to the network at all ...
feoranis's user avatar
1 vote
0 answers
80 views

Clients got IP-addresses from DHCP but can't reach Internet

I'm trying to build home router from device with two ethernet ports (enp2s0 and enp3s0) and WiFI (wlo2), based on Ubuntu Server 22. Everything is set, clients can connect via wifi to the router (it's ...
s_spirit's user avatar
0 votes
1 answer
78 views

LACP NIC Bonding always uses only one interface port event at Hash policy layer 2+3

We are facing an issue with UBUNTU 20.04 NIC bonding LACP 802.3ad. Two 100G NIC ports are bonded via netplan and the settings are - MTU 9216, Hash policy 2+3, LACP fast, and the same is configured ...
Aagi's user avatar
  • 1
0 votes
0 answers
132 views

vlan tagging is not working netplan -Ubuntu server 22.04

I have Ubuntu server 22.04 installed on VMware I have connected it to a GNS3 topology to a Cisco router The Cisco interface has subinterfaces with dot1q The Linux server has 2 interfaces, one ...
Jose's user avatar
  • 1
0 votes
0 answers
86 views

AWS Ubuntu 22.04 Interface Down on Reboot

Using Ubuntu 22.04.01 via AWS and just did a kernel update (among other items in apt upgrade) to 6.2.0-1017-aws and rebooted. Had to console in because connectivity was failing with no network changes....
Joey's user avatar
  • 109
0 votes
0 answers
61 views

Additional IP-Address overwrites old one?

My hosting provider gave me an additional ip-address and now i am trying to add it to my netplan but somehow it is overwriting the main-ip. Here is my netplan: ### Hetzner Online GmbH installimage ...
IkonoDim's user avatar
0 votes
0 answers
28 views

Is "ppimaintserver:~$ sudo nano 00-installer-config.yaml" the same as "ppimaintserver:/etc/netplan$ sudo nano 00-installer-config.yaml" [duplicate]

Sorry for the stupid question Is ppimaintserver:~$ sudo nano 00-installer-config.yaml the same as ppimaintserver:/etc/netplan$ sudo nano 00-installer-config.yaml My spider sense tells me this is a ...
Rob's user avatar
  • 1
0 votes
0 answers
82 views

How to have netplan config applied automatically after startup on Ubuntu 22.04?

I am running Ubuntu 22.04.3 on a dual-boot hp laptop and I have the following configuration file /etc/netplan/10-network-config_home.yaml defined: network: version: 2 renderer: NetworkManager ...
Alex's user avatar
  • 777
0 votes
0 answers
79 views

Network problem after update

I'm running Ubuntu 22.04 on a PC with 4 network interfaces: enp1s0, enp2s0, enp3s0 & enp4s0. I'm using enp1s0 (outgoing interface, configured by the cable modem using DHCP) and enp4s0 (static IP, ...
dbv's user avatar
  • 101
0 votes
0 answers
120 views

How to disable wifi power save using netplan yaml configuration?

I need to disable the wifi power save option using netplan configuration files. I tried adding powersave: False It didn't work.Any help would be appreciated.
pauli's user avatar
  • 109
0 votes
0 answers
580 views

creating a static IP various warning and nothing saying config is correct

I have been trying to set up a static IP in Ubuntu 22.04.3 LTS. The web offers different Netplan config so I picked the most simple code When I input "Netplan try" I get the following ...
Rob's user avatar
  • 1
0 votes
0 answers
82 views

Netplan wpa_supplicant roaming

Is there a way to configure roaming for a wifi network defined in netplan (on UB22). Like i used to do before by adding bgscan="[some scan settings]" to the wpa_supplicant.
Jop's user avatar
  • 1
0 votes
1 answer
234 views

How to fix automatic apply of netplan config after reboot not working?

I am using ubuntu 22.04 and trying to apply the following netplan automatically at startup: network: version: 2 renderer: NetworkManager ethernets: enx00e04c680202: addresses: -...
Alex's user avatar
  • 777
0 votes
1 answer
578 views

How to fix problem with netplan configuration (ip address show) for Ubuntu 22.04?

Using ubuntu 22.04 I tried to assign the two IP addresses 192.168.200.100 and 169.254.1.0 to the ethernet device enx00e04c680202. Following this tutorial and this answer I created a file /etc/netplan/...
Alex's user avatar
  • 777
3 votes
1 answer
108 views

How can I use netplan match on macaddress when I then bond the nic?

network: renderer: networkd ethernets: eth0: # usb ethernet 1 match: macaddress: f8:e4:3b:55:72:71 set-name: eth0 dhcp4: no eth1: # builtin match: ...
Tim's user avatar
  • 32.8k
1 vote
1 answer
198 views

How can I force my Ubuntu Server to use the correct ethernet port (interface)

I have an Ubuntu Server running Ubuntu 22.04.3 LTS. It has two ethernet ports, enp3s0 and enxf8e43b557271. enxf8e43b557271 is much faster, so I want to use that by default, but, if it goes down for ...
Tim's user avatar
  • 32.8k
0 votes
1 answer
88 views

Should I edit resolv.conf?

I am using U20 LTS, our Search Domain changed. I did change that in netplan Config but when I grep for old domain in /etc there is still the old one in resolv.conf. In the file it says I shouldn't ...
NASH7's user avatar
  • 13
0 votes
0 answers
46 views

Single Network Interface Deferent IP address and Gateway for Home and Office Networks

I need to connect my laptop running Ubuntu Server 22.04 to my home network 192.168.0.0/24 and Office network 192.168.1.0/24 without manually changing the settings every time. Is this possible with ...
Alasok Arandab's user avatar
0 votes
0 answers
54 views

bond with different VLAN's, all uses same MAC-Addresses / is it possible to generate the MAC automatically?

the config is done as follows with the configurator in the setup wizard: network: bonds: team0: interfaces: - enp65s0f0np0 - enp65s0f1np1 parameters: lacp-rate: ...
razmatazzFM's user avatar
0 votes
0 answers
184 views

netplan/udevadm broken in Ubuntu 22 LXC containers

The physical host is running 18.04.6 LTS and LXD/LXC 3.0.3. I have two unprivileged containers, one Ubuntu 18.04 container and a new Ubuntu 22.04 container. (Using the default images that lxc launch ...
Curtis's user avatar
  • 101
0 votes
0 answers
25 views

renamming and tagging to vlans multiple NICs

I have a VM with Ubuntu Server 22.04 and i have assigned 4 NICs to this VM. Each NIC will be set manually to a specific network. What is the best approach to rename each NIC and assig each one to a ...
Study It's user avatar
-1 votes
1 answer
116 views

netplan with vlan dhcp does not assign address

I have a device with two physical network interfaces, enp2s0 and enp3s0! All communication should be assigt to vlans. The device runs ubuntu and is a host for a KVM system, therefor also a bridge is ...
averlon's user avatar
  • 101
1 vote
0 answers
87 views

Any idea how to bring back the network without netplan cmd?

There was a power-outage in our lab during the weekend, and when I was to recover one of the ubuntu server and have it booted, the network was not set automatically. So as of now, Running "...
user3595231's user avatar
0 votes
0 answers
62 views

Unable to Configure Network on Homeserver Behind "Fritz Box" Home Router

Description: I've encountered a puzzling network issue with my homeserver setup and I'm seeking guidance to resolve it. Problem: My homeserver, behind a "Fritz Box" home router, experiences ...
lstrauch's user avatar
0 votes
1 answer
665 views

Netplan DNS configuration is overridden UBUNTU 22.04

I have just installed ubuntu 22.04 from scratch on a new physical server. One thing that has been a thorn in my side with Ubuntu since about 14.04, is trying to wrap my head around the complexities ...
Dennis 's user avatar
  • 174
1 vote
0 answers
286 views

Netplan Configuration Isssue: Unable to obtain ip address for ethernet configured with dhcp4

Goal: Determine why configuring an interface with only dhcp4 fails. Setup I am working on configuring netplan for a Virtualbox VM. The VM has 1 bridged adapter connected to my machines wlo1 and 2 ...
Chris Howe's user avatar
0 votes
1 answer
90 views

Why does Netplan 104 not like configuration that works with 101?

I have two systems running Ubuntu 20.04. crs_admin@TST-CLD-vBWM01:~$ uname -a Linux TST-CLD-vBWM01 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux crs_admin@...
Chris Nelson's user avatar
0 votes
0 answers
41 views

netplan config - connecting multiple PoE devices to ubuntu server with PxE ports

I have an asrock ep2c602 motherboard server with PxE ports. The server is connected via ethernet to the internet router. I want to connect some PoE devices to the server and make them available in the ...
CyborgDroid's user avatar
  • 1,283
0 votes
0 answers
97 views

Static routes configured in Netplan bouncing DHCP lease files

I configure static routes on a DHCP interface using Netplan on Ubuntu 20.04 as followings: network: ethernets: ens4: dhcp4: true routes: - to: 10.1.1....
Hung Le's user avatar
0 votes
1 answer
97 views

Two network cards configured with the same network segment IP

I have a ubuntu server with two network cards. The IP of eth0 is 192.168.2.178/24, and the IP of eth1 is 192.168.2.179/24. This is my config with netplan: network: ethernets: eth0: ...
cctomato's user avatar
1 vote
2 answers
111 views

Netplan: accept terms and conditions

I have an ubuntu-server installed on a raspberry pi 4. The ubuntu server is using netplan for network configuration. I wan to connect to an open wifi network called "WiFi4EU". But when I ...
Jarne's user avatar
  • 101
0 votes
0 answers
477 views

Unable to resolve local network DNS Names from Ubuntu 22.04.3 and Unable to resolve Ubuntu DNS Name from Network

Not sure what happened today, but my Ubuntu server is no longer resolvable on the LAN, and nor can the Ubuntu server resolve any names on the LAN. The Ubuntu Server can resolve external Domain Names ...
Simon Todd's user avatar
1 vote
1 answer
123 views

Ubuntu as Wifi extender

I'm trying to use my Ubuntu server ( Ubuntu 22.04.3 LTS) as a wifi extender, but am having problems setting it up. So I want to connect to the Wifi adapted on my Ubuntu server and all traffic should ...
jason.kaisersmith's user avatar
0 votes
0 answers
62 views

Update to systemd causes network to fail, have to re-generate and reapply netplan. How do I fix this?

I am on Ubuntu 22.04.3 LTS sometimes when I update I see the last 2 lines in update: Setting up libnetplan0:amd64 (0.106.1-7ubuntu0.22.04.2) ... Setting up systemd (249.11-0ubuntu3.11) ... and then I ...
Duxa's user avatar
  • 101
1 vote
1 answer
270 views

Ubuntu Server 22.04 without systemd networking on startup

I sometimes want to start my little server device without networking --- in particular if I don't have a network currently connected. (the device is moved around.) is there a systemctl to disable the ...
user1539216's user avatar

1
2 3 4 5
20