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
2
votes
1answer
1k views

Netplan static routes with Vlan interfaces

On 18.04. I'm trying to configure my server with 2 vlan interfaces. Each vlan interface will have a separate IP Address on a separate subnet, and both will be linked to same physical interface. When I ...
2
votes
2answers
647 views

Can't convert `/etc/network/interfaces` router configuration to `netplan`, help?

I've got a low-powered dual-core Celeron machine, running Ubuntu 19.04, acting as my router. It's also running an lxd virtual machine with PiHole for DNS. It's all working well, and has been for some ...
1
vote
1answer
530 views

Ubuntu Server 18.04 — Use nmcli to (only) discover wifi networks but don’t interfere with netplan and networkd

Ubuntu Server 18.04 now uses netplan to manage ethernet and wifi devices. I’d like to be able to discover wifi networks via nmcli, as I’d like to use php-wifi in one projects. Is it somehow possible ...
0
votes
0answers
277 views

permanent routes with netplan - ubuntu19.04

How can I configure my permanent route table on ubuntu19.04 with netplan (/etc/network/interfaces doesn't exist). Thank you
0
votes
0answers
368 views

dnsmasq ignoring nameserver

I'm building a private network not connected to the internet with VirtualBox for practice and i'm using dnsmasq on the server machine for both DHCP (and DHCPv6) and DNS service. The DHCP works fine ...
0
votes
0answers
127 views

Running Ubuntu 18.04 -bionic-beaver Netplan config not working or being applied

Ruunog Ubuntu 18.04 wiht Netplan and bionic-baaver so it seems. When I configured the OS I have to configure it using DHCP SO once up, I wish to change networking so I configure the .YAML file under ...
0
votes
0answers
41 views

netplan and bond definition

How to change below in to a netplan yaml file for Ubuntu18.04 ? root@ubuntu-sio1-cpa117-2:/etc/network# cat interfaces # This file describes the network interfaces available on your system # and how ...
0
votes
0answers
101 views

simple netplan configuration

I moved my "proxy PC" from Ubuntu 16 to Ubuntu 18 Until now, I got this configuration file : (/etc/network/interfaces) === auto enp4s0 ; card to Internet iface enp4s0 inet ...
0
votes
1answer
503 views

How can I configure static IP on ubuntu server 18.04

Have 2 Ubuntu Servers. Tried to configure static IP on both of them. Server 1 everything is working file. Server 2 giving error: /etc/netplan/50-cloud-init.yaml:10:18: Invalid YAML: inconsistent ...
0
votes
0answers
43 views

Bridging issues within a small network (slaves cannot share master's internet connection)

I have a central machine with Ubuntu 18.04 LTS Server installed that is connected to the internet via a static IP address, and I created a subnetwork with several (6) other computers (also with Ubuntu ...
0
votes
0answers
114 views

DNS from DHCP from within network namespace

I'm currently on an Ubuntu 18.04 Server. From within a network namespace I run a dhclient process and I do get the IP address and route fine, but somehow the DNS server doesn't seem to get saved ...
0
votes
0answers
87 views

Server 18.04 netplan, multiple NICs / gateways, and routing (DHCP)

My apologies if this is dumb or redundant, but I have not found an accurate or complete answer to this question. I have a fully current 18.04 server with multiple NICs across different networks. I ...
11
votes
1answer
6k views

Netplan in Ubuntu Server 18.04. How to restart network fully?

Ubuntu 18.04 LTS use netplan and systemd-networkd as default network config tool. In earlier release, we can use service networking restart, or just ifdown & ifup to fully restart the network or ...
0
votes
0answers
670 views

netplan apply does not change interface name while reboot does

This is not duplicate of Ubuntu 18.04 Static IP with NetPlan require reboot I tried with both renderers with no lack. Changes are applied only after reboot. I tried ifup/ifdown/netplan apply. Nothing ...
0
votes
0answers
722 views

Ubuntu server 18.04 isc-dhcp-server issues

So I finally decided to make use of my laptop, and make a Ubuntu Server router from it. I have two NICs: wlp1s0 used as WiFi for my WAN and my ethernet enp2s0 as my LAN. I'm following this guide. ...
1
vote
1answer
968 views

Cannot remove local DNS servers and domain

Initial disclaimer: I rarely build Linux servers, so I am not always up to date on my Linux skills. I am setting up a DNS server for test and I need it to not see our local DNS or domain. I have set ...
0
votes
1answer
164 views

Expected mapping trying to configure IP in ubuntu server 18.04

I have this configuration file for 01-netcfg.yaml (I tried the 50-cloud-init.yaml too) and nothing works. I get an error like this: Error in network definition /etc/netplan/01-netcfg.yaml line 0 ...
0
votes
0answers
290 views

Netplan configurations on Jetson Nano with Ubuntu 18.04

I'm trying to set up an SSH connection via an ethernet cable from pc to the Jetson Nano. Changes I have made so far are only to the Netplan config file in /etc/netplan I would like to be able to ...
0
votes
3answers
1k views

Enable both NAT and Host Only on Ubuntu 18.04

I am using Ubuntu 18 minimal image to create an Ubuntu server with VirtualBox. I created a host only network and added adapter to vm along with NAT adapter (already configured). The original ...
1
vote
0answers
82 views

Need to set default route to upstream DHCP interface on Ubuntu Server 18.04 LTS

I'm building an edge router using Ubuntu Server 18.04.03 LTS and need to configure the routing table to define the default route as being the upstream / WAN interface, which gets its IP address and (...
2
votes
0answers
431 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" ...
0
votes
1answer
172 views

Ubuntu with 2 static IP interfaces gets 2 default routes

Unfortunately the solution provided to a similar question does not seem to apply here; it explains how to override the settings for DHCP. I have 2 static interfaces. The system was working as ...
1
vote
1answer
560 views

Configure GRE via Netplan (headless/aws)

How to translate the below to a Netplan yaml file with networkd as the renderer? At the command line these commands work and build a GRE tunnel with an MTU of 1476. ip tunnel add gre1 mode gre ...
3
votes
1answer
925 views

18.04 server unreachable on secondary network interfaces

After seventeen years since last touching Linux (Red Hat), I've come back to work on Ubuntu 18.04 servers. I see plenty have changed, including the foundational init system systemd, which appeared to ...
0
votes
1answer
118 views

Prevent Internet access to particular user accounts… with netplan?

I just want to block Internet access in my kids' accounts. This is possible with iptables (see question: https://unix.stackexchange.com/questions/21650/how-to-restrict-internet-access-for-a-...
0
votes
1answer
137 views

How to diagnose intermittent/triggered network error

Problem Certain actions cause the whole LAN network to fail in resolving domains, the devices can't access anything outside the LAN network. Example When trying top pull a docker image from a self ...
1
vote
1answer
178 views

netplan.io WEP secured WiFi

I have to connect my raspberry pi3+ to an WEP "secured" WiFi. I searched the netplan.io website but couldn't find an configuration example fitting my use case. Is netplan even supporting WEP ...
0
votes
0answers
47 views

Strange issue with my wireless network

*Ubuntu 18.04.3 LTS *TOSHIBA portege t110 I have a strange issue with my wireless network. My laptop has two wireless interfaces. So I set up the two interfaces in "/etc/netplan/50-cloud-init.yaml" ...
3
votes
1answer
769 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 ...
2
votes
0answers
886 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 ...
0
votes
1answer
33 views

Apply last edits in netplan with no service

On my virtual computer I hace two NICs. Internet connection works fine, thanks to network-bridge. Now, I edited my /etc/netplan/01-netcf...yaml. Since I have no network services as network-manager or ...
0
votes
0answers
710 views

Automatically activate wifi on a headless Raspberry Pi

I just installed 18.04.3 LTS in a RPi 3B+. I want to run it a) headless and b) with wifi as the only network connection. At startup, though, it does only activate eth0. And then waits for ages until ...
0
votes
0answers
97 views

how to make ubuntu server 18.04 respond to .local names

I am using virtual machines and would like them to respond to .local names. Ubuntu desktop does it naturally but I cannot find where to configure it on a 18.04 server. I installed the avahi-deamon ...
2
votes
1answer
343 views

Netplan add VLAN on the fly?

On 18.04, I have figured out how to get bonds, vlans, and bridges all working similarly to ifupdown. However, I am running a KVM server, and need the ability to add tagged vlan interfaces on the fly ...
0
votes
1answer
1k views

Ubuntu server network auto configuration failed

I am trying to install ubuntu server 18.04 inside proxmox. At the network configuration page, ubuntu complains that autoconfiguration failed and gives me the choice to continue without networking. The ...
0
votes
0answers
70 views

Ubuntu server netplan?

No doubt I am doing something wrong but I am not familiar with ubuntu, not even linux that well. I have deployed ubuntu server via ESXI on an OVH Dedicated server. I've done this a million times ...
2
votes
1answer
628 views

How to use netplan to create two separate routing tables?

I have an Ubuntu 18.04 host with two network interfaces on two subnets. I would like to set up symmetric routing so that traffic received from one interface is sent symmetrically out that same ...
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: ...
1
vote
0answers
66 views

Physical Network attach to specific LXD Container

First of all, I am not that experienced in networking. I have three NIC in my system. My netplan settings: network: ethernets: enp5s0: dhcp4: true enp3s0: dhcp4: false ...
0
votes
0answers
381 views

Why NIC name always change after reboot?

I'm managing lots of servers which runs Ubuntu 18.04 server. And it has at lest 4 NIC for each server. My server will reboot every weekend, and I always found the NIC name changed after reboot. ...
1
vote
1answer
2k views

Netplan throws an error when attempting to load a config file, provides no details about what the error is

Doing a clean install of Ubuntu Server 18.04 on a new machine. Currently attempting to configure my Ethernet network interface to use DHCP using netplan. My config file, dynamic.yaml, reads as ...
0
votes
1answer
457 views

Netplan: how do I apply specific configuration YAML file

Consider multiple netplan configuration YAML files: /etc/netplan/config0.yaml /etc/netplan/config1.yaml How to pass to «netplan apply» name of the configuration YAML file?
1
vote
1answer
967 views

Define hostapd configuration settings on netplan

I recently discovered that netplan can manage hostapd accesspoints, but this is the extent of the example config: wlp1s0: access-points: "guest": mode: ap # no ...
1
vote
1answer
1k views

Ubuntu 18.04: Is there a way to specify DNS Server Order?

We use Digital Ocean, which provides high speed internal networking in additional external networking. The internal network uses 10.136.0.0/16. Unfortunately, Digital Ocean does not provide split ...
0
votes
0answers
140 views

Got error when added a static route in netplan config file

My 50-cloud-init.yaml just like below. network: ethernets: eth1: addresses: [192.168.0.100/24] routes: - to: 192.168.1.100/32 via: 192.168.0.1 ...
0
votes
0answers
144 views

Netplan source routing help

I'm trying to configure networking on a new Ubuntu 18.04 install. I have 4 interfaces to different networks: 192.168.10.0/24, 192.168.20.0/24, 192.168.30.0/24, 192.168.40.0/24 with the first being ...
0
votes
1answer
153 views

Netplan issue, cannot do a ip static

i try to set a two interfaces for my server, ubuntu server 18.04, I share internet in a lan Here is the configuration File 01-netcfg.yaml network: version: 2 renderer: networkd ...
0
votes
2answers
650 views

How do I use NetPlan to configure PPPoE for the etherent interface in Ubuntu Server 18.04?

Can anyone help me, please, to set up a pppoe connection on Ubuntu 18.04 server? Before, I had Ubuntu 14.04 server, and I was doing it via pppoeconf but now it seems that it is not supported anymore. ...
0
votes
1answer
179 views

DNS configuration set with netplan works for some hours, then stops working

I have a lot of VM running, all of them with the same network config, except for their IP that are fixed and range from 10.36.8.2 to 10.36.8.250. Most of them are accessed with their IP, but some are ...
0
votes
1answer
317 views

Netplan with NetworkManager require IPv4 address

I started using netplan on my Ubuntu hosts with NetworkManager as a renderer and I noticed that it fails to retrieve an IPv4 address from my router using DHCP. I NetworkManager. I can set the option ...

1 2 3
4
5
11