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
43 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 ...
0
votes
1answer
28 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.
1
vote
0answers
8 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
0answers
26 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
3k views

Setting up multiple network interfaces with netplan for a LAN and a direct connection

I am new to netplan and advanced linux networking in general so I am hoping someone might be able to help me figure out my problem. I have two machines, an unraid nas and an ubuntu 18.04 server. Each ...
0
votes
1answer
32 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'm wondering why it does generate the back-end configuration file on every system boot instead of generating it once and placing it inside ...
0
votes
0answers
9 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
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 ...
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
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
2answers
36 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
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 ...
4
votes
2answers
4k views

Netplan not connecting to hidden SSID Server 18.04.1 LTS

I've a problem with Netplan not connecting to WiFi network with hidden SSID. It works great if I'll make this network visible. But no chance with hidden one. Any options to configure that?
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 ...
3
votes
3answers
6k views

How to get Asus XG-C100C 10G ethernet card working on Ubuntu 18.04

Is there anything you need to do to get this network card working in 18.04? It was working fine in 16.04 with the “atlantic” driver built from sources provided by Asus. After upgrading to 18.04, I can ...
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
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
1answer
127 views

Ubuntu Server 20.04 LTS not reachable

my Ubuntu 20.04 LTS server looses its inbound LAN connection after some days of operation. The outbound connection works: I receive status e-Mails from that host. Bridged containers work as they ...
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
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 ...
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,...
2
votes
2answers
4k views

Failed to start netplan-wpa-wlan0.sevice: Unit netplan-wpa-wlan0.service not found

Setting up my rasbperry pi to work as my personal production testing machine. I've installed ubuntu server 20.04.1 LTS (RPI 3/4) 64bit and desperately trying to setup a wireless connection on it. ...
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
6k views

Netplan - configuring 2 vlan on same bonding

On my Ubuntu servers (16.04) I used to create a bonding between 2 interfaces and set 2 adresses on it from 2 different vlan. I can't manage to create the same configuration with Netplan for my new ...
1
vote
2answers
653 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 ...
3
votes
1answer
11k views

Netplan throws an error when attempting to load a config file, provides no details about what the error is

Doing a clean install of Ubuntu Server 18.04 on a new machine. Currently attempting to configure my Ethernet network interface to use DHCP using netplan. My config file, dynamic.yaml, reads as ...
61
votes
7answers
156k views

Ubuntu 18.04: switch back to /etc/network/interfaces

Starting sometime around Ubuntu 18.04, the Ubuntu devs stopped using the classic /etc/init.d/networking and /etc/network/interfaces method of configuring the network and switched to some thing called ...
0
votes
1answer
674 views

Access point with hostapd on ubuntu 20.04 server won't let clients connect

I've got an ubuntu gateway server with 2 network cards, on for the internet and one for the lan. I've just set up the wireless access point on the wireless device using hostapd but the clients fail to ...
1
vote
0answers
36 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....
15
votes
10answers
50k views

Netplan does not apply at startup

I installed Ubuntu 17.10 with latest updates on a vmware virtual machine. Netplan does not configure my 2 ethernets. Here is my /etc/netplan/01-netcfg.yaml network: version: 2 renderer: networkd ...
0
votes
1answer
130 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
1answer
276 views

hostapd vs netplan: wlan0 not added to bridge at boot

Like many people, I'm using a Raspberry Pi 4B running Ubuntu 20.10 arm64 as a LAN/wifi bridge, using hostapd and netplan. Everything works fine except that the bridge is not configured correctly when ...
1
vote
2answers
127 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
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 ...
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:...
1
vote
1answer
4k views

bond0: interface ens192 is not defined

I installed ubuntu 18.04, I trying to configure bond interface network: bonds: bond0: addresses: [10.11.6.119/24] gateway4: 10.11.6.1 nameservers: ...
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 ...
1
vote
1answer
1k views

Ubuntu 20.04. Two network cards. Netplan. Can't configure in parallel

I have a problem. There is a server. It has two network cards installed. Logically, one network card (enp4s0) for the Internet. Second network card (enp2s5) for network users to access the server (...
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
211 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
61 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
2 3 4 5
14