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
22 views

Setting default DNS on Ubuntu 18.04 (netplan)

I would like to configure my Ubuntu 18.04.2 (LTS) machine to always use the Google DNSs, no matter what the network. I'm experiencing DNS issues with some VPN connections, e.g. if I connect to a VPN ...
0
votes
0answers
11 views

veth down after reboot on bionic beaver (netplan) systemd

First, please forgive my lame markdown skills. Running Bionic Beaver: host:~# lsb_release -a Distributor ID: Ubuntu Description: Ubuntu 18.04.2 LTS Release: 18.04 Codename: bionic Can'...
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 ...
6
votes
4answers
3k views

What is the most authoritative file/process for managing IP addresses on an 18.04 server?

The 18.04 server installation process creates /etc/cloud/cloud.cfg.d/50-curtin-networking.cfg, which, in turn, seems to generate /etc/netplan/50-cloud-init.yaml. I can't seem to find exactly how 50-...
0
votes
0answers
45 views

Ubuntu Server 18.04 is set to static IP and get also DHCP-Address

I had problems to setup up a bond, i decided now to use only on interface without bonding. But now i have 4 IPs on my two interfaces, 2x static and 2x DHCP. but it is configurated to only have the ...
0
votes
2answers
975 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 ...
1
vote
1answer
33 views

Trying to set DHCP IPs and manual DNS server

my Ubuntu 18.04 laptop is connected to a WiFi with DHCP but I want to manual set a unique DNS server into the network. When I set /etc/resolv.conf with the following configuration it works well, but ...
0
votes
0answers
22 views

Changed subnets; routing table is incorrect

When I boot my Ubuntu 18.04 box (this is an old machine that's been through several upgrades) after moving apartments and changing the local subnet from 192.168.1.0 to 192.168.0.0, my networking is ...
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
43 views

Netplan config not working

I migrated from Ubuntu 16 to 18.04, and now my Internet connectivity is broken. Problem seems to be that 18.04 is using netplan and it wasn't properly configured. The file /etc/network/interfaces ...
0
votes
0answers
18 views

Routing Traffic on additional IP to VM

I've setup a Windows Server 2012 VM on Ubuntu 18.04 for testing purposes. The VM is running but without internet access. I've also got a second ip from my host, Hetzner.de. The Ubuntu server has ip: ...
0
votes
0answers
20 views

box pulls dhcp addr successfully, but cannot ping gateway or anything else on subnet

My wired ubuntu18.04 box pulls a dhcp address Ok, but cannot ping any machine on subnet. It can ping localhost|127.0.0.1|its own (dhcp) ip. # ping 10.0.0.1 From 10.0.0.195 icmp_seq=1 Destination ...
6
votes
1answer
3k views

How do I stop netplan from binding a default gateway on every interface

I have a fresh install of ubuntu server 17.10, however the problem may affect previous versions, but this is the first time I have encountered this situation. The server is running 2 separate network ...
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 ...
1
vote
0answers
32 views

Cloning an Ubuntu 18.04 physical server

I am working on cloning an Ubuntu 18.04.2 physical server, I use clonezilla for cloning, however, when I apply that image to any other servers (and of course I change the hostname and static IPs), I ...
0
votes
0answers
33 views

netplan - multiple configurations for the same device

in the NetworkManager i can have multiple configurations for the same network interface (i.e. a static address like 192.168.33.3, a static address [to configure a router in factory settings] like 192....
1
vote
1answer
85 views

How to set up DNS and resolv.conf file

I've had Ubuntu Server 18.04 up and running for a couple weeks. For a while my network interface never connected. I eventually got a proper netplan YAML file setup. I can now ping my servers IP, not ...
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
2answers
414 views

netplan - add a mobile hotspot connect

I am using the following netplan config to connect to my home wifi: network: version: 2 renderer: networkd wifis: wlp3s0: dhcp4: yes dhcp6: no access-points: "HOME-...
0
votes
0answers
50 views

DNS Resolution Broken After Uninstalling PiHole

Ubuntu Server 18.04. I have been running PiHole on my Ubuntu server for a while now, and decided to break that service off onto a dedicated machine. After uninstalling it however, my server is ...
1
vote
2answers
9k views

Configure bonded 802.3ad network using netplan on Ubuntu 18.04

I am running into some issues configuring netplan on Ubuntu 18.04 server to bond my four hardware ethernet ports named eno1, eno2, eno3, eno4 using the 802.3ad protocol. I've consulted the netplan man ...
-1
votes
0answers
41 views

How to dynamically add a secondary IP Address permanently to eth1 interface on Ubuntu 18.04 LTS ec2 instance

actually i need to configure 2 ip address to eth1 interface, in which i want to maintain ip address in dynamic mode so it will get assigned from AWS. In this link https://aws.amazon.com/premiumsupport/...
0
votes
0answers
31 views

Netplan error, setting static ip

someone who can help me please!!! I want to setting an static IP. My file is... This file is generated from information provided by the datasource. Changes to it will not persist across an ...
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 ...
0
votes
1answer
967 views

How to setup of Raspberry Pi 3 onboard WiFi for Ubuntu Server 18.04?

How to setup of Raspberry Pi 3 B+ onboard WiFi for Ubuntu Server 18.04? In particular, with netplan? Exiting answers, such as "How to use onboard wifi on Raspberry Pi 3 with Ubuntu Server 16.04?", ...
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
0answers
42 views

Client gets DHCP but no Network

Our DHCP server (Ubuntu 18.04) is giving out IP addresses. But the clients do not get a network connection. We can ping inside and boarder but nothing more. What are we doing wrong. Also we are new to ...
2
votes
0answers
39 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 ...
0
votes
1answer
57 views

NetPlan bridge doesn't work 18.04

I am trying to setup network bridge on 18.04 VPS with 2 IPs and right after applying netplan apply, internet stops working while all configuration and adresses are good: ip -c addr and ifconfig shows ...
0
votes
1answer
92 views

Netplan - multiple interfaces access to ssh and apache issue. Ubuntu 18.04

Okay I've been struggling with this all the week sorry if it's a repost but I couldn't find or understand any other "ask ubuntu" posts. My goal it's to reach the ssh connections from one interface ...
-1
votes
1answer
37 views

Using netplan with ucarp

we know that new version of the Ubuntu fully support the Netplan. So I want to ask how can I use this feature with ucarp protocol (application). How can i integrate the Netplan with ucarp.If there isn'...
0
votes
2answers
107 views

netplan default gateway / route Internet traffic to WiFi

I need help with a (simple) network configuration with netplan. It is very simple, I have 2 NICs: enp5s0 is ethernet and give access to the company network, and wlp4s0 is WiFi and give access to ...
0
votes
2answers
187 views

Netplan generates the same mac address for bridges on two different machines

The two machines in question have different MAC addresses for eth0. However, when I apply the following netplan file, I end up with the same mac address on both machines, which, of course, is kind of ...
0
votes
2answers
70 views

can't seem to generate a valid netplan YAML enough to connect to wifi

How do I know what the proper syntax for netplan is? I've looked up the netplan docs online and everything I try gives me KEY errors when I try to use netplan generate.
0
votes
1answer
463 views

How do I use cloud-init to apply netplan?

After I manually edit /etc/cloud/cloud.cfg.d/50-curtin-networking.cfg, how do I tell cloud-init to update /etc/netplan/50-cloud-init.yaml? In other words, it doesn't make sense to manually update both ...
3
votes
1answer
525 views

What does “changes to it will not persist across an instance” actually mean in 50-cloud-init.yaml

In recent Ubuntu, netplan is the default way of configuring network adapters. I want a static IP on one of mine, and there are some guides on how to do that. Some point you to editing 50-cloud-init....
1
vote
1answer
106 views

Bonding stops working when disconnecting primary interface Ubuntu 18.04

I have tried to set up bonding between two switches that link to one switch that is linked to a camera (10.0.10.10): Camera | | Switch 1 - - - - - - - - | | | A ...
11
votes
8answers
18k views

Netplan does not apply at startup

I installed Ubuntu 17.10 with latest updates on a vmware virtual machine. Netplan does not configure my 2 ethernets. Here is my /etc/netplan/01-netcfg.yaml network: version: 2 renderer: networkd ...
1
vote
1answer
110 views

IPv6 default route NOT being set netplan Ubuntu 18.04.2 LTS

Am unable to configure the default route using netplan on an Ubuntu 18.04.2 system. The route works when explicit ip -6 route add ... commands are issued. Privacy extensions have been disabled: /etc/...
2
votes
2answers
83 views

Netplan Indentation Error?

With this configuration I'm getting this error: Error in network definition:expected mapping (check indentation) set-name: eth0. Why? the indentation of the named item is proper ... isn't it? ...
0
votes
2answers
78 views

How to avoid 5 minute boot delay in 18.04: “A start job is running for Raise network interfaces”

Problem: 5 minute delay on startup Device: UP board (small x86 board), running 18.04, with a Panda PAU05 wireless USB adapter, connected via HDMI to a monitor Network configuration: using netplan ...
2
votes
1answer
2k views

netplan issue with Ubuntu 18.04.1 Server. No network connectivity (no routes either)

I've been using Ubuntu since inception and have recently found out about Ubuntu's switch to using netplan vs it's traditional/better /etc/network/interfaces method. I'm attempting to get this to ...
0
votes
1answer
69 views

Hostname (localserver.local) not working with static IP with netplan

I want to use a local hostname to access the same local server via multiple VLAN's easily. It works very well when I set netplan to DCHP, and follow these steps: https://linuxconfig.org/how-to-change-...
0
votes
0answers
65 views

Netplan configuration nameservice error

I'm using Ubuntu 18.04. Setting up my work PC to connect to the network and domain. I've been working on switching to Netplan from using /etc/network/interfaces I've created the yaml file and run ...
0
votes
1answer
373 views

Second IP via DHCP. Why? [duplicate]

I have a secondary IP on my ens160 interface and I don't know why :) System is Ubuntu 17.10. Any hints where to dig here? 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN ...
2
votes
0answers
271 views

ubuntu 18.04: not releasing old IPs from DHCP [duplicate]

We're running ubuntu 18.04, with the following configuration of netplan: network: version: 2 renderer: networkd ethernets: ens3: dhcp4: yes Currently we're running into an issue with ...
0
votes
0answers
29 views

Ubuntu 18.04 bond with netplan duplicate MAC address after cloning

I have a situation in which I have many identical servers to setup Ubuntu 18.04 on. I set one server up, took an image with Clonezilla and then restored on all others. Normally, I go to each of these ...
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 ...
2
votes
1answer
3k views

netplan vs NetworkManager on Ubuntu 18.04 and above

What is the concept of renderer in a netplan configuration file? What practical difference does it make between choosing a networkd and a NetworkNamager renderer? Can anyone (in the second case) ...
0
votes
1answer
130 views

NETPLAN not acepting settings

yaml setup I have the following netplan layout and it keeps coming up with the error IP address shown here as xxx ethernets: check indentation^ network: version: 2 renderer: networkd ...