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
0answers
11 views

Automating an SSH VPN Connection on 18.04 with netplan

I mostly followed the instructions at https://help.ubuntu.com/community/SSH_VPN to set up a VPN Tunnel over OpenSSH. I got hung up at the last step. It says to use ifup and /etc/network/interfaces. ...
0
votes
0answers
20 views

Set multiple wifi access points in Ubuntu 20.04

I am trying to configure the network in Ubuntu 20.04. I would like to set up several wifi access points under the same interface. I am using the following configuration right now: # This file is ...
1
vote
3answers
82 views

DNS issues after upgrading to 20.04

After upgrading to 20.04, both my wired and wireless networking lost access to the internet. I confirmed my drivers were working when I was able to resolve a ping to the Google nameserver 8.8.8.8. Now,...
0
votes
1answer
12 views

How to configure netns in xx.yaml?

Running on Ubuntu 18.04. Here is an example via command-line: sudo ip netns add testBB sudo ip netns list sudo ip netns exec testBB ip link set vnet4 netns testBB sudo ip netns exec testBB ip link ...
1
vote
1answer
25 views

IPv6 EUI-64, how to activate privacy extension on Ubuntu Server 20.04

In my home network I have dual IPv4 + IPv6 stack. IPv4 runs DHCP whereas IPv6 depends on SLAAC. On my Ubuntu Server 20.04 the /etc/netplan/00-installer-config.yaml file looks like this: network: ...
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 ...
6
votes
0answers
77 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, ...
0
votes
0answers
34 views

(error code 28) Resolving timed out after 5000 milliseconds Ubuntu server - DNS?

Intent: I am trying to load images programmatically using cUrl, into Prestashop in a XAMP via SSH. What I tried: I have looked around and the issue may be on the setup of the server. I tried to ...
0
votes
2answers
35 views

Create netplan bridge at Azure Ubuntu

My ubuntu18 hosted in Azure cloud. I tried setup bridge in netplan, but fail. original 50-cloud-init.yaml network: ethernets: eth0: dhcp4: true addresses: - ...
1
vote
0answers
18 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: ...
0
votes
2answers
22 views

Slave nics in a bond are getting an IP from DHCP, despite netplan config?

I'm on Ubuntu Server 19.10, using netplan, and I have 4 bonded nics in a balance-rr bond. It is configured in Netplan as a static IP. After applying netplan or rebooting I cannot ping the gateway. ...
0
votes
1answer
49 views

How would you configure multiple NICs with DHCP enabled with netplan?

I have a Ubuntu 18.04 server that has three NICs, each connected to a different LAN, and each receiving network information from a DHCP server. By default, from what I can tell, is one interface gets ...
1
vote
1answer
48 views

Bridging Amazon EC2 Netplan (20.04)

I've been trying to create a bridge on my EC2 instance (Ubuntu 20.04) with netplan but I keep losing access to my machine. Currently attempting to disable ENA, but not sure if I'm simply missing ...
1
vote
2answers
114 views

Netplan configuration for a router with 2 or more input ISPs with failover for single output interface?

I have two ISP options where both provide DHCP leases. I want the secondary (and possibly a 3rd when they allow & if needed) as a failover if the first (or second) fails, eg: After reviewing ...
0
votes
1answer
35 views

How to make containters get IP addresses from LAN and not from the bridge in netplan

Given the following: Router <-----> Server [with multiple LXD containers] How does one configure netplan so that: All LXD containers use Router's DHCP for IP addresses [i.e. bridge acts like a ...
0
votes
1answer
24 views

Netplan not creating route for interface

I am trying to setup an ipip6 tunnel between a remote machine and a local one in order to give my machine a public IPv4 address (It has IPv6, but it is behind a carrier grade NAT). So far I have ...
0
votes
1answer
46 views

How to get an Ubuntu 18.04 server to automatically reconnect to network after reboot?

I have an Ubuntu 18.04 server running on my home network. On reboot, it does not automatically connect to the network. I have the netplan yaml file correctly configured for dhcp connection. By ...
0
votes
2answers
79 views

How to configure ipv6 with eui-64 interface id on ubuntu 18.04?

Refer to https://netplan.io/reference. There is a key "ipv6-address-generation" with possible values: eui64 or stable-privacy. However when I tried to add that key on /etc/netplan/50-cloud-init.yaml ...
0
votes
1answer
148 views

Ubuntu Server 20.04 - Netplan configuration for dynamic IPv4 and static IPv6

TL;DR Does anyone have a working netplan configuration that sets a dynamic IPv4 and a static IPv6 under Ubuntu Server 20.04? What works My provider (OVH) gave me a server with this configuration in ...
0
votes
1answer
31 views

No IP for host ethernet when network bridging with netplan

I used netplan on Ubuntu 20.04 Desktop and used a yaml file like the one on this website: https://webby.land/2018/04/27/bridging-under-ubuntu-18-04/ However, my host doesn't have a ip now? How can I ...
0
votes
0answers
74 views

how to set hostname via DHCP in Ubuntu 20.04 or 18.04?

I'm new to the systemd world (and Ubuntu in general), but I tried to dig as deep as I could to try to answer this question myself, but not really getting anywhere. I'm setting up VMs for both Ubuntu ...
0
votes
1answer
30 views

Netplan Static Address for a specific connection otherwise dhcp

I am new to Netplan Configuration so please if its a duplicate question, just point me to the right answer since i couln't find something that match my problem. So, I ve got a Raspbery pi 4 and ...
0
votes
0answers
38 views

Adding the Ubuntu desktop environment on top of server 20.04. My network is unmanaged. I fix it but the changes dont persist!

First of all I am a newbie so forgive my ignorance. Now the reason for this problem is that im using ubuntu 20.04 on a rasbperry pi, so there you first need to install the SERVER edition of ubuntu and ...
0
votes
0answers
51 views

netplan will not recognise nameserver on ubuntu 20.04

Here is my configuration, this is a default install, I have never set dns to 127.0.0.1 so that setting is somehow the best idea somebody cam up with...smh. Can somebody tell me why the nameservers ...
0
votes
1answer
459 views

Ubuntu 20.04 Netplan Bridge interface fails at boot

2 new Ubuntu Server 20.04 installs (1 on Hyper-V 1 on bare metal) fail to correctly start bridge interface at boot time. running netplan apply manually will successfully start the bridge (this is ...
1
vote
0answers
216 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 ...
0
votes
3answers
50 views

adding route to netplan

I've followed the information to add a route with netplan, but when I check the route is changed. What I have: network: version: 2 renderer: NetworkManager ethernets: enp35s0 routes: - ...
0
votes
1answer
48 views

Smart way to turn wifi on/off with netplan if ethernet is available or not?

I have ubuntu 18.04 and as far as I understood, it uses "netplan". I find out on the web a few ideas to switch wifi on/off when cable is off/on, but most of them uses older fashion. I liked this idea ...
1
vote
2answers
38 views

Why netplan routes configuration are part of an interface

This example from netplan examples network: version: 2 renderer: networkd ethernets: enp3s0: addresses: - 9.0.0.9/24 - 10.0.0.10/24 - 11.0.0.11/24 #gateway4: ...
0
votes
0answers
98 views

cloud-init modify how netplan is formated on generation

By default cloud-init generates the following inside 50-cloud-init.yaml network: version: 2 ethernets: eth0: addresses: - 145.239.202.202/32 - 2001:...
0
votes
0answers
22 views

How to install Netplan

On Ubuntu for rasberry-pi, I installed network-manager and netplan, started both services, but cannot find the usual /etc/netplan directory. What is missing?
0
votes
0answers
26 views

How do I set the modem route metric to 50?

The cellular configuration file for NetworkManger has the route metric set to 50. But on boot the route metric for the modem connection is 700. When the connection is taken down and brought back up ...
0
votes
0answers
26 views

Connect to both private network and second pc directly

I'm trying to configure a machine (PC1) to be connected to my local network, and also have a direct connection to a second PC (PC2) plugged directly into PC1. I ssh into PC1 and control it headlessly....
2
votes
1answer
88 views

What is creating /run/netplan/eth0.yaml?

Something is creating /run/netplan/eth0.yaml at boot and I can't figure out what it is. (I'm running 18.04 Bionic Beaver.) That file is causing eth0 to be managed by systemd-networkd but I want it to ...
1
vote
1answer
60 views

Cannot ping domainnames, only ip's

i'm running Ubuntu Server 18.04.4 LTS I'm able to ping 1.1.1.1 and 8.8.8.8 etc. but cannot ping domainnames. I tried many things but i can't seem to solve this issue. therefore i'm not able to update ...
0
votes
1answer
66 views

can someone help me with netplan removal from a 18.04 LTS Desktop

I have 2 computers an AMD based desktop with Ubuntu desktop upgrades since 12.xx to 14.xx to 16.xx and very early on to 18.04 LTS. The network interface cannot be configured and my network connecttion ...
0
votes
2answers
136 views

01-netcfg.yaml and 50-cloud-init.yaml both exist - can't find one IP

I'm new to Linux and learning. I'm not the person that set these systems up - but I need to understand and manage them now. In /etc/netplan - both 01-netcfg.yaml and 50-cloud-init.yaml exist. The ...
1
vote
1answer
55 views

netplan nameserver settings not used in nslookup for specific interface

I have been researching and trying stuff out all morning and I can't seem to wrap my head around it. Bear with me, in case I am missing something basic here. The Scenario: I have configured ...
1
vote
1answer
153 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
30 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 ...
0
votes
0answers
20 views

No connection to default gateway

I freshly installed a new ubuntu server and set up netplan for 802.3ad. Now I can reach every device in my network (and vice versa) but not the gateway and therefor the internet (also the router ...
0
votes
1answer
89 views

Ubuntu DHCP server is not giving out IP addresses

I am trying to configure a DHCP server on a Ubuntu 18.04 virtual machine. I am able to configure it with the following configuration: File: /etc/dhcp/dhcpd.conf Settings: default-lease-time 600; ...
0
votes
0answers
42 views

Set static IPs to multiple interfaces Ubuntu 18.04.4 LTS (Bionic Beaver)

I'm trying to set a static IP on two interfaces (ens160 "Main") and (ens192 "I added later"). I tried setting up configuration files for netplan (/etc/netplan/01-network-card.yaml) and for (/etc/...
2
votes
3answers
102 views

Ubuntu 18.04.4 Desktop: since last upgrade : Wired unmanaged with the previous network configuration files

Last evening I made the requested packages upgrade for Ubuntu 18.04.4 Desktop. But now I'm not able to connect to the network anymore with the previous network configuration files. These are the ...
0
votes
1answer
50 views

Netplan bonding 2 gateways (2 ISP)

My office is in an area where wired internet connection is poor and unstable so I'm trying to bonding 2 ISP. I have 2 modems connected to two different phisical interfaces on my Ubuntu 18 server: ...
0
votes
0answers
37 views

Ubuntu Server 18.04.4 - Plymouth - FAILED on boot with multiple vNics?

During boot I get multiple [FAILED] Failed to start Tell Plymouth To Write Out Runtime Data. messages that seem to be related to the number of Nics attached to the system. the number of these error ...
0
votes
1answer
99 views

netplan gre tunnel+quagga

After installing new router with ubuntu 18.04 on it i'm got a problem with working ospf via gre tunnel to my older routers. All configured simular, but from new router i got ospf state Init/DROther. ...
1
vote
2answers
125 views

How to get out of a Netplan rabbit hole?

0. Introduction I've just installed Ubuntu 18.04.4 LTS (server) on an old-ish Dell Poweredge 510 - formerly hosted Windows 2008R2. The installer "mentioned" an issue with the network adapters. This ...
0
votes
1answer
38 views

Is it possible to set the DNS and Gateway but still use dhcp to set ip address in Ubuntu 18.04 LTS server?

I use a ubuntu 18.04 LTS server, and I find the content of the yaml file in /etc/netplan is: network: version: 2 renderer: networkd ethernets: eth0: dhcp4: yes dhcp6: no I want ...
0
votes
1answer
81 views

detailed how to or example needed to setup an access point using netplan

As headline stated: I am looking for instructions on how to setup an access point using netplan, including setting up a bridge between eth0 and wlan0. DHCP Server would be my router, to which the ...

1
2 3 4 5
10