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
0answers
509 views

Netplan-based network config ignores IPv6 router advertisements on Ubuntu 20.04

I have a server cluster where all servers have a second network card. These seconds cards are connected to an additional cluster-local switch. It's a 10GBit local interconnect. I connect these servers ...
0
votes
0answers
629 views

Network Problems after creating network bridge

i wanted to install some virtual machines on my server using KVM so for this purpose i created a network bridge. so far so good... My OS is Ubuntu 20.04. I change the 01-netcfg.yaml file in /etc/...
0
votes
1answer
1k views

Cannot connect to Wi-Fi Ubuntu 20.04 server

I cannot connect to my Wi-Fi network on my freshly installed Ubuntu 20.04 server (no other packages except wireless-tools were installed). First, I checked (with lspci) that my Wi-Fi adapter (Network ...
1
vote
1answer
355 views

How can I set the access-point priority in a netplan configuration?

Which is the correct netplan-property for defining priority between access-points? I'm using access point configurations like this: # /etc/netplan/netplan.yaml ... wifis: wlo1: access-...
0
votes
1answer
175 views

Netplan error in network definition bonding

Copied the example on netplans site and have issues with the interfaces not defined. Below is my config that i'm using. I no longer have internet access on that machine. This was working but rebooted ...
0
votes
1answer
377 views

WPA-PSK fails with netplan on Ubuntu 18.04

I would like to get help with solving my issue. I appreciate if I could get some advice. Environment Netplan version ywatanabe@host00:~$ sudo apt search netplan.io Sorting... Done Full Text Search... ...
1
vote
0answers
126 views

netplan: ignore routes, keep gateway

I have a Ubuntu 20.04 server which has three network interfaces/connections: eth0 is configured via DHCP, should have the default route, everything fine so far. wg0 is a wireguard interface wich ...
0
votes
0answers
95 views

Configure Netplan For VM in Ubuntu 20.04

I just install new server with Ubuntu 20.04 (minimal, no GUI). I have 2 ethernet card with 2 IP public. connect each one with each cable. I want to create VM using virt-install which guide I found in ...
2
votes
1answer
454 views

VMWare Can't Connect To Internet

I am using VMWare ESXi 6.5 with OVH and I am trying to setup an ubuntu 18.04 server. I have successfully created the machine but I am having issues setting up the network connection. I have followed ...
1
vote
2answers
816 views

resolv.conf mismatch netplan configuration

I'm setting up an Ubuntu Server 20.04 system as a gateway between my LAN and the WAN. I'm not able to configure the DNS properly. I have 2 netplan config files for my 2 interfaces. Internal eth ...
1
vote
1answer
2k views

What is the difference between “00-installer-config.yaml” and “50-cloud-init.yaml”

I have multiple Ubuntu 18.04 and Ubuntu 20.04 servers (some upgrades, some fresh installs) running on Hyper-V, Raspberry Pis, and the cloud. I have noticed that for configuring netplan, directory /etc/...
0
votes
0answers
52 views

Multihome Ubuntu 18.04 with 2 NIC connected with two ISP

I am having issues with multihome my ubuntu 18.04 LTS. I have 2 NICs connected to 2 different ISP. I want to be able to ping both IP. Current I can ping only eno1. My netplan file: network: ...
0
votes
1answer
5k views

How to restore a working network configuration with netplan on Ubuntu 20.04

Recently I tried to install open nebula and for some reason,the eno1 network interface disappeared from my Ubuntu 20.04 network configuration and I would like to restore it, because now I'm not able ...
1
vote
0answers
542 views

Did an Ubuntu update uninstall netplan and mask networkd?

On my Ubutntu 18.04 LTS server (with desktop added later), I was using netplan and networkd (tried to switch back to ifup a couple of months ago but figured I better get used to netplan). Strangely, ...
0
votes
1answer
425 views

netplan configuration not applying ethernet LAN

After a power cycle, I'm unable to see my ethernet interfaces in ifconfig with the following netplan configuration. ethMine shows up in ip link show, but is not upped. $ cat /etc/netplan/01-netcfg....
1
vote
1answer
257 views

How to correctly setup Ubuntu 18.04 LTS installed from mini.iso to use NetworkManager?

I have just installed Ubuntu 18.04 LTS from mini.iso using Ethernet/cable. Then I have installed MATE desktop to it by sudo apt-get install ubuntu-mate-desktop^. But the NetworkManager tray icon/nm-...
1
vote
1answer
1k views

Error in network definition: bond0: interface 'eno2' is not defined

I get this error when trying to netplan apply. eno2 exists but netplan says it's not defined. network: version: 2 renderer: networkd bonds: bond0: ...
0
votes
1answer
779 views

Can't get networkd-dispatcher scripts working

I need to disable offloading on my Kubernetes host persistently due to various bugs. I followed the guide here: https://michael.mulqueen.me.uk/2018/08/disable-offloading-netplan-ubuntu/ but the script ...
0
votes
0answers
454 views

Ubuntu 18.04 netplan configuration for aws ec2 instance

In Ubuntu 16.06, I was adding another interface with following configuration auto ens4 iface ens4 inet dhcp sudo ip route add default via 10.10.8.1 dev ens4 table ens4_rt sudo ip rule add from 10.10.8....
0
votes
0answers
1k views

How to set custom DNS servers and use DHCP on kubuntu 20.04 using netplan config?

Ok it is confusing so here is a clear version of what is going on. I am only able to set custom DNS servers using the /etc/netplan/01-network-manager-all.yaml if i use the configuration below with a ...
1
vote
2answers
3k views

Invalid YAML: mapping values are not allowed in this context: network:

I'm trying to configure a static IP and I keep getting this error when I try and execute the changes: Invalid YAML: mapping values are not allowed in this context: network: ^ I've edited my /...
2
votes
2answers
301 views

Setting up local static IP with netplan causes network to sleep

I am currently setting up some rpi4 with ubuntu server 20.04, I have setup their static IPs using netplan(Wired LAN) and Somehow they end up sleeping in both SSH and TCP, if left for more than a ...
2
votes
2answers
766 views

Make route command persistent after reboot

Quick question: I want to make this command persistent after reboot: route add -net 10.0.8.0 netmask 255.255.255.0 gw 10.3.121.244 I tried playing with the netplan yaml files with no success, my ...
0
votes
1answer
1k views

Can I use systemd-network without netplan and ifupdown?

I'm not sure I completely understood the whole relationships between ifupdown, systemd-networkd and netplan. I think netplan transforms its YAML configuration into a more verbose systemd-network ...
1
vote
0answers
32 views

Dual NIC silently rejecting all incoming traffic from one interface

In my server, I have two ethernet cards: enp0s17, local IP 192.168.0.7, router's public address x.x.x.x, netmask 255.255.255.255 enp0s18, local IP 172.16.0.7, router's public address y.y.y.y, netmask ...
0
votes
0answers
297 views

USB WiFi adapter stops working after running netplan apply on Ubuntu Server 20.04

I would like to set up an active-backup bond for ethernet and WiFi on a freshly installed 20.04 server. I have installed wpasupplicant and wireless-tools with apt as indicated here. When I boot the ...
0
votes
2answers
6k views

How to disable WiFi interface with netplan?

My netplan config at /etc/netplan/wireless.yaml seems to be working well for my WiFi-to-USB adapter, but I seem to still get the native interface to come up. I would prefer to keep that down. Right ...
0
votes
0answers
240 views

use of TPM to generate and store a private key then to use this key and the associate certificate in a netplan configuration

I use an encrypted private key, the corresponding certificate, etc. to define the configuration of netplan with eap-tls authentication. Everything is fine so far but I have to protect the private key ...
0
votes
1answer
364 views

How to configure NetPlan as a wired 802.1X Authenticator?

I would like configure a wired Ethernet port to support 802.1X authentication. hostapd supports 802.1X authentication. How do I use hostapd with NetPlan? NetPlan supports the auth section for ...
1
vote
1answer
426 views

how to enable netplan to auto-adjust to different network interface names in cloned instances

I'm running Ubuntu 18.04 64-bit server. I do a clean install, set up all of my custom software, and all is good. I use clonezilla to create a master image, which I later clone. I deal with the ...
0
votes
0answers
114 views

Ubuntu 18 netplan Argument list too long

I try to add 8k IPs to my network interface with netplan, after adding all IPs to yaml netplan config and apply changes, I get the following error: /run/systemd/network/10-netplan-enp5s0f0.network:...
1
vote
1answer
571 views

Network speed for a 1/10 Gigabit card

I have a computer which has a "NetXtreme II BCM57800 1/10 Gigabit Ethernet" network card which I am trying to connect at 10 Gigabits/s but it is connecting at 1 Gigabits/s. It is running ...
0
votes
0answers
56 views

How to setup Ubuntu 18.04 to use two interfaces to access the internet?

I want to setup an Ubuntu 18.04 with two interfaces connected to the internet. The configuration is as: 4G 4G / ...
0
votes
2answers
2k views

Netplan on Ubuntu 18.04 with multiple interfaces connected to internet

I am using netplan to configure the interfaces on Ubuntu 18.04, but there are a few issues. First, the metric does not seem to be working as it is set to 0. Second, once I use networkd the whole ...
1
vote
2answers
11k views

Connecting to personal wifi on Ubuntu Server 20.04

I have followed a number of tutorials recommending different things with netplan for connecting to the internet. None of them have worked. Should i be trying to connect with something else? or should ...
1
vote
0answers
324 views

Multipoint GRE on ubuntu with netplan

I'm reading the netplan documentation and it looks like it does not support multipoint GRE (for NHRP via eg. OpenNHRP). It's the gap in the documentation or did netplan do not intentionally support ...
0
votes
2answers
63 views

Core 18: NetworkManager definitions do not support name globbbing

I'm trying to install core18 with kernel 5.4. Everything boots fine, but when I get into the initial configuration screen and try to set up my networking, I am presented with this error: Network ...
1
vote
1answer
147 views

Why is an interface now picking up a dhcp address after updating from 18.04 to 20.04?

I run ubuntu as a server and I have set a static IP address using netplan. Since I have updated from 18.04 to 20.04, eth0 has now started picking up a DHCP allocated IP address in addition to the ...
2
votes
0answers
197 views

Netplan configurations stop working after some time

I have this Ubuntu Server 18.04 LTS running and recently I changed my router subnet to 10.10.1.X. Also, I set DHCP to assign from 10.10.1.105 - 10.10.1.253 to other devices, since I want 100,101,102 ...
2
votes
1answer
1k views

create an alias on network card using netplan on Ubuntu server

how to configure two ip (192.168.140.10/24 - 192.168.57.192/25) on same network card on Ubuntu server 18.4.1.using netplan
0
votes
1answer
211 views

different gateway subnet on ubuntu makes network unreachable

Edit: The VM was moved from one hyper-v to another. In the first hyper-v it had a different IP, Mask and Gateway, and it worked. Then I moved it to the new hyper-v and changed the network details. I ...
0
votes
1answer
1k views

Ubuntu 18.04 how to add a static route to a single host?

I'm migrating from 16.04 where I had several NICs configured in /etc/network/interfaces like this: auto enp0s8 iface enp0s8 inet static address 192.168.0.5 netmask 255.255.255.0 up route add -host ...
0
votes
1answer
1k views

Set multiple wifi access points in Ubuntu 20.04

I am trying to configure the network in Ubuntu 20.04. I would like to set up several wifi access points under the same interface. I am using the following configuration right now: # This file is ...
5
votes
4answers
24k views

DNS issues after upgrading to 20.04

After upgrading to 20.04, both my wired and wireless networking lost access to the internet. I confirmed my drivers were working when I was able to resolve a ping to the Google nameserver 8.8.8.8. Now,...
0
votes
1answer
248 views

How to configure netns in xx.yaml?

Running on Ubuntu 18.04. Here is an example via command-line: sudo ip netns add testBB sudo ip netns list sudo ip netns exec testBB ip link set vnet4 netns testBB sudo ip netns exec testBB ip link ...
2
votes
1answer
1k views

IPv6 EUI-64, how to activate privacy extension on Ubuntu Server 20.04

In my home network I have dual IPv4 + IPv6 stack. IPv4 runs DHCP whereas IPv6 depends on SLAAC. On my Ubuntu Server 20.04 the /etc/netplan/00-installer-config.yaml file looks like this: network: ...
1
vote
2answers
371 views

Cannot use apt/curl/wget/git but can Ping

I have a raspberry pi running ubuntu server 20 and cannot connect to the internet, but can use ping. This question has been asked by many before, however the solutions provided in those questions do ...
9
votes
0answers
392 views

How to properly add two network interfaces with Netplan?

Problem Please check the picture here first, a visualization of my network plan. I'm trying to add two networks on same Ubuntu 18 server, one of them is vlan tagged. When I add the second network, ...
0
votes
0answers
152 views

(error code 28) Resolving timed out after 5000 milliseconds Ubuntu server - DNS?

Intent: I am trying to load images programmatically using cUrl, into Prestashop in a XAMP via SSH. What I tried: I have looked around and the issue may be on the setup of the server. I tried to change ...
0
votes
2answers
348 views

Create netplan bridge at Azure Ubuntu

My ubuntu18 hosted in Azure cloud. I tried setup bridge in netplan, but fail. original 50-cloud-init.yaml network: ethernets: eth0: dhcp4: true addresses: - ...

1
3 4
5
6 7
14