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
1answer
36 views

Ubuntu servers timing out after changing netplan

My goal is simply to set a static IP using Netplan on Ubuntu server 20.04. My configuration leads to problems, possibly with name servers. Since I am working on a bare metal machine, I am configuring /...
0
votes
1answer
50 views

New install of ubuntu server, and networking is not working correctly with Intel 82579LM

So I have a Dell Optiplex 790 with a Intel Corporation 82579LM Gigabit NIC. So first problem I encountered is during installer, it said autoconfiguration failed, so I installed without networking. ...
0
votes
1answer
247 views

SRIOV support in netplan

I am using netplan nowadays and so far very happy with it but now i have question related SRIOV support. To create SRIOV VF i am using this command at startup in /etc/rc.local # echo '7' > /sys/...
0
votes
1answer
71 views

Unable to reach internal network. What am i doing wrong here?

network: ethernets: ens160: addresses: [172.16.1.181/24] dhcp4: no gateway4: 172.16.1.254 nameservers: addresses: [172.16.1.241] ens192: addresses: [192....
0
votes
1answer
1k views

Missing /etc/netplan/50-cloud-init.yaml

I want a static IP in 20.04 server. When directed to /etc/netplan/50-cloud-init.yaml, I notice I have no such file. I have /etc/netplan/00-default-nm-renderer.yaml and 00-installer-config.yaml. Why ...
3
votes
4answers
2k views

Ubuntu Server 20.10 - virtual interfaces in netplan

I am trying to add a virtual interface to a bare metal Ubuntu Server 20.10 installation. I've read that in pre version 20 this wasn't possible in netplan, and that people were reverting to ifup/ifdown....
0
votes
0answers
165 views

Ubuntu 18.04 with 2 interface. Netplan route not working

Here is my netplan yaml file. network: ethernets: ens160: dhcp4: no dhcp6: no addresses: [172.10.10.181/24] gateway4: 172.10.10.254 ...
0
votes
1answer
1k views

Ubuntu Desktop 20.04 - Netplan - Can't ping gateway, but DNS resolves

I'm new to Linux but a veteran with Windows, to start i'm working with Ubuntu-Desktop 20.04LTS - new install. When connected to the network via DHCP everything just works, however I need to set a ...
0
votes
2answers
286 views

Recommended way to deploy ppp/pppoe in Ubuntu 20.04 server ? netplan ? ifupdown?

What's the recommended way to deploy PPP/PPPoE in 20.04 ? Netplan doesn't seem to support that; Is ifupdown still the way forward even though it's going away ? Cheers,
0
votes
1answer
299 views

Bond fails to acquire DHCP lease on Ubuntu Server 20.04

I recently installed Ubuntu Server 20.04 to replace an ESXi server. During the installation, I configured a bonded interface for two ethernet interfaces. I configured the bond on my ZyXel GS1900-8 as ...
0
votes
1answer
675 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 ...
0
votes
1answer
104 views

Ubuntu 20.04 Internet Gateway not working after upgrade from 18.04

I've recently upgraded from 18.04 to 20.04 (on a server, no GUI), and since then the server is not able to connect to the internet, pinging the router and other devices in the lan still works.After ...
0
votes
1answer
145 views

Default gateway route being automatically added to main table

I have 2 network interfaces connected to my machine. (Fwiw it's an aws instance with the primary (default) ENI and an additional, secondary ENI attached, each with a public and private IP address ...
0
votes
1answer
210 views

Netplan dhcp not working. 2 minute startup delay Ubuntu 18.04+

I've seen a lot of this question, with no clear and ideal answer, so I am asking it myself. Ever since Ubuntu 18.04.3 (I think it was .3 that started it) through at least 20.04.1, I've been seeing a 2-...
0
votes
0answers
48 views

Settings in netplan are not applied

Need some advice. I have two network interfaces, I configure separate IP and routes for each. network: ethernets: enp4s0: dhcp4: no dhcp6: no addresses: - 192.168.0.222/...
0
votes
1answer
41 views

How to temporarily stop and start Networking by using Netplan?

I am using VM console to test services on Ubuntu 20.04. Sometimes I need to stop all networking temporarily but I can't find any cmd to stop netplan like nmcli networking off or systemctl stop ...
0
votes
0answers
96 views

How to set up an internal-only domain on Ubuntu 18.04

I am trying to set up a domain in my LAN, so that all my devices, which are attached to it, can access anything *.base.home (e.g. gitlab.base.home, nexus.base.home, che-che.base.home) and get ...
0
votes
0answers
79 views

WLAN on headles ubuntu 20.04

I'm trying to connect WLAN on a headless machine (RapberryPi 3 CM). I have a USB WLAN stick which gets recognized. I searched how to connect to WLAN via netplan config. I tried several solutions. The ...
0
votes
1answer
45 views

Having two interfaces and configured through netplan, VM not connecting to internet

My yaml file looks like this network: renderer: networkd ethernets: eth0: dhcp4: yes addresses: [192.168.1.209/24] gateway4: 192.168.1.1 nameservers: addresses: [1.1....
1
vote
2answers
309 views

How to specify a port number for DNS servers with netplan

Ubuntu 20.04 with netplan throws malformed address error when cloudflare dns over tls (1.1.1.1:853) is used. Netplan only excepts 1.1.1.1. Is there a way to configure DoT or DoH with netplan?
0
votes
0answers
91 views

Network Oddities since upgrading from 18.04 -> 20.04 (Persistent DHCP)

Apologies if this has been beaten to death. I've done about 6 hours of searching and testing myself and pulling my hair out. After a backup, I reluctantly agreed to upgrade from 18.04 to 20.04. Aside ...
0
votes
1answer
61 views

a user installed network manager, and it messed up netplan

So a user install network manger with "sudo snap install networkmanager" this killed the netplan config, so he used the console to remove networkmanager again. With sudo snap remove ...
0
votes
0answers
140 views

How to add multiple dynamic ip v4/v6 using netplan for both wired and wireless network?

Primarily, I need to add multiple IP addresses(v6-only) to both wired and wireless interfaces. I don't have static IP addresses and only acquiring my IPv6 address through Flet's IPv6 service, I guess ...
0
votes
2answers
118 views

nameserver change breaks server

I am using Ubuntu 20.04.1 LTS. I have very limited knowledge on how to set the network configuration after the installation of the server. I run a small subnet with one static IP server on it next to ...
0
votes
2answers
44 views

Is it possible to set static IP on only for specific network, but use DHCP everywhere else?

I'm asking in cases for laptops when I want to connect to the internet using wired setup. Would it be possible to apply my Netplan settings at one network only (i.e. my home), and have the default ...
0
votes
1answer
277 views

netplan switch connection on renderer networkd

I have installed on rpi4 8Gb an ubuntu 20.04 server image for rpi4 64Bit then I have installed ubuntu-desktop I have problem on wifi and setup this bug I have disable NetworkManager thinking the ...
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
0answers
39 views

Metric Number Not Applying to Interfaces

I am attempting to get 3 network interfaces working on my desktop: internet - 10.0.0.1/24 servernet20 - 10.20.0.1/24 servernet30 - 10.30.0.1/24 the metric numbers are not applying and for some ...
0
votes
1answer
339 views

Netplan, VLANs, and Nameservers (Where does all the info come from?)

I have netplan setup for one physical interface which in turn has a single vlan subinterface. Both the untagged interface and the vlan interface are statically addressed and have appropriate ...
1
vote
0answers
110 views

How to add default vlan (1) to an existing interface?

In sort of a unique position here...maybe. I know how to add vlans to existing netplan configs when the default is say, 192.168.1.1 (untagged)...but what about the reverse? My netplan config: ...
3
votes
1answer
226 views

Can't disable local addresses on network interfaces

My server: ASRock B450M/ac (RealTek 8111/8168/8411) Ryzen 5 3400G 64GB System Memory Rosewill RC-411v3 (RealTek 8111/8168/8411) My Computer: Ryzen 7 2700X 32GB System Memory MSI X470 Gaming Pro ...
0
votes
0answers
204 views

Change static ip address in netplan problem

I use ubuntu server 20.04. First i set static ip address in /etc/netplan/00-installer-config.yaml for the enp2s0 interface. Apply the changes good and i use the server for a cuple of weeks. The ip ...
0
votes
1answer
635 views

How can I set a static ip on a fresh installation of ubuntu 20.04 on my raspberry pi?

I have just installed Ubuntu 20.04 64-bit server on raspberry pi. I want to provide a static ip to it. I'm thinking of adding a configuration file under /etc/netplan/ (following these examples), but ...
0
votes
1answer
134 views

How do I configure the plan yaml file to send the hostname to the dhcp server?

I'm moving from raspian to ubuntu. On raspian, the dhcpcd.conf file could contain the line: hostname "foobar" which would send "foobar" to the dhcp server as the hostname. Very ...
0
votes
1answer
96 views

VLAN / Netplan / Ubuntu / configuration for static IPs creates additional dynamic IPs

I setup a ubuntu 20.04 as a server of IOT, multimedia, ... My Network is separated in different VLANS to control where the IOT devices are allowed to talk with. The Network itself is managed with ...
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
1answer
556 views

Can't figure out DNS configuration for Static IP on Groovy

I just set up Groovy server on a Pi4 and the configuration seems to be completely different than what I'm used to ... ex: resolv.conf is no longer involved in DNS config. I followed instructions that ...
1
vote
1answer
2k views

Ubuntu 20.04 KVM, netplan with bonding, vlan and bridges

I am preparing migration of an UBUNTU 16.04.7 server with 5 NIC's to 20.04. My testing server has 4 NIC's: 2 onboard and 2 as Intel Pro NIC. Configured in 00-installer-config.yaml. The first NIC is ...
0
votes
0answers
31 views

Connectivity Issues on Raspberry Pi 3a+

I recently installed Ubuntu 20.04 on my Raspberry Pi 3a+ in order to host a few Docker containers. Since it doesn’t have Ethernet, I set it up using Wi-Fi via Netplan and was receiving a link state ...
1
vote
0answers
110 views

Neptlan secondary IP addresse Ubuntu 20.04

I have to give my computer two IP addresses one to connect to the internet and one to reach other systems with pre-configuration IP addresses which i can‘t reach with my first IP address (different ...
0
votes
0answers
297 views

static IPs and netplan

I am trying to create static IP addresses in Ubuntu. I have studied posts, etc. and see that this info is /etc/network/interfaces. I noticed that the ethernet name, for instance is not consistent: ...
0
votes
2answers
87 views

netplan 3 interfaces 2 vlans

I need 3 IPs on my server (ubuntu 20). my netplan configuration look like network: version: 2 renderer: networkd ethernets: eno1: dhcp4: yes vlans: eno2: id: 200 ...
0
votes
1answer
356 views

Netplan bond fails using WIFI and Ethernet on rpi4 [closed]

I don't know if this might be a bug, so I'll start asking in here :) I'm running Debian on a RPI4 with Netplan controlling my network and both WIFI and Ethernet are working fine. But I'm running into ...
0
votes
0answers
48 views

set-name deactivates the interface

I have the following interface config (just a snippet): eth5: match: macaddress: MAC ADDRESSS optional: true dhcp-identifier: mac dhcp4: true and it works. Yet ...
0
votes
0answers
166 views

Netplan: How to give a specific NIC a specific name and IP Address

OK so here is the setup: The DHCP server assigns specific MAC addresses their IPs. The machine in question has mutliple NICs and their interfaces are named eth0-5. BTW only one NIC is connected, the ...
1
vote
1answer
56 views

Ubuntu 19.10 network problem with public IP - connects but cannot send anything (SYN_RECV) [closed]

I'm a linux newbie trying to setup a public IP address on ubuntu 19.10. My netplan file looks like this: # Let NetworkManager manage all devices on this system network: version: 2 renderer: ...
0
votes
1answer
67 views

Ubuntu under proxmox with plesk installed, can't get to receive traffic from two interfaces at same time

I have plesk installed in a ubuntu vm under proxmox on ovh. I have an issue where I would like to have another ip available on plesk to users can use the other ip too. I've added correctly but it ...
0
votes
0answers
171 views

NETPLAN — static route between interfaces, separate subnets --ubuntu 18.04

I apologize if this sounds like a network /linux noob situation but the new netplan /static routes is currently driving me nuts :( (and yes i know the class172 net is normally /16 but just like to ...
1
vote
1answer
252 views

Netplan with bonded NICs and VLANS and bridges not working

I have a netplan issue. Config is below. Bond seems to be working but I cannot connect to the network VLAN128 (br128) which is bridged on bond. The hardware and bonds worked before the server upgrade ...
2
votes
1answer
461 views

netplan how to set hostname via option 12

I run Ubuntu 20.04 based from the cloudimage... so netplan has its 50-cloud-init.yaml which just says .. use dhcp In the background it uses systemd-networkd as backoffice But how can I advise ubuntu ...

1 2
3
4 5
14