People who code: we want your input. Take the 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
0
votes
1answer
521 views

Netplan not detecting MII uplink down on a bonded network interface

Dealing with a weired issue where netplan is not detecting the uplink going down for one of it's primary slave and not selecting the other slave. I also tried setting up all parameters of mii-monitor-...
0
votes
0answers
180 views

Raspberry Pi 4B won't connect to 802.11ac WiFi

I have Ubuntu Server 20.04 on my Raspberry Pi 4B 2GB, which I'm using as my AirPlay receiver. I have to enable 802.11n as well in order for the Pi to find it. When I used nmcli dev wifi connect <...
1
vote
0answers
56 views

Netplan adding unwanted default route

I am having one Ubuntu 18.04 server with 2 NIC card. One is for Public network & another is for Private. Both have been assigned static IP Address via Netplan. network: version: 2 renderer: ...
1
vote
1answer
970 views

Ubuntu Server 20.04 - How to connect Wi-Fi on Raspberry Pi 3 Model A+

Can't get the Wi-Fi work on Ubuntu Server 20.04.1, installed to Raspberry Pi 3 Model A+. All ways that I use before and googled now, not work. First, I tried method that worked in 18.04 and 19.10: ...
0
votes
2answers
3k views

Cannot connect to LAN internet in Ubuntu 20.04

I just migrated from Ubuntu 18.04 to Ubuntu 20.04. After days of struggle from drivers incompatibility, I thought everything works well until I realized my computer cannot connect to the LAN internet. ...
0
votes
1answer
43 views

I want to modify the network card name in ubuntu20.04 and add a virtual network card, What is wrong?

my goal: 1: Rename the network card “ens33” to “mangment_interface”. 2: Add a virtual network card named “provider_interface”. How can I modify the code in the yaml file? May be useful: /etc/netplan/...
0
votes
2answers
64 views

netplan with two physical interfaces and two vlans assign wrong vlan for traffic to internet

I have the following configuration: network: version: 2 renderer: networkd ethernets: enp2s0: dhcp4: yes dhcp4-overrides: ...
2
votes
1answer
1k views

Can't execute `netplan apply` command in Ubuntu 20.04 LTS

The command netplan apply returns some errors when I execute it as root user. root@szyf1272:/etc/netplan# netplan apply System has not been booted with systemd as init system (PID 1). Can't operate. ...
4
votes
2answers
2k views

OVSIntPort with Netplan

I'm looking the way to deal with OVSIntPort and netplan. I just want to configure the address, MTU and leave the other OVS things with ovs-vsctl which will be saved on OVSDB. Since Network Manager ...
0
votes
1answer
1k views

Netplan inconsistent indentation Ubuntu 20.04 server

I am having an inconsistent indentation problem in a netplan configuration. I would like, if possible, someone to explain to me where I'm going wrong. Thank you. The error is: /etc/netplan/50-cloud-...
0
votes
1answer
46 views

Route specific IPs to secondary ethernet network inside Virtual Machine

I have a Ubuntu 20.04 VM running on a Windows 10 machine. The Windows machine is connected to the company I work for via a VPN. On the VM configuration I created 2 networks, one using NAT mode and ...
0
votes
0answers
623 views

Ubuntu 20.04 after setting static IP, apt update and SSL stopped working

I ws running mu Ubuntu server 20.04 (command line only) for few weeks with IP 192.168.1.5, unaware that it was dynamic. Today the IP changed to 192.168.1.6. I decided to change it to static with this ...
0
votes
1answer
244 views

Netplan apply fails on udevadm settle during 20.04 autoinstaller

During execution of the network section of the new Subiquity server autoinstaller it fails with a non-zero return code on netplan apply, which in turn runs udevadm settle -t 0 over and over again ...
0
votes
1answer
187 views

Multiple interfaces, each with their own IPv6 address

I have a simple machine that has multiple IPv6 addresses routed to it. If I put these addresses in the netplan ethernet.eth0.addresses section, I confirmed that I can reach the machine from each of ...
0
votes
3answers
3k views

how to use Ubuntu 18.04 (netplan) with a VLan

I have a Netgear switch and a Unifi Seurity gateway, which together allow me to seperate my network into different vlans. For the case in point I have servers on VLAN 10. With other hardware I have i....
0
votes
2answers
95 views

How can I restart a specificed interface instead of restart all interface?

I have a server which OS is Ubuntu 18.04.03 configured four IP addresses on four different interfaces. Now there is a interface I need to restart, and I can not interfere with other three interfaces. ...
1
vote
1answer
137 views

Sporadic DNS Issues Ubuntu 18 Headless

I'm seeing sporadic errors related to DNS when I attempt to update or install SW: W: Failed to fetch http://archive.canonical.com/ubuntu/dists/bionic/InRelease System error resolving 'archive....
2
votes
0answers
195 views

netplan doesn't support loopback routes eg: ip route add local default dev lo table 100

I need to route everything with mark 1 to loopback address. With ip rule add fwmark 1 table 100 and ip route add local default dev lo table 100 It works fine. But I want to make it permanent with ...
2
votes
1answer
582 views

Netplan did not automatically connect to network

I installed Ubuntu 18.04.4 for Raspberry Pi 4 with a network-config file that describes my Wi-Fi networks. This file was automatically copied to /etc/netplan/50-cloud-init.yaml. However, the RPi did ...
0
votes
0answers
90 views

Add static ip interfaces with netplan

I am currently trying to add 2 network interfaces to my ubuntu machine via netplan (ubuntu -> proxmox -> vmware). Both with static ip addresses. My .yaml file: network: version: 2 renderer: ...
2
votes
1answer
3k views

ubuntu server 20.04 wifi via netplan doesn't work

I'm not skilled in Linux, but I'm able to follow the guides. yet, it doesn't work for me. I ran this to get the wifi interface name: ls /sys/class/net I got the name. I configured the netplan yaml in ...
1
vote
1answer
87 views

How to make port forwarding work from two routers via their own network?

I have a computer that has connected to two routers via their internal network. I have forwarded port 80 to my computer on both routers. RouterA:80 -> 10.0.0.10:80 works. RouterB:80 -> 192.168.1....
0
votes
1answer
393 views

How do I configure the ndots option in /etc/resolv.conf from netplan?

I have netplan managing a simple bridge and have DNS served with BIND from the same server, it's all working perfectly well except for relative domain resolution. host -t A foo outputs: foo.example....
0
votes
1answer
84 views

Can I enable dhcp4 on all interfaces globally without knowing the interface names with netplan and networkd?

Can I enable DHCP4on all interfaces globally without knowing the interface names with netplan? I might add any USB connected ethernet NIC, and I just want any of them to get the network config via ...
0
votes
1answer
145 views

On Samba DCs running on Ubuntu Server 20.04, is DNS resolution handled by by the netplan config or by resolv.conf?

Apologies if this might be a silly question. I'm reading that best practice when having two DCs in a domain is to point their DNS addresses at each other and also at themselves. So: DC1 nameservers = ...
0
votes
0answers
352 views

50-cloud-init.yaml don't apply at boot

i have a ubuntu 18.04 server machine with 2 eth ports. Eth1 have a static ip then eth2 could be in 3 different config: dhcp-static-bridge (with eth1). I made a script that starts at every boot and ...
0
votes
1answer
41 views

How to translate routing commands into netplan rules?

I have two network interface in my linux pc. One is eth0, another is eth1. here is netplan yaml file : network: version: 2 renderer: NetworkManager ethernets: eth0: addresses: [192.168.20.3/24] ...
1
vote
0answers
97 views

Online account can't be added

I wanted to add my work calendar to my home system running Ubuntu 20.04 with Gnome and I get a message indicating there is "no internet connection - connect to set up new online accounts". I'...
1
vote
1answer
3k views

A start job is running for wait for network to be configured. Ubuntu server 20.04

After reading this post, I've followed this answer. But , when I edit the /etc/netplan/01-netcfg.yaml, it was blank. So I create that file and add optional: true. After sudo netplan apply, It turns ...
0
votes
1answer
1k views

Ubuntu 18.04 netplan create bridge from wifi to ethernet

I am running ubuntu 18.04 and do not have much experience with networking. This ubuntu server runs on our robot and is supposed to act as a wireless to lan bridge for the rest of the wired modules on ...
0
votes
0answers
36 views

Why does netplan overwrite ip route command settings?

I'm having this really frustrating problem. I have multiple NICs with WAN access and need to switch the default route between them. This can easily be done using the ip route replace default via 192....
0
votes
1answer
266 views

Dual NIC Configured as Router with NAT

I have a PC running Ubuntu 18.04 and am attempting to configure the two GbE interfaces as a gateway/router. I've referred to some related questions and attempted to follow guides such as this one: ...
1
vote
1answer
89 views

Netplan.io failed to start LSB: Netplan Calender Service

I am trying to set up my server with a static IP, but netplan.io is failing. Process: 10747 execstart (code=exited, status=64). 50-cloud-init.yaml: network: ethernets: enp4s0: addresses: ...
1
vote
0answers
272 views

Ubuntu Server 20.04 netplan Static IPs dropped after disconnecting

I am setting static IP addresses for multiple ethernet ports on a machine using netplan. They work until a cable gets disconnected and then reconnected. When I pull a cable and plug it back in I don't ...
0
votes
0answers
687 views

Netplan: interface defined, but not in config

Netplan Version: 0.99-0ubuntu3~20.04.2 Ubuntu 20.04.1 LTS After using an incorrect Netplan .yaml, I was greeted with the following error: Netplan error charlesrod@shinobi:~$ netplan generate --debug /...
0
votes
1answer
477 views

Establish internet connection with LTE card and netplan

I want to change the internet connection from ethernet cable to an LTE sim card. For this, I need to configure the netplan .yaml file correctly. The current file is network: version: 2 renderer: ...
0
votes
0answers
164 views

netplan bridge cannot ping local network devices

I know there are a lot of problems like mine in here, but I still cannot solve my problem. I updated my Ubuntu from 18.04 to 20.04 and wanted to start using netplan. Unfortunately I'm not able to ping ...
1
vote
1answer
2k views

Problems with Netplan's config for Ubuntu Server 18.04.5 for Raspberry Pi

So I want to set up an Raspberry Pi with Ubuntu for a robotic Projekt. Im following this guide. Like it says I change the /etc/netplan/50-cloud-init.yaml like: network: version: 2 renderer: networkd # ...
0
votes
0answers
2k views

ubuntu server 20.04 netplan change vlan mac address

Is it possible to change the mac address for a vlan with netplan.io .yaml? network: version: 2 renderer: networkd ethernets: eno1: dhcp4: true dhcp6: true vlans: vlan10: ...
0
votes
1answer
789 views

Netplan Doesn't Recognize Ethernet Connection on Ubuntu 20.04 Server

Problem I've recently moved an Ubuntu 20.04 server to a new house and attempted to connect it to the network. Connecting it via an ethernet cable at my previous house worked without issue, but doing ...
0
votes
1answer
2k views

Netplan Interface Disappears on Ubuntu 20.04

I am running 20.04.1 LTS on an Intel NUC, and my wired Ethernet has just disappeared. It has been working fine for several months using interface enp3s0 with the following netplan file (/etc/netplan/...
0
votes
0answers
28 views

Help with network error: ERR_NETOWORK_CHANGED

I'm running Ubuntu 18.04 LTS and using netplan with the following basic configuration. network: version: 2 renderer: networkd ethernets: eth0: dhcp4: true However, while browsing, I ...
0
votes
0answers
317 views

Problem to setup network-bridge with netplan under Ubuntu 18.04 dedicatet server

I need some help with an server, netplan and a network-bridge.. I want do setup an kvm under my ubuntu 18.04 server, who is reachable from outside. So i need a network-bridge. So i have simulated the ...
1
vote
1answer
84 views

Share your Netplan configuration!

This is Lukas Märdian a Netplan developer for Canonical. We are currently looking for ways to improve the Netplan YAML configuration schema [0]. Therefore, we would love to see the configuration files ...
0
votes
2answers
8k views

Bonding / Ubuntu 20.04

I recently installed Ubuntu 20.04 on a VM with 2 ethernet ports. I'm trying to bond those 2 ethernet ports, but I can't find the right way. For example, someone says without netplan, others with ...
0
votes
0answers
790 views

Ubuntu 20.04 LTS WSL2 Windows 10 Networking/connectivity issue

fresh install Linux mybox 4.19.104-microsoft-standard #1 SMP Wed Feb 19 06:37:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux I am unable to ping. it seems that there are no netplan configs, the folder is ...
1
vote
0answers
489 views

Trouble with Ubuntu 18.04 netplan bridge on hetzner server

i need some help with an hetzner server, netplan and a network-bridge.. I want do setup an kvm under my ubuntu 18.04 hetzner server, who is reachable from outside. So i need a network-bridge. So i ...
0
votes
2answers
282 views

Trouble with Ubuntu 18.04 netplan bridge on VirtualBox

I'm stuck in here in the network configuration and I need help.. Plan is to create a KVM with windows running on a dedicatet ubuntu 18.04 server. So I need a networkbridge to reach the windows in my ...
0
votes
0answers
47 views

Cross network interfaces using netplan on ubuntu server

I want configure into my raspberry pi 3 (using ubuntu server) a cross network using the Wifi and Ethernet. Is this it's possible using netplan or we need back to use /etc/network/interfaces? I have a ...
0
votes
0answers
65 views

Wireless interface as primary internet connection

Fresh install Ubuntu 20.04 on Raspberry PI 4B connected to two different internet providers via routers. Static ip for Raspberry set to 192.168.1.159 on Router#1 (ethernet) and on Router#2 (wireless) ...

1 2 3
4
5
14