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
1
vote
1answer
23 views

Can't ping after adding secondary network interface in aws ec2

Ubuntu version 20.04. First we created a 2nd private IP on the only (primary) network interface. Both private IP addresses could be pinged. Now the instance has 2 private IP addresses, 1 public IP ...
0
votes
1answer
32 views

How to set ip address correctly?

I apologize in advance if my english is bad i want to ask how to set the ip address, i have written this command, and then saved ctrl + x > Y > enter but the result doesn't match I've been ...
0
votes
1answer
60 views

netplan: Why does it generate the back-end configuration at boot time and what is the consequence?

I'm trying to understand how netplan is working exactly and I get stuck at the following technical design concept: From netplan introduction: During early boot, the netplan “network renderer” runs ...
0
votes
1answer
15 views

netplan gre tunnel

I want to add gre tunnel in netplan. name: gre0, mode: gre, remote: 10.11.22.100, local: 10.11.22.99, dev: eth1 I don't know what key value to put interface eth1 into gre0. network: version: 2 ...
0
votes
0answers
54 views

Static IP is disappearing after restart Ubuntu Server 20.04.2 : Please help

I have a Ubuntu 20.04.2 Server version template. I have configured IP addresses, Name servers gateway4, etc. as per the process via netplan. Whenever I am deploying VM from that template and provide ...
2
votes
1answer
62 views

How many VLAN bridges does netplan support?

in a lab network I try to virtualize a router that routes between multiple VLANs [2]. The Hypervisor runs Ubuntu 20.04. However, I can only setup 21 VLAN bridges on the Hypervisor. As soon as I add ...
0
votes
1answer
29 views

Ubuntu server 20.04 SSH tunneling

Currently I'm running Ubuntu server 20.04. Right now If am connected to ExpressVPN then the SSH got disconnect immediately. How to allow ssh to the server while it's connected to VPN.
0
votes
2answers
37 views

netplan yaml file apply error while setting up Bridge and Bonding port on Ubuntu server 18.04

I try to setup a bridge and bonding port on Ubuntu 18.04 server, got a error message: /etc/netplan/00-netcfg.yaml:15:33: Error in network definition: unknown key 'interfaces' ...
0
votes
0answers
24 views

Source Routing on Ubuntu 20.04

i have an ubuntu server with 3 nics (eth0, eth1, eth2). i want to configure the mgmt traffic (ssh & internet access for this server) via eth0. eth1 & eth2 are connected to a network switches. ...
0
votes
0answers
21 views

DAC Bonding in Ubuntu 20.04

This is the first time I've used netplan and bonding with limited experience in Ubuntu 20.04. I have the configuration below that bonds two DAC interfaces together on a VLAN separate from eno1. It ...
0
votes
0answers
32 views

netplan howto configure numtxqueues numrxqueues values

I don't find any information about how to configure numrxqueues and numtxqueues with netplan. I am using Ubuntu 20.04. How do I configure values with netplan? For example with ip link tools: ip link ...
0
votes
0answers
17 views

ubuntu 20.04 I want to leave the result of netplan apply in syslog

I want to leave the result of netplan apply in /var/log/syslog about success or failure. In case netplan apply fails, if the file is not valid, I want to put the contents of the error in the failure ...
0
votes
0answers
22 views

Netplan configuration issues

i have issue configuring netplan on a ubuntu machine i want to use as a router. i previously used a centos docker where the configuration was in /etc/network interfaces. I tried to translate it to ...
1
vote
0answers
38 views

Ubuntu 20.04.2…Bonded NICs as TRUNK interface…assign IP from a specific VLAN to the bonded NICs?

I am attempting to setup BONDED NICs (2x 10G). We have 6 total NICs, 4x 1G and 2x 10G, do not plan to use the 1G connections at this time. Looks like I have the NICs bonded (no errors in networkctl ...
0
votes
0answers
26 views

After setting up an a Static IP address on netplan, I cant access the internet

I am currently using ubuntu LTS and I am trying to set a static IP address because I plan on using K3sup. After doing some research, I have changed /etc/netplan/50-cloud-init.yaml to these settings # ...
0
votes
0answers
17 views

“Ubuntu 18.04.5 LTS” netplan interface still configuring

1.Lenov0 SR650 with fresh installed "Ubuntu 18.04.5 LTS" 2.Ethernet Connection X722 for 10GBASE-T - 2 ports After reboot ,eno1 interface , that connected to network doesn't obtain IP from ...
0
votes
1answer
28 views

Netplan config files overwriting each other

According to this answer the applicable netplan config is the union of all config files. If two config files configure the same interface differently or otherwise have conflicting information, which ...
0
votes
0answers
23 views

18.04 Server with CAN bus and netplan configuration

In Ubuntu server 18.04, what is the best way to use netplan to configure ethernet interfaces, AND configure and use CAN interfaces? I can successfully use netplan to configure my ethernet interfaces, ...
0
votes
0answers
25 views

What is the purpose of Netplan in Ubuntu? [duplicate]

Recently I've decided to find out how to configure the network in Ubuntu 20.04. Several years ago I used /etc/network/interfaces for this purpose, but now everything changed. As I've found for Ubuntu ...
0
votes
1answer
108 views

Netplan config file not disabling dhcp

I've setup ubuntu 20.04 desktop version on a PC that has 2 NICs. I have uninstalled network-manager and just want to simply have a static IP on each interface. I've got the netplan .yaml file setup ...
0
votes
1answer
42 views

How do I create a wireless access point using only one wireless NIC but 2 different SSID:s?

I would like to create a wireless access point using only one wireless NIC but having 2 different SSID:s, is this even possible? It would be perfect if clients connecting to the different SSID:s also ...
1
vote
0answers
37 views

Questions about ap mode with netplan

I use Ubuntu Server 21.04 and Raspberry Pi CM4. I want to create an ap wifi, so I add the following to /etc/netplan/50-cloud-init.yaml: wifis: wlan0: dhcp4: no addresses: [192.168....
1
vote
2answers
666 views

Cockpit Software Updates - Loading available updates failed - Cannot refresh cache whilst offline

On a Ubuntu Server LTS 20.x, with renderer : networkd, LAN / WAN Connectivity are all properly fucntional. However in Cockpit > Software Updates, it gives the error message: Loading available ...
0
votes
1answer
132 views

Is there a way to create an Open vSwitch internal port with netplan?

As per the Title really. I can't work out if there's a way to do this or not. The only mention of ports in the docs are "patch ports" as pairs of ports. The example shows the use of these ...
0
votes
0answers
42 views

Netplan - Create multiple access point

I want to setup two access point on two dedicated wifi interface, using ubuntu server 20.10. I configured netplan, but only one interface runs as AP! Netplan YAML configuration file: network: renderer:...
0
votes
0answers
46 views

Issues with Netplan - Static IP

With the release of Ubuntu Server 20.04 I've had some weird issues concerning Netplan. I'm a student so I use Ubuntu Server as a virtual machine and I have to move a lot (which means, changing IPs all ...
1
vote
2answers
129 views

Error in network definition at netcfg.yaml file: unknown key tunnels

I'm using Ubuntu 18.04 bionic. when I try to configure GRE Tunnel in the netcfg.yaml file I encounter an error: Error in network definition //etc/netplan/01-netcfg.yaml line x column x: unknown key ...
0
votes
0answers
43 views

Unable to access the internet from one server in an Internal Network through a proxy server with NAT enabled

I've created a small virtual network on Virtualbox with three Ubuntu 18.04 servers: Server1, Server2, Server3, which I plan to expand as my learning progresses: All three servers are able to ...
0
votes
0answers
49 views

Installed 18.04 Server and netplan was NOT installed

Installed 18.04 on an older Dell server. Netplan was not installed nor was the /etc/netplan directory created. I attempted to update the /etc/network/interfaces file with the DNS nameservers (I used ...
0
votes
1answer
177 views

Network Problem on 20.04.2 - Ethernets Off, Netplan Config Ignored, Segfault in Log

We have a small NAS server running Ubuntu 20.04.2 on hardware (i.e. not a VM), and the network suddenly died in a strange way yesterday morning. I've been trying to fix it myself for over a day now, ...
0
votes
1answer
23 views

Can netplan bring down the routing for an interface entirely if another interface has a priority route-metric?

I figured certain quirks with networking in several libraries that I do not want to deal with fixing individually are gone if the interface that is not the priority route-metric is taken out of the ...
0
votes
2answers
213 views

Network Configuration Gone - Unable to Reset or Apply Netplan

I'm not sure what's going on or what happened. I run an Ubuntu 20.04.2 LTS machine headless. It performed an update sometime overnight and when I logged in, it prompted me that it needed a reboot. So ...
0
votes
1answer
44 views

netplan conflicts when changing AP when rederer: NetworkManager

I'm having some problems setting up the "access-points": in netplan , when the renderer: NetworkManager . My yaml is cat /etc/netplan/00-installer-config.yaml network: version: 2 ...
1
vote
0answers
62 views

netplan.io update left my vps without connection

Doing regular updates on my Ubuntu 20.04 LTS vps, one of them was netplan.io. After that upgraded, the rest of updates failed. This has apparently left my vps without connection. I cannot ping out or ...
0
votes
2answers
54 views

WiFi AP's have no internet connectivity after seting up IPTABLES

I have set up an Ubuntu 20.04 SERVER to act as a Gateway/Router. Now that the gateway is functioning, I now no longer have WiFi access via several AP's in my house. I am able to connect to the AP's, I ...
1
vote
1answer
61 views

Remove Secondary DHCP IP Address

My system: Ubuntu 18.04 netplan 1.10.1-5build1 My /etc/netplan/50-cloud-init.yaml... network: version: 2 ethernets: eth0: dhcp4: false addresses: [192.168.1.8/...
1
vote
1answer
104 views

Is Netplan capable of setting link negotiation settings?

I set a static IP with Netplan on my desktop, but the link negotiation keeps resetting to "Ignore" every reboot on my Plasma desktop. How can I make it permanent?
0
votes
1answer
57 views

why is ubuntu assigning ip 127.0.0.1

I cannot figure out why ubuntu 18.04 is assigning a ip address of 127.0.0.1 I set my netplan network: version: 2 renderer: networkd ethernets: enp3s0: dhcp4: true any ...
0
votes
0answers
57 views

Netplan/ubuntu explained

I am still learning. My intent with the following netplan/ubuntu setup was to change my ip address to my ubuntu VM server (ubuntu 18.04) so I cut and pasted the following: network: version: 2 ...
0
votes
1answer
199 views

netplan - match physical ifs only

I'm using netplan on 20.04 (Focal) and would like to match only physical ifs in one of the stanzas. if I use: ethernets: dmz0: match: macaddress: b8:a3:86:70:cc:e6 name: dmz*|en* ...
1
vote
1answer
33 views

How to selectively alternate between DHCP and Static IP from Network Dialog, Ubuntu 20.04

I desire to be able to connect LapTop EtherNet port to either a DHCP router OR a static IP 3D Printer. I have a EtherNet connected 3D printer, to which I have a CAT5 cable directly connected between ...
1
vote
1answer
40 views

Why is nic renaming every reboot? - Ubuntu 20.04 LTS

It was enp4s0, now it's enp10s0, and what was enp9s0 is now enp5s0. I'm getting scared to reboot as that might kill networking until I KVM to it. Running Ubuntu 20.04 LTS. Since I have my 10G nic ...
1
vote
1answer
128 views

Making Ubuntu 20.04 into a Router: something keeps adding default route for the lan interface

I have read a lot about NetPlan - it sounds awesome compared to the old interfaces file... But everything I've tried generates a default route to the lan interface - (which disables access to the ...
0
votes
1answer
47 views

netplan - conditional loading of config

I have a yaml for my ethernet connect and a yaml with various access points defined for my wifi. I want to load the wifi yaml only if the ethernet connection is not available.
1
vote
1answer
600 views

Invalid YAML: Aliases are not suported

I'm getting this error with network manager 12:1: Invalid YAML: Aliases are not supported This is the YAML file: How can I solve this?
0
votes
1answer
123 views

Ubuntu 20.04 network interfaces

Is there any way to change configuration of IP address like in old distribution like 17.10 and 11.04. For example I've changed Ip address in /etc/network/interfaces but in 20.04 it's impossible to do ...
0
votes
1answer
57 views

Netplan default route metric 0 is a big problem

Hi I have set up a simple router using Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-42-generic x86_64). It is a virtual machine. The objective is that all traffic arriving on the first network card(eth0) is ...
0
votes
2answers
73 views

netplan using wrong backends

Background I have a netplan .yaml configuration file in /etc/netplan/. The first few lines are as follows: network: version: 2 renderer: networkd ethernets: # ...and so it continues... When I ...
0
votes
0answers
28 views

No IP after link outage

I have a 20.04 LTS server with two static addresses set. The system applies the correct static IP addresses on boot up but if the physical link goes down/up for any reason (switch reboot for example) ...
0
votes
1answer
194 views

Changing WiFi MAC address on Raspberry Pi 4 Model B with Ubuntu 20.04.2 LTS

I am not confident to report a bug but at least some confusing/unexpected results. Googling the first 20-30 results on the topic "ubuntu change mac" and "ubuntu change mac netplant"...

1
2 3 4 5
14