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
62 views

Unable to add multiple static routes in netplan in Ubuntu 18.04 LTS

I have 2 interfaces on an ubuntu 18.04 LTS system. The primary f0 is for all the internet facing traffic and also vpn traffic. The f1 is for internal traffic. My netplan is as follows: ...
1
vote
1answer
99 views

Netplan configuration not persistent

I have my eth0 interface configured with netplan with static IP address. I have applied the changes using 'netplan apply'. The interface gets the static IP address so its fine. But after a while, ...
0
votes
2answers
309 views

Ubuntu 18.04 network adapter lost settings

I have a hosted server at hetzner which has personnel projects running on it. I've come to rely on it and sadly after an apt-get upgrade, I've rebooted and the network adapter doesn't seem to want to ...
0
votes
0answers
387 views

netplan apply required after reboot

I'm running 18.04.4 LTS with HWE. After a reboot, I must manually run "sudo netplan apply" to set the static IP described in 50-cloud-init.yaml: network: ethernets: renderer: networkd ...
0
votes
2answers
54 views

Two default routes: ethernet + wifi — error? consequence?

In my netplan config I have two interfaces: network: version: 2 renderer: networkd ethernets: ethusb1: dhcp4: yes dhcp6: yes wifis: wlp3s0: dhcp4: yes dhcp6: ...
2
votes
1answer
145 views

netplan: ethernet preferred if available, otherwise wifi, but with same static IP address

There is a similar question here : Netplan - Ethernet when available, wifi when not. Reconnect if needed But it has been down-voted, and the OP indicates it is obsolete. There is a long conversation ...
1
vote
1answer
83 views

Netplan does not disable IP v6

I have following in my netplan file (only one in /etc/netplan folder) network: ethernets: enp4s0f0: dhcp4: false dhcp6: false enp4s0f1: dhcp4: false dhcp6: ...
0
votes
1answer
49 views

netplan route source/destination yaml

I have network setup where I have dual nic’s connected directly with fibers to a device which sends data only. This device never listen. The problem is that this device only have one source address, ...
0
votes
0answers
91 views

Only last NIC in netplan config is accessible

Server has 4 NICs and one bridge (irelevant for discussion) configured by netplan. After running netplan apply --debug I get following merged config: DEBUG:Merged config: network: bonds: {} ...
0
votes
0answers
105 views

Error in network definition: Updated definition 'wlp3s0' changes device type

/etc/netplan/wlp3s0.yaml:3:9: Error in network definition: Updated definition 'wlp3s0' changes device type wlp3s0: ^ network: version: 2 renderer: networkd ethernets: enp4s0: ...
2
votes
4answers
2k views

Trouble Overriding DNS Servers via Netplan Config

I'm trying to override the nameserver settings in the netplan yaml configuration, but it doesn't seem to be working. Here's the /etc/netplan/01-netcfg.yaml file: network: version: 2 renderer: ...
1
vote
0answers
58 views

Bridging two interfaces together, forward traffic

I'm currently trying to create a setup that forwards traffic through a Ubuntu server to a switch, which then multiple servers will be connected to (each assigned an individual IP(s)) The Ubuntu server ...
0
votes
0answers
27 views

How to set 2 network addapters using virtualbox?

I have installed a VBOX virtual machine with Ubuntu 18.04.03 LTS in which I want to use 2 network connections, a NAT and a Bridge ones. Show when I enable this adapters and start Ubuntu virtual ...
0
votes
0answers
88 views

netplan bonding

Can anyone explain what I am doing wrong please? network: version: 2 renderer: networkd bonds: bond0: dhcp4: yes interfaces: - eno1 - eno2 - eno3 ...
1
vote
1answer
139 views

IPv6 source address selection with addrlabel (or similar) with netplan (or similar)

I have using something similar to How to enforce IPv6 source address selection with addrlabel at startup? to configure IPv6 address selection in Ubuntu 16.04. Now I am deploying Ubuntu 18.04 and the ...
1
vote
1answer
82 views

Unable to SSH 2nd NIC IP

Infrastructure : Microsoft Azure OS : Ubuntu 18.04 Issue : We have assigned 2 NIC card (same subnet). We are able to SSH with primary IP (20.71.0.21) address but unable to connect with secondary ...
0
votes
1answer
408 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 ...
1
vote
3answers
2k views

Vlan over Netplan in 18.04 LTS

Disclaimer: To this day I've been a lurker, still learning and for the the first time in 2 years, I didn't find any answer to my question, thank you very much for your read and I hope you'll take some ...
0
votes
0answers
142 views

Wifi 5GHz AP with netplan and hostapd

I need your help. I set up a WiFi access point on an ubuntu 18.04 server edition with netplan. It is said somewhere in the netplan documentation that hostapd config is used...I do not know if it is ...
0
votes
0answers
127 views

Ubuntu 18.04 broken installaton - Netplan

I have recently installed a fresh 18.04-lts ubuntu on a laptop. However, it is not possible to do much with it. The first task involves connecting the machine to wifi which has been failing ...
1
vote
0answers
308 views

Netplan won't connect to wireless network

I'm trying to setup a wireless connection for ubuntu server 18.04 via a USB wifi adapter (TP-LINK TL-WN8200ND v1.0). Started with NetworkManager, configured different drivers, cleaned my system and ...
-1
votes
1answer
200 views

Netplan not updating vlan

I have configured multiple Vlan under a single interface. For operations need we have to change two Vlan, so i have just changed the Vlan id and name only other all information like IP address, route ...
0
votes
0answers
234 views

How to set up static ip in ubuntu-server 18.04 using netplan on VM VirtualBox?

Now I'm trying to set up static IP using netplan in ubuntu-server(18.04) on VM VirtualBox. I can access ubuntu-server(in VM) using putty in my local desktop, but ubuntu-server cannot access the ...
0
votes
0answers
23 views

bridging wlan to KVM guests

running 18.04 I am trying to bridge a wireless LAN adapter so I can extend the network to KVM without routing any of the wireless traffic on the host - all using netplan. here is my config: network: ...
0
votes
0answers
87 views

How do I specify the BSSID of a wifi network to use with Netplan?

Alternatively, I could specify the channel, or the band. But in any case, I believe I'm suffering from USB3 interference in the 2.4GHz wifi on a Raspberry Pi 4, and I'd like a way to tell Netplan to ...
2
votes
0answers
1k views

Ubuntu 18.04.3: Windows Domain Join Guide

Good day. Over the last few days I have gone through every guide I could find for joining Ubuntu 18.04 to a windows domain. I have what I think is a working guide after much trial and error. Would ...
0
votes
2answers
93 views

Netplan on VPS with 5 NICs doesn't work simultaneously

I have properly configured the network on my host server and my virtual server (VPS(KVM)) able to communicate and reachable by one of three interfaces. Each of them works well, but I don't know where ...
0
votes
1answer
112 views

gnome apps think there is no network

I had to reconfigure my machine network configuration from dhcp to static IP by manually editing netplan config. Apparently, there is some GNOME related configuration leftover, because several ...
1
vote
0answers
337 views

Setup Public IP on Ubuntu 18.04 (on VM Player)

I have Ubuntu 18.04 Server guest, on Win10 Pro Host, on VM Player 15.5, I am in my home network. Need to setup public IP, went thru several threads etc - tried this: How to configure static IP address ...
0
votes
0answers
522 views

Netplan config not working for enp0s3

I am at my wits end here with Netplan. I just got a brand new install of 18.04 LTS Ubuntu server running in Vbox for testing. The network interface is running in NAT mode on Vbox and there is a DHCP ...
1
vote
1answer
370 views

Fallback to default IP on DHCP failure via netplan

Background I'm currently using netplan to configure a number of Ubuntu Server 18.04 machines. I have a number of machines (specialized test units with HASP dongles installed) that are literally bolted ...
0
votes
1answer
43 views

Why ping outbound to gateway, but no other hosts, nor inbound

I just setup a new 18.04 server install with one nic as DHCP from the gateway using netplan which appears as follows: network: version: 2 renderer: networkd ethernets: enp1s0: ...
0
votes
1answer
383 views

allow user to enable/disable network interface without root permission

i would like to allow a user without root permission to enable/disable a network interface from the command line, such as: ip link set ens18 down (ubuntu 18.04 with netplan) i would appreciate any ...
0
votes
1answer
62 views

Netplan bridge for VMS kills internet

Here is my netplan yaml file: network: version: 2 renderer: NetworkManager ethernets: eth0: dhcp4: true optional: true wifis: wlan0: optional: true access-...
0
votes
1answer
424 views

Auto config netplan for specific interface

After removing or adding graphic cards ( I assume it's true for any PCIe device ) my network interface always changes name. From something like enp4s0 to enp3s0. Tested on multiple devices, with 18.04 ...
0
votes
0answers
36 views

Netplan apply breaks LXD network

Soon as I run netplan apply, all my LXD containers become unreachable via their IPs. Then, I have to reboot the containers for them to reach the network again... My LXD Profiles uses Linux Bridges, ...
0
votes
1answer
320 views

YAML is annoying on DNS addresses: [8.8.8.8,8.8.4.4]

~# sudo netplan apply /etc/netplan/01-netcfg.yaml:16:18: Error in network definition: address '8.8.8.8' is missing /prefixlength addresses: [8.8.8.8,8.8.4.4] ^
0
votes
1answer
241 views

Server 18.04 Netplan with multiple interfaces on different networks with different routers

In short, my problem is this. I have a server with 4 active adapters. 2 are on one network (10.50.7.x/24), the other two are on different networks (10.4.1.x/24 and 10.224.1.x/24 respectively). The ...
0
votes
0answers
698 views

Netplan not applying correct MTU to VLAN

OS: Ubuntu 18.04.1 LTS (server) Netplan version: 0.98-0ubuntu1~18.04.1 I'm trying to configure 2 VLANs on a single physical interface with different MTUs. I'm able to get the MTU on the physical ...
0
votes
0answers
413 views

How to disable network adapter in Ubuntu 19.10 (post ifupdown era)

So with Ubuntu 19.10 ifupdown got removed from the default packages. This i found out in horror, after i was connected to my 2 networks at once, after a reboot (after upgrading to 19.10). For ...
0
votes
0answers
176 views

Netplan VLANs and no ICMP-reply

I don’t understand why some configured tagged vlans on my 18.04 LTS desktop don’r reply on ping. I’ve completely disabled NetworkManager, systemd-networkd is running and enabled. Here is my config; ...
1
vote
1answer
5k views

How to set default gateway in Ubuntu Server 18.04 with netplan

I have a single network interface on this server named enp2s0 This interface had a static address 192.168.2.xxx with gateway 192.168.2.1 Now I changed the static address in yaml file to 192.168.1.xxx ...
2
votes
1answer
750 views

Raspberry Pi 4B - Ubutnu 19.10 - Wired Network Unmanaged

I successfully Installed "ubuntu-19.10-preinstalled-server-armhf+raspi3.img", installed the updates and the Ubuntu Desktop. The wired network shows "Unmanaged" although I can use Firefox. Software ...
0
votes
0answers
1k views

SOLVED driver problems Netplan No WIFI Connection for 2nd WIFI Interface

I am trying to use a wireless USB device, 0bda:a811 Realtek Semiconductor Corp, on my Ubuntu 18.04 server. I am running the server on a very old machine that has a native WiFi speed of just 3 Mbit/s....
0
votes
1answer
301 views

How to enable screen sharing when using networkd in netplan in Ubuntu 18.04.3?

I have configured a bond and 2 other network ports in my netplan configuration file, which works fine. The problem I face now is that I can not find a way to enable screen sharing since no networks ...
0
votes
1answer
1k views

Disable dhcp4 on ubuntu 19.10?

I am running ubuntu server 19.10 on a raspberry pi. My pi is connected to a wifi router and to an ethernet switch, with interface names wlan0 and eth0 respectively. I want to create a static ip ...
1
vote
0answers
186 views

Ubuntu server 19.04 - share internet over ethernet

I have small nettop with Ubuntu Server 19.04 on it. On one side, a USB modem is connected (Huawei e5785) with network interface eth_lte. On other side ens2 - 5-port switch where are several computers ...
2
votes
1answer
542 views

Add new IP addresses in Ubuntu Server 18.04.1 LTS

I need to add new IP addresses to my server which runs Ubuntu 18.04.1 LTS, then I realised that Ubuntu 18.04 changed network configuration to use netplan. I read that all configurations are under /...
0
votes
0answers
27 views

how to backup all the net configuration files from a working ubuntu 19.10 and restore them on a non working 19.10

I've just upgraded ubuntu 19.04 to 19.10. The worst problem that I have is this : root@ziomario-Z390-AORUS-PRO:/home/ziomario# ping www.google.it ping: www.google.it: Errore temporaneo nella ...
0
votes
1answer
101 views

how to change netmask using netplan

I would like to change the netmask of an ubuntu 19.04 using netplan. I edited the only yaml file that I had, that is \etc\netplan\50-cloud-init.yaml network: ethernets: ens160: ...

1 2
3
4 5
11