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
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
223 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
112 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
49 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
59 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
84 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
171 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
162 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
135 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
34 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
188 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
90 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
89 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
493 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
188 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
293 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
59 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/...
1
vote
0answers
139 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
59 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
47 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
31 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 ...
1
vote
0answers
133 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
37 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
157 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
76 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
117 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
201 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
275 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 ...
0
votes
1answer
212 views

Only lo interface in /etc/netplan Ubuntu 20.04

I build a PC with a Gigabyte GA-MA790XT-UD4P motherboard. And i installed Ubuntu 20.04 as OS. But i realized i was not connected to the internet. Until suddenly i saw that my Ubuntu machine only has ...
0
votes
1answer
98 views

how to make my /etc/network/interface config work for netplan

I have the following config from 18.04 that im bringing to 20.04: auto lo iface lo inet loopback auto enp0s31f6 enp0s31f6:1 iface enp0s31f6 inet static address 10.42.2.2 netmask 255.255.255.0 iface ...
0
votes
1answer
138 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
1k views

Ubuntu 20.04 static route on netplan without gateway address

I am routing virtual machine's IP through the host (I have my reasons). ip a a 172.16.0.50/32 dev ens3 (VM's main IP) I add routes for routing packets to the host's main IP (which acts as a router): ...
0
votes
1answer
298 views

Trouble adding IPv6 static route in netplan

I'm having trouble getting netplan to accept this IPv6 static route: sudo ip -6 route add fec0:abcd:250:1::6/64 via fe80::8ad9:8f00:93d6:4960 dev ens1f1 In my yaml file I've tried: ens1f1: ...
0
votes
1answer
129 views

How to set IPV4 address disabled in Ubuntu 20.04 using netplan?

I am trying to set IPV4 address as disabled. but it is setting a link-local address. Here is my config.yaml. If i apply netplan apply, link-local ipv4 address is set for the connection with ipv4 ...
0
votes
0answers
49 views

VLANS on Netplan break ping/ssh

Took me a while to figure out correct format for Netplan to work properly with vlans. Anyway, this applies properly but breaks ping and ssh on both vlans. I would also rather only have the ip ...
0
votes
0answers
33 views

Can't authenticate to AP created with Netplan

I have created a wi-fi network on an Ubuntu 20.04.1 server with netplan. If the network is open with no password then I can connect just fine and life is good. I can still see the network when I have ...
0
votes
1answer
118 views

Ubuntu focal 2 networks , two default gateways ==> no connectivity

I am using Ubuntu Focal 20 uname -a Linux domaintf 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux with 2 netowrk interfaces 1: lo: <LOOPBACK,UP,...
0
votes
0answers
35 views

Netplan: routes and different IP , how to configure it?

I spent the whole morning trying to solve this. I have two IP addresses available on the same interface (different gateways), let's say 100.100.100.100 and 200.200.200.200. My YAML is: network: ...
0
votes
1answer
100 views

USB Wifi Dongle changes MAC Address on every boot - How to prevent this?

Ubuntu 20.04.1 LTS runs on an Odroid C4 development board. WiFi works fine with an USB dongle with RTL8811AU chip, but the MAC address is different after each boot. How can I ensure that the MAC ...
0
votes
0answers
214 views

How to configure Netplan in Ubuntu 20.04 to accept DNS server received from IPv6 RA

I have successfully configured router to advertise IPv6 prefix along with IPv6 address of DNS server. Windows based IPv6 clients accept those RAs and self configure IPv6 address with given prefix and ...
0
votes
1answer
742 views

How do I configure a vlan-linked bridge in netplan to serve a VM?

My problem is basically that, when trying to use a bridge on a vlan interface, I don't have network to my VM, and I'm not sure what I'm missing. I have tried the setup detailed in the examples. As ...
0
votes
0answers
24 views

How do I “unassociate” interfaces with a bridge in netplan? I want to revert to the state before setting up a bridge

I set up a bridge (br0) and associated with my ethernet interface (eno1) by adding to /etc/netplan/00-installer-config.yaml network: ethernets: eno1: dhcp4: true version: 2 bridges: ...
0
votes
1answer
81 views

Unable to disable link-local auto configuration in Ubuntu 20.0.4.1 with netplan

After half a day of googling, searching, reading, adding/removing packages (mostly avahi things), trying/playing with netplan on this Ubuntu 20.04.1 test machine, I am unable to disable link-local ...
0
votes
0answers
1k views

Adding a domain suffix to the DNS search in Ubuntu 20.04

I have a laptop running 20.04, and wish to be able to address hosts on my network by just their hostname, instead of having to specify the full fqdn every time. The following is my current /etc/...
0
votes
0answers
22 views

18.04LTS - Two NICs (NIC and Bond) same subnet, prioritize traffic on Bond #1

I have two NICs (one NIC and 1 Bond to be exact), but both are on 192.168.0.X subnet. I wanted to keep a secondary NIC on the same subnet in case my Bond goes down. Netplan, the NICs, and the Bond are ...
0
votes
1answer
293 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
0answers
398 views

cannot connect to wwan0 interface

apologies in advance if this is a stupid question. so i am trying to setup a network connection to my 4g modem using netplan like: network: version: 2 renderer: networkd ethernets: ...
0
votes
0answers
83 views

Using Netplan to setup a static IP for a cluster of devices connected via ethernet

I'm coming from NetworkManager world, so bear with me. I can do this on Ubuntu if I change Netplan's rendered to NetworkManger, but I'm hoping to learning the more native approach. I have four devices ...
0
votes
1answer
376 views

How do I set up bridges and vlans with netplan

I'm trying to ready my network for running some VMs. As far as I could read, the way to go is to create a bunch of bridges from my physical ethernet interface (perhaps even bond the two I have?), and ...

1
2
3 4 5
14