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.

250 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9
votes
0answers
2k views

Ubuntu 18.04.2 LTS server - network configuration problem during setup

Has anyone had the same problem? When installing from current server iso's in a VMWare VM and without a DHCP Server present, both Ubuntu installers are not able to manualy configure a ethernet ...
7
votes
0answers
90 views

How to properly add two network interfaces with Netplan?

Problem Please check the picture here first, a visualization of my network plan. I'm trying to add two networks on same Ubuntu 18 server, one of them is vlan tagged. When I add the second network, ...
5
votes
1answer
3k views

Can “netplan” be used with OpenVPN

I'm using Kubuntu 17.10, and use OpenVPN to connect to my corporate network. Since Ubuntu moved over to the new "netplan" way of doing network related things, I have found that several things in ...
3
votes
1answer
748 views

Bridging LAN and WIFI using netplan not working and killing AP

I'm trying to extend my local LAN network via WiFi and would like all devices in the same network. The setup is as follows: DHCP/DNS server running inside the LAN separate PC linked to the LAN, with ...
3
votes
1answer
3k views

netplan error, unknown key nameservers

I have an error, but not a spelling error. Here is my netplan config: network: ethernets: ens32: addresses: [172.16.120.74/16] nameservers: addresses: [127.0.0.53, 172.16.1....
3
votes
0answers
2k views

Ubuntu Bionic Server edition + Netplan: Not getting static IP on a ethernet connection

Problem: I cannot get a static IP on the ethernet port. Aim: Trying to setup a static IP on the Realtek built-in ethernet (enp3s0) port so I can connect the server to my desktop via a crossover cable....
3
votes
0answers
972 views

Netplan wireless bridge Ubuntu 18

I am trying to create a bridge for my wireless NIC (wlp4s0) with the intention to provide direct access to it from a KVM. I also intend to share the ethernet NIC the same way, but am only having ...
3
votes
2answers
5k views

How to add static route with preferred source via Netplan in 18.04?

I want to use loopback alias IP for all outcome IP traffic from my Ubuntu server directed to some subnets. In /etc/network/interfaces that can be done by post-up statement with something like: /sbin/...
3
votes
1answer
2k views

Ubuntu 18 Server GRE tunnel with netplan?

How do I create a GRE tunnel with netplan? Previously in /etc/network/interfaces, I would do.. iface gr0 inet manual pre-up ip tunnel add gr0 mode gre remote 10.10.10.10 local 10.20.10.10 dev ens33 ...
3
votes
0answers
1k views

Server 18.04: netplan, avahi and DHCP combination

For a long time now I have been looking for a means to replicate Window's IPv4 assignment behaviour. That is, first try DHCP and on failure switch to link-local addressing. So far I failed to find ...
3
votes
0answers
2k views

Network setup with Netplan and bridges

I'm having an issue where any bridge I create with netplan doesn't get an address. The following starts my NIC and I get a DHCP address: network: version: 2 ethernets: enp0s3: ...
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 ...
2
votes
1answer
534 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 /...
2
votes
0answers
421 views

How to change NIC settings (ethtool settings) via netplan?

https://netplan.io/design requirements section includes "ethtool settings", but that is the only mention of ethtool on the netplan web site Based on the hint in netplan.io/faq, I put the "ethtool -G" ...
2
votes
0answers
876 views

Ubuntu 18.04 - why netplan still adds DHCP address?

I'm using Ubuntu 18.04. I added a new NIC (network interface card) to the box and I disabled the old one in BIOS. This is obviously required to amend a configuration. I just simply swapped eth0 with ...
2
votes
0answers
209 views

Netplan - Multiple Nic config

I have a netplan config as follows on fresh install of 18.04: network: version: 2 renderer: networkd ethernets: ens224: addresses: [192.168.10.10/24] nameservers: ...
2
votes
0answers
2k views

Bond slave got IP-address from DHCP in Ubuntu 18.04

I setup up a bond with 2 devices in ubuntu 18.04. It looks like the bond0 is comming and i can ping it, but the physical interfaces got an IP-address from my DHCP-Server, too. IP-address of ...
2
votes
0answers
231 views

Ubuntu 18.04: Host name changes spontaneously from FQDN to PQDN in DNS

We are running Ubuntu 18.04 LTS with networking configured by Netplan. The network has a Windows DHCP server and a Windows DNS server. The Ubuntu 18.04 machine uses this Netplan cfg file to obtain a ...
2
votes
2answers
805 views

Routing IP addresses in Ubuntu 18.04

I have been scratching my head about this all day. Basically, I have several servers on a private network, each with a private IPv6 address assigned and a public IPv4 and IPv6 assigned. I want the ...
2
votes
1answer
3k views

18.04 - How to disable temporary/privacy IPv6 addresses?

I have 18.04 installed and I'm using it as jump box to reach other things. Some of the things I need to access are only reachable via IPv6 and expect me to connect from a specific IPv6 address so my ...
2
votes
0answers
3k views

Netplan - Bridging over a bond on Ubuntu 18.04 KVM host

Sorry in advance for the long post, this has been rattling me days. I've got a server with 4 NIC (eno1, eno2, eno3, eno4). I'm trying to establish the following setup: Host - Ubuntu Server 18.04 ...
2
votes
0answers
1k views

How do I configure Kickstart network settings with Ubuntu 18.04?

I saw that in Ubuntu Server versions 16.04 and prior, there used to be a way to auto-configure the SystemV networking part of the Ubuntu OS in unattended installs via Kickstart files. However it seems ...
2
votes
0answers
813 views

Port Forwarding Ubuntu Server 18.04 with netplan and ufw I have a server with 2 network interfaces

I have an Ubuntu server 18.04 with 2 network interfaces. enp1s0 has ip address 192.168.0.1/24 enp2s0 is connected to DHCP I am looking to forward port 8080 from any incoming traffic connected to ...
2
votes
1answer
983 views

How can I override netplan's per-interface nameservers, rather than appending to them?

I have an DigitalOcean server that's being configured via cloud-init. With Ubuntu Bionic Beaver, this creates a netplan file in /etc/netplan/50-cloud-init.yaml that contains nameserver addresses. ...
2
votes
0answers
2k views

Setting up PPPoE wired connection in Ubuntu 18.04.1 Bionic Beaver (Desktop Version)

My ISP provides PPPoE connection with username, password and service name and binds my MAC Address. Since I have connected my router to the WAN, the MAC Address of the router has been bound in their ...
2
votes
1answer
874 views

Netplan & samba-ad-dc

I'm running an active directory on Ubuntu 18.04. I previously had one on 16.04 and it ran fine; I'm just rebuilding it with the new version and streamlining some stuff. Anyway, it works, but not on ...
2
votes
1answer
2k views

Netplan renderers

I'm trying to locate the configuration files netplan creates on the back end (depending on the renderer used). Example: network: version: 2 renderer: **networkd** ethernets: ens160: ...
2
votes
2answers
3k views

netplan bridge: no connection to/from virtual machine

I'd like to setup a brigde on my host (Ubuntu 18.04 server) to get a connection to the internet from/to my virtual machine (also Ubuntu 18.04 server), both with netplan. The host is a dedicated ...
2
votes
0answers
848 views

Share Internet to Ethernet network from wireless connections with netplan

A computer 1 (on Ubuntu server 18.04) is connected through wireless to an access point and through Ethernet to a switch. A computer 2 (resp. 3) is connected to 1 through the switch (resp. the wireless ...
2
votes
0answers
5k views

netplan bridge for one static interface not working

I have a static ip address for interface eno1 which should become a bridge for kvm/qemu. My netplan configuration (Ubuntu 18.04) for the static ip looks like this and is working: network: version: ...
2
votes
2answers
4k 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 ...
1
vote
0answers
23 views

Dual NIC silently rejecting all incoming traffic from one interface

In my server, I have two ethernet cards: enp0s17, local IP 192.168.0.7, router's public address x.x.x.x, netmask 255.255.255.255 enp0s18, local IP 172.16.0.7, router's public address y.y.y.y, netmask ...
1
vote
0answers
35 views

Netplan configurations stop working after some time

I have this Ubuntu Server 18.04 LTS running and recently I changed my router subnet to 10.10.1.X. Also, I set DHCP to assign from 10.10.1.105 - 10.10.1.253 to other devices, since I want 100,101,102 ...
1
vote
2answers
77 views

Cannot use apt/curl/wget/git but can Ping

I have a raspberry pi running ubuntu server 20 and cannot connect to the internet, but can use ping. This question has been asked by many before, however the solutions provided in those questions do ...
1
vote
0answers
22 views

Ubuntu 18.04 Multi Network Interface doesn't work well

I'm running Ubuntu 18.04 LTS on HPE ProLiant DL360 gen9, and I have a trouble on networking. I write a config for netplan as follows. network: ethernets: eno1: dhcp4: true dhcp6: ...
1
vote
0answers
526 views

netplan: connecting wifi fails (BCM4360)

I have two ethernet interfaces and a wifi interface installed. I want the wifi as preferred network and connect via ethernet, if the cable is plugged in or wifi is unavailable. But, I don't manage to ...
1
vote
1answer
265 views

Auto Connect to WPA Personal WiFi on startup | Ubuntu Server 18.04

I've set up Ubuntu Server 18.04.4 LTS on a PC to install a medical software for use in my clinic in Ethiopia. I wanted to connect it to a WPA Personal wireless network. Since I don't have an Ethernet ...
1
vote
0answers
33 views

Multiple NIC Configuration Stopped Working ( Multiple NIC on Same Subnet) Routing Issues

Server : Ubuntu Server 18.04.4 Router : pfSense 2.4.4 Switch : tp-link TL-SG1016DE The Short : How do I configure multiple NIC on the same subnet/VLAN? Would like traffic that goes in one NIC to ...
1
vote
1answer
55 views

Local DNS dissapears from resolver after a while

Ubuntu 18.04 desktop upgraded from 16.04. I have a strange problem that I can't solve. After upgrading, I continued doing the network config as I always have (interfaces, resolv, ...) before I ...
1
vote
0answers
49 views

DNS setting randomly changes

Update Seemingly went away on it's own. Please close. The problem My Custom DNS-Server is randomly not queried anymore. The Setup I am using Ubuntu 18.04 and I have my own DNS server in my ...
1
vote
1answer
318 views

How to troubleshoot network problems for virtual machines connected via a bridge (Ubuntu 18.04)

On my server (Ubuntu 18.04 LTS) I am running a KVM virtual machine which has been running fine for over a year or so but recently - probably because of some update - the virtual machine would lose ...
1
vote
0answers
81 views

Netplan order of yaml?

I am testing out a netplan implementation for an IoT device, and I have a user config for wireless and a fall back config if the user one is invalid or not created yet. I know that the last ...
1
vote
1answer
97 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, ...
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 ...
1
vote
1answer
138 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
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 ...
1
vote
0answers
294 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
vote
0answers
335 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 ...
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 ...
1
vote
0answers
183 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 ...

1
2 3 4 5