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.
1,004
questions
0
votes
1
answer
22
views
22.04 LTS - timeframe for backport of Netplan version 107?
Is there an estimate of when netplan version .107 (in 23.10) will get back-ported to 22.04 LTS
There lots of clean up and advancement with netplan .107 but don't want to risk / mess around trying to ...
0
votes
2
answers
180
views
How to install latest Netplan on Ubuntu 22.04?
There's no documentation on the Netplan.io website for how to install Netplan, which seems a little odd.
But anyhow, how do I upgrade to the very latest release of Netplan on Ubuntu 22.04?
0
votes
0
answers
28
views
set netplan to use TWO static addresses preference with DHCP fallback
I am setting up a Ubuntu 22.04 server at home for use on-site. Server needs to have a static address on-site. How to test with static address at home, then take pc to site without having to change the ...
0
votes
1
answer
64
views
Cannot connect ubuntu server 22.04 to internet on a RaspberryPi 3B+ using a 4G USB modem and netplan
I am trying to connect ubuntu server 22.04 to internet on a RaspberryPi 3B+ using a 4G USB modem and netplan.
The USB dongle seems to be recognized:
carlo@pi-box:~$ lsusb
Bus 001 Device 008: ID 19d2:...
0
votes
0
answers
26
views
Netplan dedicated OOB interface configuration with DHCP
I have a project that deploys virtual machines as test clients. Each VM has two NICs, one for a test environment(ens192) and one for OOB access(ens224). Both NICs get IP addresses from DHCP.
Where I'...
1
vote
0
answers
53
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 (...
0
votes
0
answers
49
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 ...
-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 ...
0
votes
0
answers
46
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
...
0
votes
0
answers
69
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 ...
0
votes
0
answers
28
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]
...
0
votes
0
answers
65
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
...
0
votes
0
answers
30
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 ...
1
vote
1
answer
190
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 ...
0
votes
0
answers
56
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 ...
0
votes
1
answer
57
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 ...
2
votes
1
answer
53
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....
0
votes
1
answer
46
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
...
0
votes
0
answers
48
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 ...
1
vote
1
answer
50
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-...
2
votes
0
answers
67
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 ...
1
vote
0
answers
86
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 ...
0
votes
1
answer
82
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 ...
0
votes
0
answers
184
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 ...
0
votes
0
answers
102
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....
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
...
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 ...
0
votes
0
answers
105
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
...
0
votes
0
answers
88
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, ...
0
votes
0
answers
147
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.
0
votes
0
answers
1k
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 ...
0
votes
0
answers
92
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.
0
votes
1
answer
340
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:
-...
0
votes
1
answer
740
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/...
3
votes
1
answer
156
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:
...
1
vote
1
answer
218
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 ...
0
votes
1
answer
94
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 ...
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 ...
0
votes
0
answers
67
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: ...
0
votes
0
answers
214
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 ...
0
votes
0
answers
26
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 ...
-1
votes
1
answer
137
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 ...
1
vote
0
answers
91
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 "...
0
votes
0
answers
65
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 ...
0
votes
1
answer
770
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 ...
1
vote
0
answers
313
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 ...
0
votes
1
answer
96
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@...
0
votes
0
answers
47
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 ...
0
votes
0
answers
114
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....
0
votes
1
answer
100
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:
...