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
2answers
41 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
105 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
35 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
33 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
30 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
117 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
61 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
77 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
218 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
63 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
265 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
33 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
22 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
136 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
50 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
120 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
57 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
44 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
152 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
142 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
42 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
136 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 ...
0
votes
2answers
97 views

ubuntu 18.04 dns showing loop back

I edited the yaml file in /etc/netplan to include the name servers. It applied without error. However when I do nslookup > server I get the loop back (127.0.0.1) I need it to be my DNS servers as this ...
0
votes
0answers
29 views

Cannot change static ip address

I'm running ubuntu 18.04. I had network/router issues and ultimately I replaced my router. Both intranet and internet communications are now working, but I have a problem with one node, a laptop. ...
0
votes
0answers
32 views

Lost network connection after removing Python

I had a issue with apt-get update, which python somehow prevented it from gather updates. I autoremoved python, and managed to do a update. But, when I did a reboot, the server lost network connection....
0
votes
0answers
36 views

Ubuntu Server drops internet connection, resetting router restores (wired)

My Ubuntu Server (18.04) will suddenly lose all internet connection, after running fine for a few minutes to a few hours, can't ping 8.8.8.8 or hostnames. Local network works fine. It happens with ...
0
votes
1answer
821 views

Raspberry Pi static IP & DHCP Server Ubuntu 18.04

I'm trying to configure my Raspberry Pi 4B running Ubuntu 18.04 with a static IP address (to then configure a DHCP server) and use the WiFi for internet traffic (routing any clients connecting to the ...
0
votes
0answers
34 views

netplan as a firewall

Will netplan add firewall features? I just started using firehol and something with similar syntax in yaml with the same pattern of netplan apply would be great.
0
votes
0answers
39 views

How to bridge second NIC and VPN with 18.04 netplan?

I have a Ubuntu Server 18 machine with two ethernet interfaces (virtual for testing, but bridged to physical adapters on the host). One enp0s3 (192.168.1.0/24 network) with an internet connection, ...
0
votes
0answers
199 views

How to modify /lib/systemd/system/netplan-wpa@.service

I want to modify netplan-wpa@.service. $sudo cp /lib/systemd/system/netplan-wpa@.service /etc/systemd/system/ Then I edited /etc/systemd/system/netplan-wpa@.service.What I changed was adding "-...
0
votes
0answers
112 views

Unable to connect to netplan managed wifi AP

im currently setting up my home network infrastructure. Because i have multiple usages and only a single server, i installed proxmox as host system and created a pfsense based VM to use as firewall. ...
0
votes
1answer
665 views

Simple Bridge with netplan doesn't work (19.10)

I hope you can help me. I'm pretty sure the solution is quite simple, but so far I'm unable to put the finger on the problem.... I'm trying to setup a network bridge adapter with Netplan to use it ...
0
votes
1answer
90 views

How to set label to secondary IP address with netplan

Until Ubuntu 16.04, I've set label (eg: eth0:1) to secondary IP address with the following /etc/network/interfaces. # primary address auto eth0 iface eth0 inet static address 192.0.2.100 netmask ...
0
votes
0answers
39 views

Ubuntu18 Netplan add multicast mac address

I have the following network config in an Ubuntu12 which I need to move to an Ubuntu18 iface lo:1 inet static address IP_HERE netmask 255.255.255.255 post-up ip maddr add 01:...
1
vote
1answer
55 views

Local DNS dissapears from resolver after a while

Ubuntu 18.04 desktop upgraded from 16.04. I have a strange problem that I can't solve. After upgrading, I continued doing the network config as I always have (interfaces, resolv, ...) before I ...
0
votes
1answer
31 views

bridge ext_br not displayed in brctl show command

I have installed Ubuntu 18 in a baremetal server. As the interfaces are in ens3, ens4 etc..I mapped them to eth0,eth1 etc by following steps from google creating a file along with mac addresses in it. ...
1
vote
0answers
49 views

DNS setting randomly changes

Update Seemingly went away on it's own. Please close. The problem My Custom DNS-Server is randomly not queried anymore. The Setup I am using Ubuntu 18.04 and I have my own DNS server in my ...
0
votes
1answer
142 views

connecting to wireless access point using usb wifi card through netplan

> dpkg -s linux-firmware | grep Version Version: 1.173.12 > ip link show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/...
0
votes
0answers
105 views

Bridge link losing DefaultRoute and DNS scope after hot-plugging slave interface - why?

Using 19.10 (eoan). Here's a bird's-eye view of the setup: netplan is set to put wlan0, eth0, eth1 in a bridge, br0 netplan statically sets br0 with DNS servers (and IP4 address, gateway4, etc.) ...
1
vote
1answer
318 views

How to troubleshoot network problems for virtual machines connected via a bridge (Ubuntu 18.04)

On my server (Ubuntu 18.04 LTS) I am running a KVM virtual machine which has been running fine for over a year or so but recently - probably because of some update - the virtual machine would lose ...
0
votes
1answer
40 views

Multiple network cards, I lose internet on reboot

I really hope you'll take time to read my problem, I've hesitated a lot about asking you because of how complicated it is and I was even wondering how I'm going to explain it. This is occurring since ...
0
votes
0answers
24 views

Pass network through two interfaces

So I have a situation at home where I want to connect my pc (19.10) to my network, but my only nearby ethernet port is in use by my server (18.04). Now my server has two ethernet ports, and I'm ...
0
votes
0answers
53 views

Ubuntu Server 18.04 two NIC on different subnet and IP

I've a server with two NIC and they are both on different IP range and subnet, both can access Internet. the first NIC (enps0f0) have a public IP to be accessible to the public, the second NIC (...
1
vote
0answers
81 views

Netplan order of yaml?

I am testing out a netplan implementation for an IoT device, and I have a user config for wireless and a fall back config if the user one is invalid or not created yet. I know that the last ...
0
votes
1answer
40 views

Need Help on Ubuntu Server 18.04.1 Static Routing

I'm a newbie when it comes to Ubuntu Server. And I am currently having a difficult time configuring a Static Route. I have an Asterisk Server Hosted on my Ubuntu Server Machine, It has 2 NICs enter ...
0
votes
0answers
61 views

Unable to add multiple static routes in netplan in Ubuntu 18.04 LTS

I have 2 interfaces on an ubuntu 18.04 LTS system. The primary f0 is for all the internet facing traffic and also vpn traffic. The f1 is for internal traffic. My netplan is as follows: ...
1
vote
1answer
97 views

Netplan configuration not persistent

I have my eth0 interface configured with netplan with static IP address. I have applied the changes using 'netplan apply'. The interface gets the static IP address so its fine. But after a while, ...
0
votes
2answers
288 views

Ubuntu 18.04 network adapter lost settings

I have a hosted server at hetzner which has personnel projects running on it. I've come to rely on it and sadly after an apt-get upgrade, I've rebooted and the network adapter doesn't seem to want to ...
0
votes
0answers
366 views

netplan apply required after reboot

I'm running 18.04.4 LTS with HWE. After a reboot, I must manually run "sudo netplan apply" to set the static IP described in 50-cloud-init.yaml: network: ethernets: renderer: networkd ...
0
votes
2answers
53 views

Two default routes: ethernet + wifi — error? consequence?

In my netplan config I have two interfaces: network: version: 2 renderer: networkd ethernets: ethusb1: dhcp4: yes dhcp6: yes wifis: wlp3s0: dhcp4: yes dhcp6: ...

1
2
3 4 5
11