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
1 answer
35 views

"A start job is running for Wait for Network to be configured" during boot on 22.04 desktop

This is 22.04 running on a raspberry pi 4b, desktop, not a server,vm, etc. Just a simple desktop. It has been running for over a year just fine, but after an update about a month ago, now I get the ...
doctordruidphd's user avatar
0 votes
0 answers
16 views

Netplan does not add the interface to the bridge as defined

I'm using a Ubuntu 22.04.3 (Ubuntu Server) with KVM installed on a mini computer with two physical NICs. I want to take the second physical NIC and apply it to a bridge so the KVM virtual machines can ...
jmbeck's user avatar
  • 101
0 votes
1 answer
40 views

Resolv.conf is out of control

I have tried God knows how many ways to resolve this and get it under control, but, it doesnt seem to take. I only want the single nameserver in there as 10.0.0.8. Can someone please help. I have ...
Ken Vermillion's user avatar
0 votes
0 answers
26 views

Configure .yaml for IP Aliasing

I need some help to configure .yaml file on my ubuntu server 22.04. In particular I need to configure the .yaml for a IP Aliasing cause my server has only 1 NIC but I need 2 subnets. Example: Subnet1:...
CosciaDiPolloo's user avatar
4 votes
1 answer
137 views

ifupdown-wait-online.service (even if disabed) / xfce takes 5 mins to load

I'm using Ubuntu 22.04 right now and ifupdown-wait-online.service takes 5 mins to load,as well as xfce. I gave a : # systemd-analyze blame and this is the result ; is exactly like I've thought : ...
Marietto's user avatar
  • 515
0 votes
0 answers
20 views

Unable to bind MAC Address with interfaces in ubuntu

I am running Ubuntu 20.04 on an AWS environment. While trying to bind MAC Address to interfaces in netplan YAML file. The changes are not working as expected. I followed the following configuration, ...
raw-bean's user avatar
0 votes
1 answer
37 views

Something adds routes with metric being consecutive integers starting from 201

My home router is connected to the WLAN with enp2s0 and to the internal LAN with enp3s0 (192.168.10.0/24). After migration from Ubuntu 18.04 to Ubuntu 20.04 (done last week) something keeps adding and ...
Adam Ryczkowski's user avatar
0 votes
0 answers
68 views

Ubuntu 22.04 docker failure in name resolution after moving homes

after moving homes i can't connect to the internet (local and outside) my ubuntu server with docker and home assistant installed. I didn't change anything inside the server, just was offline for like ...
Tauthe's user avatar
  • 1
0 votes
1 answer
111 views

How to check netplan version?

I cannot find the way how to check which release of Netplan runs on my Ubuntu 22.04. There is a new release, which I would need, but I'm pretty new to Linux and do not know how to upgrade it. It's not ...
Seathorn's user avatar
1 vote
2 answers
31 views

Netplan apply causes interfaces to go down temporarily

I have an IP on interface ens160 ( 10.209.70.147 ) which is up and responding to traffic. Then I add another interface eth0 in "connected state" from vmware console and add another IP ( 10....
abhishek shrivastava's user avatar
0 votes
1 answer
53 views

Is there a way to add custom config to rendered network config, in netplan

I'd like to use an option in networkd which is not available in Netplan. In good time this can be implemented, probably. Until that time, is there a way to achieve custom network code such that my ...
hbogert's user avatar
  • 294
0 votes
0 answers
26 views

Are netplan configuration evaluated dynamically?

When applying a netplan configuration, is the configuration evaluated dynamically? For example will match keywords generate a static interface at apply time or will it be evaluated continously so that ...
Xavanteex's user avatar
0 votes
0 answers
55 views

Associate Loopback interface with VRF

I have multiple VRFs in netplan and each of them has an associated physical interface. Beside this I need Loopback interfaces with different /32 IP addresses and I would like to bind them to specific ...
Seathorn's user avatar
0 votes
0 answers
25 views

Netplan 2 Interfaces, same IP Load Balance?

Is there a way to load balance with netplan between 2 interfaces that have the same IPs in my machine? My current configuration is like this: network: version: 2 renderer: networkd ethernets: ...
Kevin's user avatar
  • 344
1 vote
0 answers
36 views

Start of Networks brings "Permission denied"

I have made some changes to my kvm server. Some machines were installed and a DNS server was set up. Suddenly during the boot process some messages appear and the network does not start. blkmapd[726]: ...
Josef's user avatar
  • 11
0 votes
1 answer
64 views

How to set Ubuntu 2 interface to LAN and Proxy Internet

I have 2 interface ens3-192.168.100.10 and ens8-10.100.0.10. Both get via dhcp. ens3 is for lan access and ens8 is for proxy to internet and to run apt update. Problem is now I have to 2 default ...
chenoi's user avatar
  • 101
0 votes
1 answer
59 views

Ubuntu 20.04 with two NIC, but only one works

As the title says, I have a system running Ubuntu 20.04 with two NICs.One NIC (ens9) is connected to the cameras (via a switch) and the other (ens4) is connected to a LiDAR. I am running a DHCP server ...
user3785280's user avatar
2 votes
0 answers
102 views

Ubuntu server 23.04 netplan cloud-init python error

I've tried to find a solution and an answer myself before but didn't succeed. I recently changed my wi-fi SSID and thus had to reflect that change in my ubuntu server configs. On the raspi 4 ...
verypacific's user avatar
1 vote
1 answer
60 views

Proper Netplan configuration for dual nic dhcp/static IP setup

I am having trouble getting a good mental map of how to configure netplan for a common network setup we are seeing. Two network interfaces Network interface A, connected to the internet on 10.0.1.40/...
killachaos's user avatar
1 vote
2 answers
154 views

how to wirte a multiline text including space key to "late-commands" section in cloud-init "user-data" file

i am trying to write a user-data file so i could deploy many ubuntu server at the same time. but now i am stuck at the late-commands section. i am trying to add a netplan configuration to 01-network-...
Jw9394's user avatar
  • 13
0 votes
0 answers
26 views

How to properly set up a KVM bridge?

I had a big problem, no matter how I set up the bridge for KVM, the network constantly drops until I return everything as it was. I don't know what I'm doing wrong, so I'm turning to you. I tried ...
Yan Belogorodov's user avatar
1 vote
1 answer
233 views

Ubuntu Server on Pi: Does cloud-init re-run every boot?

I installed the official Ubuntu Server 22.04 image on a Raspberry Pi 4. I also configured my wireless network in the network-config file on the SD card. That file gets transformed by cloud-init into /...
rgov's user avatar
  • 389
0 votes
1 answer
88 views

'A start job is running for wait for network to be configured'. optional:true skips this but breaks some docker containers

I have been running an Ubuntu Server for a while now. Recently, my router stopped "sending internet" to the devices connect via LAN, which includes my Ubuntu Server. The server is running on ...
MasterToru's user avatar
0 votes
1 answer
26 views

Configure Default route metric on multiple network cards

My network setup looks like this: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet ...
Helder S.'s user avatar
0 votes
0 answers
57 views

PBR routing doesn't work on Ubuntu 22.04 Server

I'm attempting to configure my server, but it's proving to be impossible. Thus, you are my last hope! To provide some context, my virtual server (Ubuntu 22.04 server TLS) has 3 network devices ...
0L4Y4's user avatar
  • 1
0 votes
0 answers
58 views

Netplan support for configuring an interface's VLAN inside bridge

I have a linux bridge set up with some VMs/containers, as well as one or more physical interfaces. The goal is for container interfaces to run on different VLANs, with the uplink connections (managed ...
Matt's user avatar
  • 1
1 vote
0 answers
71 views

What is the equivalent of this setup network in netplan .yaml configuration?

I'm following this guide to bring up a openstack environment openstack network guide When it's time to setup the network interfaces the guide recommend to use the first one as the management (and I ...
CosciaDiPolloo's user avatar
0 votes
0 answers
53 views

Specifying systemd-networkd options via netplan

I have a need to use a systemd-networkd configuration option on my system: [DHCPV6] RapidCommit=no Is it possible to add this option via netplan somehow? Or do I have to disable netplan completely to ...
triatic's user avatar
0 votes
1 answer
46 views

Ethernet device disconnected and cannot reach router

Im running 22.04 and just changed motherboard and cannot access my router any more. It did work for a brief moment when I swapped the device, to the current one, in the /etc/netplan/50-cloud-init.yaml....
Rasmus's user avatar
  • 3
0 votes
0 answers
46 views

netplan doesnt set static IP address

I need two wifi interfaces running of a single wifi card. One to stream into a local network with a static IP (wlan0) and one to access the internet with dhcp (internet). I added the second interface (...
Eumel's user avatar
  • 101
0 votes
1 answer
109 views

netplan with multiple versions of python

Currently, I have two versions of python installed in Ubuntu 20.04. I noticed that if I select python3.10 as python3, then netplan got errors. If I switch back to python3.8, then netplan works fine. ...
定坤宋's user avatar
0 votes
1 answer
83 views

netplan - trouble converting gateway6 to "to/via" directive

I'm attempting to update my netplan config to use a routes directive instead of gateway6 since gateway6 is deprecated. My working configuration file looks like this: # /etc/netplan/51-cloud-init-ipv6....
RalphORama's user avatar
0 votes
0 answers
104 views

Netplan/NetworkManager not using dhclient at boot

I would like to use dhclient as my DHCP client, and as systemd-networkd does not support this, I would like to switch to Network Manager in Ubuntu 22.04. My Netplan configuration is as follows: ...
triatic's user avatar
0 votes
0 answers
21 views

netplan issues interface unmanageable

I have a netplan like the enclosed one, however, when I do nmcli device status, enp5s0f7 is unmanaged, hence can't get IP address. Any idea? root@tester-10:~$ nmcli device status DEVICE TYPE ...
dean's user avatar
  • 1
0 votes
0 answers
16 views

Locking Ubuntu 20.04 kills bond interfaces

Symptom: 2 bonds with static IPs on 2 different Dual Port NICS. works fine while logged on and session is active, but the second the session locks, or if the session is manually locked, the netplan ...
Zehnmonkey's user avatar
1 vote
1 answer
61 views

add new interface to ubuntu does not work

I want to create a crawler using python which works with multiple ip, so I need a vm with multiple ips. I send requests using python as below: import requests from requests_toolbelt.adapters import ...
hamid's user avatar
  • 111
0 votes
1 answer
74 views

Convert ifconfig alias to netplan

When booting/after dhcp of enp0s25, I want to do: ifconfig enp0s25:1 my-static-ip-addr How can I do that on Ubuntu 22.04? Possibly using netplan? $ cat /etc/netplan/01-network-manager-all.yaml # Let ...
Ole Tange's user avatar
  • 1,680
0 votes
1 answer
58 views

netplan default routes confusion

I am new to Netplan... I thought I had everything working ok and on the surface it seems to be, however I am setting up microk8s and getting some weird results on the load balancer and someone ...
William Dossett's user avatar
0 votes
0 answers
97 views

Netplan AP bridge not applying any IP addresses to any interface

I'm trying to set up an Ubuntu server as a wireless access point but having some difficulty getting it all to work. I'm using the following netplan config: network: version: 2 renderer: ...
Positron's user avatar
0 votes
0 answers
39 views

Pinging problems

Hi guys so i study for school and i have this weird problem when i can ping from my ubuntu server installed on VBOX to my windows11 but i cant ping from my windows to ubuntu :( Tried with firewall on ...
Dawid Michalski's user avatar
0 votes
0 answers
199 views

Can I make a tap device persistent using netplan?

I configured a tap device using: sudo ip tuntap add dev tap0 mode tap user $(whoami) How do I make tap0 persistent between boots? Can I use netplan?
Hendré's user avatar
  • 709
1 vote
0 answers
56 views

Ubuntu clients can't resolve LAN hosts stored in local unbound server

I have setup an unbound server to use short names to refer to various servers by the hostname only. Example: I can call http://myserver:8080/ And it works as expected from Android, and Windows clients,...
user352472's user avatar
0 votes
0 answers
25 views

Round Robin Query Reply

Hi Dear i set multipe ips on ubuntu 18 in netplan i want send any network dns qury on ubuntu by round robin protocol multiple ip first query by ip 1 second query by ip 2 third query by ip 3 How do ...
Ramin Malekghasemi's user avatar
0 votes
0 answers
82 views

Should I use bridge or route with netplan?

I have an RTSP camera connected through ethernet to a computer. This computer is set up to allow connections over WiFi. What I want is to be able to reach the camera from a laptop that is connected ...
Dan-Erik Lindberg's user avatar
0 votes
0 answers
65 views

Netplan stops creating bond

I've been running a home build home lab server for file sharing. It worked perfectly until 5 days ago. For no apparent reason, netplan stopped creating the 802.3ad bond0 network for my intel (pt) ...
phydeaux's user avatar
0 votes
1 answer
40 views

Wifi is repeatedly dropped and sometimes cannot reconnect without a PC restart

I know this has been asked plenty of times already and a tonne of 'solutions' have been provided. Many of the solution did not work for me. Edit: The solution did not work, so the problem persists. I ...
RJDan's user avatar
  • 1
0 votes
2 answers
190 views

Dual-NIC Ubuntu Netplan configuration for webapp via DMZ and internet via LAN

I have a Dual homed Ubuntu 22.04 LTS Server that has one NIC in DMZ and the other in LAN. I've been wrestling with the netplan configuration and my searching has found many mixed recommendations on ...
mark2tech's user avatar
0 votes
0 answers
28 views

What's wrong with my netplan?

I'm running opnsense in virtualbox on my ubuntu host and although it's working well, it has cut my network throughput by 75%, so I'd like to try and move to KVM on the host. With virtualbox it was ...
Ken Vermillion's user avatar
0 votes
2 answers
353 views

Ubuntu 20.04 bridge connection is not working

I have a network scheme, as shown in the picture. My goal is to access all my devices in the network. I don't want any NAT, as it is already under my router (which runs OpenWrt). Each device should ...
elanius's user avatar
  • 99
0 votes
0 answers
18 views

netplan equivalent of ip rule add oif eno5 lookup 5000

In a netplan yaml configuration file like this one: network: version: 2 renderer: networkd ethernets: eno5: dhcp4: false dhcp6: false link-local: [ ] addresses: ...
PouJa's user avatar
  • 71

1
2 3 4 5
20