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
0answers
1k 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 ...
1
vote
0answers
85 views

netplan+networkd portable/usb setup

I have a number of bootable USB drives with Ubuntu 18.04 which had been upgraded from past versions of Ubuntu. Now I am looking for the most proper and concise config for netplan to express a rule ...
0
votes
1answer
453 views

ubuntu 18.04 no more IP after i removed yaml file from /etc/netplan

I had ubuntu 18.04 server with cloud-init still DHCP enabled IP address. I added yaml file to /etc/netplan and removed the file already there (think it was 50-cloud-init.yaml), but now i can't get ...
0
votes
0answers
439 views

connect to Wi-Fi with a hidden SSID using CLI 18.04

Is it possible to connect to Wi-Fi with a hidden SSID using the TERMINAL(netplan) that now comes with Ubuntu 18.04? I've done the usual googles and searches and not been able to find an answer. PS ...
0
votes
1answer
133 views

Add temporary routes to netplan [duplicate]

I have installed Ubuntu 18.04.1 LTS, and I need to add some routes. Which command shall I use? ifup was deprecated?
3
votes
3answers
10k views

Adding DNS servers to Ubuntu 18.04

There is no less than 3 different ways to add DNS servers posted all over the internet. I have been reading netplan documentation and am I still not clear on how to add dns servers to a laptop. I am ...
0
votes
1answer
811 views

Syntax error in netplan.yaml after adding wifi section

I have a working netplan yaml to which I am trying to add a wifi entry for a second interface. This is an experiment, not an operational requirement. There is an issue with the syntax of the file. I ...
2
votes
1answer
1k views

Ubuntu Server 18.04.1 Cannot Keep Static IP Address After Assigned

I am trying to assign a series of static IP addresses to my homelab server so that I can run a media service. I edited /etc/netplan/ with the following: 01-netcfg.yaml: network: version: 2 renderer:...
1
vote
2answers
2k views

Scripting Netplan for static IP address

I've posted in the forum but thought I would ask here also. So, I am new to Ubuntu Server 18.04, netplan and .yaml. In the past using Ubuntu Server 16.04 I was able to create a pretty decent shell ...
1
vote
1answer
317 views

Netplan source route through script

I was using Ubuntu 14.04 and 16.04 but now when installing new ones or upgrading servers to 18.04, netplan has shown up. The machines work with DHCP and I currently have a couple of network scripts ...
1
vote
0answers
68 views

Print netplan config

Does netplan have any options available for writing how it interprets its config files to stdout, an arbitrary directory, or something similar? The context for my question is that I'm updating a ...
0
votes
1answer
3k views

Ubuntu 18.04 netplan.io how to prevent the creation of 2 default gateways [duplicate]

When I add 2 interfaces (eth0 LAN, eth1 WAN) with static IPs (or maybe also with DHCP), Ubuntu 18.04 Server is adding 2 default gateways. Thats not the goal. How can I define only 1 default gateway? ...
1
vote
1answer
4k views

Ubuntu 18.04 SERVER VPS on failover IP OVH

I am new into Ubuntu 18.04 and I am trying to make my VPS hosted on dedicated server (VMware) working, I tried the automatic network setup during install, but I got an subnet error, because IP and ...
1
vote
2answers
3k views

Ubuntu server 18.04 LTS as WIFI access point

What is the correct way to run a WIFI access point on Ubuntu server 18.04 LTS? Netplan / systemd-networkd (as installed by default) doesn't support AP mode. Networkmanager (apparently) only works on ...
0
votes
1answer
939 views

Wifi Problem After Setting Static IP in Ubuntu 18.04.01 LTS

I set a static IP by following the instructions on https://www.itzgeek.com/how-tos/linux/ubuntu-how-tos/netplan-how-to-configure-static-ip-address-in-ubuntu-18-04-using-netplan.html At first, it ...
0
votes
1answer
558 views

ubuntu 18.04 netplan support ppp interface with specific ISP provider

Sorry about this could be FAQ but I did not find any useful information on Internet/Google. I setup a 4G/LTE modem on a Ubuntu 18.04 and it is verified by "sudo pon/poff provider". The next step ...
0
votes
0answers
2k views

Wireless setup for server (netplan)

I've tried this solution: Connecting to new Wifi network and looked here: https://netplan.io/examples However, my interface isn't being assigned an ip or anything. If I enter networkctl it shows ...
1
vote
0answers
416 views

Netplan / systemd-networkd VLAN is missing

I tried to add a additional virtual VLAN Interface, but it is not visible in ifconfig. Netplan Config: network: version: 2 renderer: networkd ethernets: ...
0
votes
0answers
1k views

netplan 2 nic setup

I have a home server with an integrated gigabit Ethernet, and a PCI-e gigabit Ethernet card. I want to have my own LAN, separated from the ISP router. I don't want to use a dedicated router, I want to ...
0
votes
0answers
605 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 kind of works. It ...
2
votes
1answer
4k views

Networking problem on Ubuntu 18.04: no gateway

After a fresh installation of Ubuntu 18.04 LTS I have configured netplan to use a static IP address by following the instructions available online here: https://www.tecmint.com/ifconfig-vs-ip-command-...
0
votes
0answers
1k views

Any way to set interface to promiscuous in 18.04 using netplan?

I'm honestly a bit stunned that this isn't covered. It's not that unusual, and it's simply not at all covered in the man pages for netplan. Any idea how to set an interface to promiscuous using ...
0
votes
1answer
561 views

netplan: is there an equivalent to `post-up`?

I have a VM with one interface configured via DHCP and the other configured statically. It boots up and configures the interfaces on start-up. However, in this VM I need a static route configured to ...
1
vote
2answers
7k views

How to add additional IP to new interface on ubuntu 18.04?

I have an ubuntu 18.04 VPS with 2 additional IPs, this is the config file I'm using which config all IPs on ens3: network: version: 2 renderer: networkd ethernets: ens3: dhcp4: no ...
3
votes
2answers
14k views

Netplan bridge for KVM on Ubuntu Server 18.04 with static ips

I set up my first ubuntu server recently and I am struggeling with netplan. As I need a Windows to run one service which isnt available on linux, I try to set up KVM. The server has serveral static ...
0
votes
0answers
703 views

Ubuntu 18.04, network interface enp9s0 disappears suddenly

I am new to ubuntu, and I am using ubuntu 18.04 server. I configured the network interface enp9s0 with static address using netplan, and everything was working fine. Suddenly the the network interface ...
0
votes
1answer
2k views

Ubuntu 18.04 netplan issues: VM with 2 interfaces with static IP addressing will not configure the interfaces on boot

I have a VM with two interfaces that are configured statically. For this I have an /etc/netplan/config.yaml file like this: network: version: 2 ethernets: ens3: dhcp4: ...
1
vote
1answer
2k views

Can’t get server to set up network with netplan

Coming from Ubuntu server 16.04 I flashed my server and put 18 on it and didn’t realize they changed the way networking happens on the server. I have been using ifupdown forever now Ubuntu is now ...
0
votes
2answers
649 views

Netplan - How to describe veth peer links?

I want to peer connect between two bridges in my netplan configuration. Under iproute2 the commands would be: ip link add dev vethb1 type veth peer name vethb2 brctl addif br1 vethb1 brctl ...
1
vote
0answers
794 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: ...
3
votes
1answer
3k views

Netplan Generate generates nothing

Just did a sudo netplan generate to add a new yaml file. It was not created. Even doing it as root it failed. forge@app-webserver-1:~$ sudo netplan generate [sudo] password for forge: forge@app-...
1
vote
1answer
1k views

Invalid YAML in Netplan/Bridging/VLAN tags for qemu/libvertd

I am new to netplan and Ubuntu 18.04 , and am trying to set up a VM host using qemu/libvert. The issue is with creating a netplan yaml file that meets our needs and works Interface eno1 is a ...
3
votes
1answer
6k views

Correct way to route between 2 interfaces with netplan in Ubuntu 18.04

Problem and Network Configuration I am currently trying to allow communication between two interfaces, each with their own subnet, in Ubuntu 18.04 server using netplan but I am having a difficult ...
1
vote
1answer
87 views

Can not SSH into machine from local network when gateway route is added to netplan config

Ok, so to SSH into this machine from the local network, I have had to set a route with the default gateway of the IP of the machine, I am sure this is wrong, my current config looks like this network:...
0
votes
1answer
2k views

What is my option if I deleted my netplan yaml file?

I have deleted the yaml config file. Now, what could I do to restore back? the yaml file resides in cat /etc/netplan/
3
votes
1answer
4k views

Convert /etc/network/interfaces to netplan

I'm following this tutorial for making an Ubuntu active directory domain controller with Samba. The problem I have run into, is that he is using Ubuntu Server 13.10, and I am using the latest, 18....
1
vote
1answer
6k views

Ubuntu 18.04: How to create a persistent dummy network interface

I am trying to create a dummy network interface on a Ubuntu 18.04 server. Here is how I would do it on my previous Ubuntu 16.04 servers: In /etc/network/interfaces.d/dummy.cfg, write: auto dummy0 ...
1
vote
1answer
4k views

netplan - expected scalar on ip-address

Every time, when I entered my ip-address of my server, the message "Scalar expected" appears during applying my netplan config. My server has a - static ipv4 address: x.x.126.104 - gateway: x.x....
1
vote
1answer
2k views

netplan bridge: no connection to/from virtual machine

I'd like to setup a bride 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 machine ...
0
votes
1answer
184 views

Network connectivity issue with virtualbox and static ip addressing

I wanted to install and configure openstack to learn it, so i installed two ubuntu servers as virtualbox virtual machines (on my arch linux host) and then i did the configuration based on the ...
1
vote
1answer
2k views

convert ip route add to netplan

I'm following an answer I found on Serverfault located here https://serverfault.com/a/487911/141509 I created the following routing table in rt_table 10 wlx74da388c32c7 Below is my full rt_table # ...
0
votes
2answers
465 views

How can I disable LLMNR in Netplan?

I found How can I disable LLMNR in systemd-resolved? useful for demonstrating how to disable LLMNR in systemd-networkd. However, ubuntu 18.04 uses netplan to configure the network rather than systemd-...
0
votes
2answers
344 views

Netplan ignoring .network file

I have Ubuntu 18.04 (downgraded to server) installed and can't get internet working on my Ethernet adapter. Sorry for no files content pasted but I'm writing from different PC. I'm attaching ...
5
votes
1answer
907 views

netplan gateway6 seems to have no effect

I'm trying to configure static IPv6 with netplan on a cloud server (public cloud from OVH) running Ubuntu 18.04 I have created a /etc/netplan/66-ipv6.yaml yaml file in addition to the existing /etc/...
1
vote
2answers
8k views

Why is Netplan/Networkd not bringing up a static ethernet interface?

I have a machine running Ubuntu Server 18.04. The network is configured using Netplan, so I have this config in /etc/netplan/01-netcfg.yaml: network: version: 2 renderer: networkd ethernets: ...
1
vote
0answers
4k views

Static IP config for Ubuntu Server 18.04 LTS w/ netplan

We are trying to get a new server running 18.04 LTS to connect to the internet, but no luck thus far. The router doesn't distribute DHCP, so we have a static IP assigned to the port the server is ...
1
vote
1answer
3k views

Ubuntu 18.04 Server Static IP issues

I have attempted setting up a static IP for a server, under Ubuntu 18.04. I thought I had it working, but after restarting I found that my ethernet interface eno1 has been disabled. After re-enabling ...
3
votes
2answers
7k views

Ubuntu Server Netplan for Wifi and Ethernet

I'm new to Ubuntu server and want set up my netplan so that I can use two different IP addresses for two separate interfaces (Wifi and Ethernet). So far, Ethernet works fine, but I can't get the wifi ...
5
votes
2answers
12k views

How to set default route with netplan, Ubuntu 18.04 server, 2 NIC

I have two NIC, both is controled over DHCP. One have public IP, second private. Both interfaces have static IP reserved in DHCP and both interfaces get right IP, but somethimes when reboot server I ...
3
votes
0answers
398 views

How to force a bridge to clone mac-address from first added physical port

I'm configuring KVM/QEMU on Ubuntu 18.04 using netplan. There is corporative dhcp-server that provide a lot of mandatory data in addition to ip/netmask. The issue is that a bridge on setup generates ...