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
1
vote
1answer
296 views

How can I use netplan for DNS domains?

I am wondering if I actually need dnsmasq or Bind to apply the following simple DNS server rule: Forward DNS lookups for *.mydomain.com to 10.0.0.2; Forward DNS lookups for anything else to 8.8.8.8 ...
0
votes
1answer
288 views

Policy Routing with NetPlan on TUN interfaces

I am trying to set up an OpenVPN server on Ubuntu 18.04 in AWS in routed mode, using a tun interface (not tap). The server sits in a public subnet, with an attached ENI in a private subnet. All is ...
0
votes
1answer
178 views

Netplan - Multiple ssids with different static IP on the same interface

I have successfully set up a wifi network configuration like this: network: version: 2 renderer: networkd wifis: wlxf8d1111b0d78: addresses: [10.0.0.69/24] gateway4: 10.0.0.138 ...
0
votes
1answer
503 views

LXD: how to avoid double default gateway in ubuntu 18.04?

UPDATE 2 Top posting because it is needed to apply the suggested solution. Found on question - second answer This has been fixed in the netplan repository on github, and will presumably make ...
0
votes
1answer
636 views

Can't SSH to Raspberry Pi via wired connection with static IP

My Raspberry Pi 3B+ is running on Ubuntu Server 18.04. I have it connected to my PC via ethernet dongle in link-local mode. I tried adding a static IP on the Pi with netplan, but I couldn't connect ...
0
votes
1answer
257 views

Serving DHCP Under Ubuntu 18.04 [duplicate]

Problem Summary I have two network interfaces in the machine, and need them to behave in the following way: enp3s0: Main network interface for the machine. Receive over DHCP an IP address (will be ...
0
votes
1answer
601 views

Invalid YAML for netplan: mapping values

So, I am trying to set a static IP address for my Ubuntu Server 18.04.1 LTS. I took the ethernet config from this site. network: version: 2 renderer: networkd ethernets: enp3s0: dhcp4:...
0
votes
1answer
657 views

Unable to connect using wifi on Ubuntu server 18.04 LTS using netplan, wired works fine

Newbie Ubuntu user here, I'm trying to connect wirelessly using netplan, but for the life of me can't work out why it's not working, I have no problem connecting through Ethernet. I'm on a newly ...
0
votes
1answer
223 views

networkd status - wlp1s0: Could not join netdev: Operation not supported

I'm struggling on using the wlan on a server 18.04. this is my 01-netcfg.yaml: network: version: 2 renderer: networkd ethernets: enp2s0: dhcp4: yes optional: true enp3s0: ...
0
votes
1answer
83 views

Netplan directly connected gateway

I'm trying to set up a server with 192.... addresses that is able to access the outside world using the gateway provided by my colo. I'm looking at the "Directly connected gateway" example at https://...
0
votes
1answer
1k views

Netplan configuration doesn't seem to be taking effect

After configuring a static ip address in /etc/netplan/01-network-manager-all.yaml for my wlan interface, the ip address nor the dns changed. I used sudo netplan generate and sudo netplan apply, but ...
0
votes
1answer
929 views

Netplan - configuring 2 vlan on same bonding

On my Ubuntu servers (16.04) I used to create a bonding between 2 interfaces and set 2 adresses on it from 2 different vlan. I can't manage to create the same configuration with Netplan for my new ...
1
vote
1answer
1k views

How do I configure DHCP bridge with netplan for KVM on Ubuntu 18.04 LTS?

I recently installed KVM on Ubuntu 18.04 with requisite tools like virt-manager, libvirt, and qemu. My problem is that the VMs I spin up are not connected to internet. Some give me an error message ...
1
vote
1answer
514 views

Netplan not connecting to hidden SSID Server 18.04.1 LTS

I've a problem with Netplan not connecting to WiFi network with hidden SSID. It works great if I'll make this network visible. But no chance with hidden one. Any options to configure that?
0
votes
0answers
64 views

Long bootup time with bridge configured in netplan in 18.04

In Ubuntu 18.04 the default network configuration is done with netplan. I have a setup which creates a bridge interface at startup, see below. It all works great, except that during startup it runs ...
0
votes
0answers
62 views

How to setup 4 networks interfaces with different gateways using netplan?

network: version: 2 renderer: networkd ethernets: ens3: addresses: - 192.168.3.30/24 dhcp4: no gateway4: 192.168.3.1 routes: - to: 192.168.3.0/24 ...
0
votes
1answer
239 views

Does apt upgrade trigger netplan apply in 18.04?

I did apt-get update; apt upgrade on a remote server over SSH. netplan.io and some systemd packages were upgraded. I switched to a different screen window, but after just a few seconds the SSH ...
1
vote
0answers
73 views

Netplan configuration leads to low network speed

With Ubuntu 18.04. I want to configure my eth0 as wakeonlan thx to the following yaml file in/etc/netplan : network: version: 2 renderer: networkd ethernets: eth0: dhcp4: yes ...
1
vote
0answers
220 views

Destination Host Unreachable on Ubuntu Netplan, same subnet, same routes

I've been banging my head against this problem for days and can't find a solution. I have a network with a server with two interfaces, one for normal traffic and one with an address 10.72.0.23/12 (...
1
vote
1answer
317 views

mixed up network configuration in 18.04

Recently upgraded to 18.04 from 14.04 (in steps of course) Just about everything works. Have network access, and remote access via ssh. Desktop sharing (VNC) however doesn't work and can't be ...
2
votes
1answer
117 views

Is /etc/network/interfaces still working with newer Ubuntu?

I know newer Ubuntu are using Netplan to manage the network and it will replace the traditional /etc/network/interfaces way of network configuration. I have to configure some Ubuntu machines this ...
0
votes
1answer
455 views

Ubuntu 18.04 Server no remote access

Hi I have a fresh install of Ubuntu 18.04 server. I have installed the LAMP stack and Nextcloud. It is working well except I can not access the server remotely with firefox or ssh. On the LAN both ...
0
votes
0answers
406 views

netplan network configuration with vlans and bridges

I'm trying to move a network configuration with vlans and bridges from Ubuntu 16.04 to Ubuntu 18.04 (netplan). I've read a few similar questions and answers on here but still cannot get it to work. ...
0
votes
1answer
30 views

Automatic route deleting in a specific network

I'm on Ubuntu 18.04 and I try to learn more on netplan. When I'm in school's network I need to access to the LAN but I don't want my internet traffic goes by their gateway. I can connect to network ...
0
votes
0answers
409 views

netplan - configure one interface with gateway and two without

I have 3 interfaces. One I want to have a gateway so it can route to the internet. The other two I want to configure without a gateway. I only want one specific layer2 subnet on it. I'm having ...
2
votes
0answers
371 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 ...
0
votes
1answer
146 views

Destination unreachable when setting up host-only networking

Ubuntu 18.04 I have read many other posts about this and tried various solutions but I still cannot get this to work. I have two interfaces configured. The first is host-only and the second is NAT ...
1
vote
0answers
152 views

Find out netplan duid before starting the system

is there a way to find out the duid netplan is using to request the dhcp lease before starting the system. Can it be calculated or triggered from outside? Use case: Before netplan, I used the ...
2
votes
1answer
915 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 ...
5
votes
2answers
3k views

How do I reload network configuration with cloud-init?

I've installed Ubuntu Server 18.04, and instead of the old /etc/network/interfaces, it seems that my network configuration now lives in a series of YAML files in /etc/netplan, of which the only one I ...
0
votes
2answers
68 views

How to create multiple addresses using netplan in Ubuntu 18.04?

How to create multiple addresses using netplan in Ubuntu 18.04? I want to assign 50 addresses using notation like 192.10.23.1/24-192.10.23.50/24. Is it possible?
1
vote
2answers
687 views

Netplan on Ubuntu 18.10 (Cosmic Cuttlefish): DHCP4 + static routes

I'm using fresh Ubuntu Server 18.10 (Cosmic) installation with netplan. What I'm trying to achieve is to setup network interface via DHCP and add some static routes. With static IP settings things ...
0
votes
1answer
372 views

Cannot ping across a bridge (netplan, qemu)

I cannot ping a virtual image running as a qemu guest in Ubuntu 18.04. The default yaml file in /etc/netplan/ is: network: version: 2 renderer: networkd ethernets: eno1: dhcp4: yes ...
0
votes
2answers
874 views

Convert /etc/network/interfaces to netplan for floating IP

I am new to the netplan on Ubuntu 18.04, just discovered it exists today. I have an interface that I am trying to add to create a floating IP on google cloud. It is based on this example: https://...
0
votes
1answer
458 views

Rocky Release using Ubuntu 18.04 with netplan

I am currently using Newton with ubuntu 16.04 and would like to migrate to Rocky over Ubuntu 18.04. But I discovered that Ubuntu 18.04 is using netplan instead of ifupdown to manage the network ...
0
votes
0answers
71 views

How to configure IP address for openvsiwtch bridegs with netplan

After upgrade to ubuntu 18.04, I configured the openvsiwth bridge, but failed to work with netpaln. I created the ovs brideg, and set the IP address with netaplan brigdes section, but seems it is ...
1
vote
1answer
101 views

Netplan Different Machine

I am currently trying to install Ubuntu 18.10 on a HP X310 headless server with no VGA port. Due to this I am unable to install directly on the machine. I have a system with similar specs and same ...
0
votes
0answers
115 views

netplan: Enable WiFi with no IP address on 18.04 LTS Server

I intend to run a KVM host. The Host should enable a wireless interface but assign no IP address to it. Like a Hyper-V Server with the WLAN Service enabled and set to "Automatically connect", but with ...
0
votes
0answers
22 views

Network and FTP issues

I am new to Ubuntu. I've done installs on CentOS and Redhat, but on Ubuntu I am having network and ftp issues. I ask them together as these issues might be related. This is also my first experience ...
1
vote
0answers
96 views

Ubuntu Server 18.04 no IPV4 after resume

I fail to get ipv4 working on an ubuntu server 18.04 after it was suspended and resumed. The only way I get ipv4 running again is reboot. The system is installed as a guest in a vmware virtual machine....
0
votes
1answer
785 views

how to set up nat and host only to access server from other computer virtual box

i want to create my own server on virtual box. i already add NAT and HOST-ONLY in virtual box. and this is ip from virtual box host-only Adapter ipv4 address = 192.168.56.1 netmask = 255.255.255.0 ...
1
vote
0answers
1k views

netplan + WiFi: link is not ready (18.04 Server)

I'm trying 18.04 Server with this fancy new netplan and can't get my WiFi to work. Doing it the old-fashioned way (e.g. configuring wpa_supplicant.service and using dhclient), everything is fine. But ...
0
votes
0answers
1k views

Ubuntu 18.04 configure netplan with 2 network cards

I'm going to install ubuntu 18.04 on a small "server", not a real server, just a deliverer of multimedia files on demand, for a local network. I'm recollecting info because I still have not installed ...
2
votes
2answers
2k views

Netplan bond/bridge MTU setting not being honored on Bionic system

I'm running Netplan on an 18.04 system. I've been able to workout and convert most of my network configuration from my 16.04 systems to Netplan for 18.04, however I've run into an issue now when ...
1
vote
1answer
774 views

Ubuntu 18.04, complex network configuration with Netplan

I have a system on which I am using Netplan to provide networking and am running into some issues with the configuration. When I boot the box, there is not networking. When I try to run netplan ...
0
votes
1answer
1k views

Ubuntu 18.04 route to the gateway

i just start to use the Ubuntu 18.04. When i try to set up the static IPs on that VM. i can't access the internet. But if i switch to use the gateway as the DHCP device, it works. Any idea what went ...
0
votes
2answers
1k views

18.04 - does it force netplan or can I still use resolved.conf?

I kept getting timeout errors on 18.04 Bionic Beaver, until I switched to OpenDNS using these commands sudo rm -f /etc/resolv.conf sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf sudo ...
1
vote
1answer
471 views

Ubuntu Server 18.04.1 - error in network definition when trying to set static IP with sudo netplan apply

I get this error when trying to set static IP with the command sudo netplan apply: Error in network definition //etc/netplan/50-cloud.init.yaml line 5 column 34: expected scalar Here's what my config ...
2
votes
1answer
1k views

network doesn't work after adding second interface to netplan

I have a fresh install of Ubuntu 18.04.1 server. When I configure netplan with just my WAN address it starts up fine and I can ping out right away. However; when I add another address to my netplan ...
0
votes
1answer
708 views

Netplan bridge issue

I am trying to create a bridge using Netplan. I copied this part of the guide. But it gives me an error: root@ubuntu:~# netplan generate Error in network definition //etc/netplan/01-netcfg.yaml line ...