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
29 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
36 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
90 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
20 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
85 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
29 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
34 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
45 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
30 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
83 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
47 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
49 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
62 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
27 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
33 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
63 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
42 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
146 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
56 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
48 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
54 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
22 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
68 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"...
0
votes
0answers
79 views

netplan - Network with DHCP configured, but no internet

I am trying to configure my Ubuntu Server 20.04 LTS to use DHCP in its network configuration. Many tutorials on the internet recommend that I create the following file with the following settings... ...
0
votes
0answers
24 views

Use external files in NETPLAN

Is it possible to load an external file in one of NETPLAN's yaml configurations files? Similar to "source" in interfaces? My situation: I have an application that controls the network ...
0
votes
0answers
36 views

Netplan with one bond but multiple vlans in seperate file

Installed Ubuntu 20.04 and tried to understand the past few days the netplan configurations. The basic settings I get to work, but I am unable to achieve the below. Would be great if you can guide me ...
0
votes
1answer
56 views

Source of IP address

Probably a noob question, but I need some help in trying to determine where an IP address originates from. So I have a Raspberry 4 with Ubuntu 20.10 installed. I've initially configured a static IP ...
0
votes
1answer
59 views

NetworkManager can't update settings if Netplan config exists

I am using 18.04.4. I configure an interface using netplan (/etc/netplan/enp0s3.yaml), set a static IP, and set the renderer as NetworkManager. My file looks like: network: version: 2 renderer:...
0
votes
1answer
74 views

Why does Ubuntu for Raspberry Pi fail to connect to Wi-Fi on first boot?

The bottom of the network setup page of the "How to install Ubuntu Server on your Raspberry Pi" tutorial says, Note: During the first boot, your Raspberry Pi will try to connect to this ...
0
votes
2answers
99 views

Trying to configure a wifi bssid on netplan (need some examplesthat works)

I'm trying to force a wifi connection thru a specific 5GHz network using the bssid on netplan configuration but it always report an error when I ran netplan apply command. Here is my current ...
0
votes
0answers
57 views

Use ethernet and wifi simultaneously on Raspberry Pi 4?

I have a Raspberry where I use the standard Ubuntu 20.10 image with built in cloud-init support and it was always a hit and miss finding out which connection to use to get access to the device or just ...
0
votes
0answers
31 views

Ubuntu 20.04 no network connectivity

The computer is Kubuntu 20.04. I can't connect to internal network, over WiFi or cable. It gets dhcp address and fw shows activity, but ping doesn't work. I've tried to erase all wifi connections and ...
0
votes
0answers
82 views

How to configure IPIP tunnel via Netplan, including routes

I am trying to set up a IPIP tunnel in Ubuntu 18.04 LTS via Netplan config. I managed to set up the tunnel with routes from server A to server B with those ip commands: 85.ll.ll.ll is server A 85.rr....
1
vote
0answers
84 views

Netplan static route

I have IP X/31 and gateway Y and would like to add following route to interface eno1: ip route add Y dev eno1 ip route add default via Y How can I do that with netplan?
0
votes
1answer
88 views

Ubuntu Server Wifi without netplan

Ok, I am trying to setup Ubuntu Server on wifi as the place to keep it corded is not convenient. Is it possible to use network manager instead of setting up a netplan? I do not want to mess with a ...
1
vote
1answer
457 views

Routing IP addresses in Ubuntu 20.04

I have several servers on a private network, each with a private IP address assigned and a public IP assigned. I want the servers to only communicate with each other using their private IP addresses. ...
0
votes
2answers
113 views

Package 'netplan' has no installation candidate

I'm having issues with installing netplan in Ubuntu Server. I keep getting the error message "Package 'netplan' has no installation candidate. How would I resolve this issue?
0
votes
1answer
118 views

Install netplan on Ubuntu 18.04 with no internet

I somehow seem to have damaged an installation on my Ubuntu box so that I have no internet access. I currently don’t see any Ethernet details if I run ifconfig plus it seems that netplan Is no longer ...
0
votes
0answers
38 views

Netplan configuration following example on Netplan.io not working in 18.04 LTS for multiple IP addresses with multiple gateways

I'm having difficulty getting a freshly-built server running Ubuntu 18.04 LTS to use a second IPv4 address that is specified in its Netplan configuration file. The file, which is located at /etc/...
0
votes
0answers
88 views

Netplan try / apply breaks after apt update

Ubuntu 20.04 Server I've got a strange issue that I only get on a vm and not on any baremetal installs. After doing a clean install and configuring the network, netplan works as expected. However ...
0
votes
0answers
50 views

Configure route metric of tunnel using Netplan

Under Ubuntu 20.04 LTS focal I previously configured a net64 tunnel to use the HE-IPv6 service. Below is my config: . ├── 50-cloud-init.yaml └── 51-he-ipv6.yaml # 50-cloud-init.yaml network: ...
0
votes
0answers
36 views

How to set the ht/vht capabilities in netplan configuration file for wifi ap mode

Is netplan support configure ht/vht capabilities, 40MHz/80MHz channel width and other hostap properties, or only work with hostapd? Thanks
0
votes
0answers
29 views

Stop network bridging

I am looking for a way to stop user bridging networks, or just only have one active adapter at a time. In otherwise i don’t want the wifi enabled whilst Ethernet is active and the same reversed. This ...
0
votes
0answers
102 views

Netplan bridge master getting a static IP address instead of the bridge

I am trying to configure a bridge for KVM guests and host connectivity. The bridge is never configured right, the physical NIC always ends up getting the static IP address and the bridge is assigned a ...
0
votes
0answers
34 views

USB dev board changes MAC address on every reboot

beginner here, I have a small embedded linux system attached to a linux mini-pc via a USB cable. The embedded board uses 192.168.2.2 as a static IP. My laptop is on the LAN, the linux mini-PC is on ...
0
votes
1answer
135 views

Netplan configuration problems in Ubuntu 20.04?

I would like to know how could I change interface names in Ubuntu 20.04. I have configured the /etc/netplan/01-network-manager-all.yaml file as follow: # Let NetworkManager manage all devices on this ...
1
vote
1answer
67 views

How many virtual adapters can be configured with netplan on Ubuntu 20.04?

I have an ethernet interface on my Ubuntu 20 server machine called enp65s0f1. I want to create a number of virtual interfaces each with their own mac address and ip address that piggy back on this ...
0
votes
1answer
86 views

Netplan, cloud-init and Ubuntu Mate

I'm a novice with Ubuntu, and especially Ubuntu Mate that I have installed and have been using for a month now on a Raspberry PI 4 8GB. My issue is using static IP address configurations. Everything ...
1
vote
1answer
115 views

How to route all traffic to a dynamically configured default gateway?

Some context: I'm trying to create a virtual private network on my laptop using VirtualBox. I want the virtual machines to be inside a private network, so a virtual machine can only be reached by ...
1
vote
1answer
139 views

netplan is attempting to restart NetworkManager when renderer is networkd

I'm familiar with the old-style interfaces config, but not netplan. This is ubuntu server 20.04 LTS on a raspberry pi 4. I'm trying to configure a static IP address, so I'm following along with ...

1
2 3 4 5
14