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

Manage Wi-Fi AP using Netplan - Incorrect password

I tried to service wi-fi by my ubuntu server, with USB Wireless lan card. My wireless ap works with no password, but If I set password, then anything of my clients can't connect to my wi-fi even ...
0
votes
0answers
11 views

Can't get networkd-dispatcher scripts working

I need to disable offloading on my Kubernetes host persistently due to various bugs. I followed the guide here: https://michael.mulqueen.me.uk/2018/08/disable-offloading-netplan-ubuntu/ but the script ...
0
votes
0answers
18 views

Ubuntu 18.04 netplan configuration for aws ec2 instance

In Ubuntu 16.06, I was adding another interface with following configuration auto ens4 iface ens4 inet dhcp sudo ip route add default via 10.10.8.1 dev ens4 table ens4_rt sudo ip rule add from 10.10.8....
0
votes
0answers
51 views

How to set custom DNS servers and use DHCP on kubuntu 20.04 using netplan config?

Ok it is confusing so here is a clear version of what is going on. I am only able to set custom DNS servers using the /etc/netplan/01-network-manager-all.yaml if i use the configuration below with a ...
1
vote
2answers
40 views

Invalid YAML: mapping values are not allowed in this context: network:

I'm trying to configure a static IP and I keep getting this error when I try and execute the changes: Invalid YAML: mapping values are not allowed in this context: network: ^ I've edited my /...
1
vote
1answer
72 views

Setting up local static IP with netplan causes network to sleep

I am currently setting up some rpi4 with ubuntu server 20.04, I have setup their static IPs using netplan(Wired LAN) and Somehow they end up sleeping in both SSH and TCP, if left for more than a ...
0
votes
1answer
45 views

Make route command persistent after reboot

Quick question: I want to make this command persistent after reboot: route add -net 10.0.8.0 netmask 255.255.255.0 gw 10.3.121.244 I tried playing with the netplan yaml files with no success, my ...
0
votes
1answer
36 views

Can I use systemd-network without netplan and ifupdown?

I'm not sure I completely understood the whole relationships between ifupdown, systemd-networkd and netplan. I think netplan transforms its YAML configuration into a more verbose systemd-network ...
1
vote
0answers
24 views

Dual NIC silently rejecting all incoming traffic from one interface

In my server, I have two ethernet cards: enp0s17, local IP 192.168.0.7, router's public address x.x.x.x, netmask 255.255.255.255 enp0s18, local IP 172.16.0.7, router's public address y.y.y.y, netmask ...
0
votes
0answers
49 views

USB WiFi adapter stops working after running netplan apply on Ubuntu Server 20.04

I would like to set up an active-backup bond for ethernet and WiFi on a freshly installed 20.04 server. I have installed wpasupplicant and wireless-tools with apt as indicated here. When I boot the ...
0
votes
1answer
1k views

How to disable WiFi interface with netplan?

My netplan config at /etc/netplan/wireless.yaml seems to be working well for my WiFi-to-USB adapter, but I seem to still get the native interface to come up. I would prefer to keep that down. Right ...
0
votes
0answers
12 views

use of TPM to generate and store a private key then to use this key and the associate certificate in a netplan configuration

I use an encrypted private key, the corresponding certificate, etc. to define the configuration of netplan with eap-tls authentication. Everything is fine so far but I have to protect the private key ...
0
votes
1answer
29 views

How to configure NetPlan as a wired 802.1X Authenticator?

I would like configure a wired Ethernet port to support 802.1X authentication. hostapd supports 802.1X authentication. How do I use hostapd with NetPlan? NetPlan supports the auth section for ...
0
votes
1answer
34 views

how to enable netplan to auto-adjust to different network interface names in cloned instances

I'm running Ubuntu 18.04 64-bit server. I do a clean install, set up all of my custom software, and all is good. I use clonezilla to create a master image, which I later clone. I deal with the ...
0
votes
0answers
41 views

Ubuntu 18 netplan Argument list too long

I try to add 8k IPs to my network interface with netplan, after adding all IPs to yaml netplan config and apply changes, I get the following error: /run/systemd/network/10-netplan-enp5s0f0.network:...
1
vote
1answer
50 views

Network speed for a 1/10 Gigabit card

I have a computer which has a "NetXtreme II BCM57800 1/10 Gigabit Ethernet" network card which I am trying to connect at 10 Gigabits/s but it is connecting at 1 Gigabits/s. It is running ...
0
votes
0answers
36 views

How to setup Ubuntu 18.04 to use two interfaces to access the internet?

I want to setup an Ubuntu 18.04 with two interfaces connected to the internet. The configuration is as: 4G 4G / ...
0
votes
1answer
84 views

Netplan on Ubuntu 18.04 with multiple interfaces connected to internet

I am using netplan to configure the interfaces on Ubuntu 18.04, but there are a few issues. First, the metric does not seem to be working as it is set to 0. Second, once I use networkd the whole ...
0
votes
1answer
40 views

Connecting to personal wifi on Ubuntu Server 20.04

I have followed a number of tutorials recommending different things with netplan for connecting to the internet. None of them have worked. Should i be trying to connect with something else? or should ...
0
votes
0answers
35 views

Multipoint GRE on ubuntu with netplan

I'm reading the netplan documentation and it looks like it does not support multipoint GRE (for NHRP via eg. OpenNHRP). It's the gap in the documentation or did netplan do not intentionally support ...
0
votes
2answers
26 views

Core 18: NetworkManager definitions do not support name globbbing

I'm trying to install core18 with kernel 5.4. Everything boots fine, but when I get into the initial configuration screen and try to set up my networking, I am presented with this error: Network ...
0
votes
1answer
30 views

Why is an interface now picking up a dhcp address after updating from 18.04 to 20.04?

I run ubuntu as a server and I have set a static IP address using netplan. Since I have updated from 18.04 to 20.04, eth0 has now started picking up a DHCP allocated IP address in addition to the ...
0
votes
0answers
22 views

Add sub interface in bond1 and add route in Ubuntu 18.04 using netplan

Is it possible to define bond and add sub interface in it, and also add route with device bond1 in Ubuntu 18.04 using netplan? Please share a configuration example if possible
1
vote
0answers
36 views

Netplan configurations stop working after some time

I have this Ubuntu Server 18.04 LTS running and recently I changed my router subnet to 10.10.1.X. Also, I set DHCP to assign from 10.10.1.105 - 10.10.1.253 to other devices, since I want 100,101,102 ...
1
vote
1answer
22 views

create an alias on network card using netplan on Ubuntu server

how to configure two ip (192.168.140.10/24 - 192.168.57.192/25) on same network card on Ubuntu server 18.4.1.using netplan
0
votes
1answer
77 views

different gateway subnet on ubuntu makes network unreachable

Edit: The VM was moved from one hyper-v to another. In the first hyper-v it had a different IP, Mask and Gateway, and it worked. Then I moved it to the new hyper-v and changed the network details. I ...
0
votes
1answer
40 views

Ubuntu 18.04 how to add a static route to a single host?

I'm migrating from 16.04 where I had several NICs configured in /etc/network/interfaces like this: auto enp0s8 iface enp0s8 inet static address 192.168.0.5 netmask 255.255.255.0 up route add -host ...
0
votes
0answers
26 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
92 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
343 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
24 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 ...
2
votes
1answer
95 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
78 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 ...
7
votes
0answers
92 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
45 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 change ...
0
votes
2answers
62 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
22 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
40 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
62 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
65 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
124 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
40 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
30 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
57 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
123 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 ...
1
vote
2answers
457 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
52 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
134 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 ...
1
vote
1answer
45 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 couldn't find something that matches my problem. So, I've got a Raspberry pi 4 and ...
0
votes
0answers
41 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 ...

1
2 3 4 5
11