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

Adjusting settings from Ubuntu 14.04 to 22.10

Recently, Ubuntu Server 14.04 in my company got broken. We used that server as default gateway, users have access to file server (Windows 2012), internet and VPN. I made connection with file server ...
Bokica's user avatar
  • 1
0 votes
0 answers
77 views

inet suddenly disappeared, after `dhclient`, it restarts, but won't last long

I am new to ubuntu, but have to set up R/Rstudio server and work remotely. Just moved the ubuntu server (Ubuntu 20.04) back home, and the connection became unstable while other PCs are working well. ...
Grec001's user avatar
  • 111
0 votes
1 answer
419 views

netplan STP enabled or disabled

I am running Ubuntu 20.04.4 LTS and configured bridges. I am not sure if STP is enabled or disabled by default on netplan created bridges. As per netplan doc [1] its Enabled by default. [1] https://...
Satish's user avatar
  • 111
0 votes
0 answers
225 views

Netplan config to enable KVM guest to access multiple VLANs

I am trying to duplicate a network setup that I currently use in VMware ESXi 6.5 in which I am able to create guest VMs, linux or Windows, and assign several virtual NICs from a VLAN trunk to each ...
GregBinSD's user avatar
0 votes
0 answers
416 views

Netplan not bringing up interface

Having issues with a fresh install of Ubuntu 22.10 to manage wired network. During install it would detect 4 ports, and I configured one with DHCP and disabled all others. It's a very simple ...
The Unique Paul Smith's user avatar
0 votes
2 answers
132 views

IPv6 source address selection with addrlabel and netplan

I have configured my Ubuntu 22.04 via netplan like this: network: version: 2 renderer: networkd ethernets: enp3s0: addresses: - 192.168.10.10/24 - 2001:db8:6789::10/64 ...
Sitron_NO's user avatar
  • 136
0 votes
0 answers
63 views

How to set up internet connecitivty on a daisy chain network with one NAT interface on Virtual Box?

I am creating a daisy chain network, and I have three Ubuntu virtual machines on Virtual Box: one gateway, one router (through which all network traffic passes), and an end-node. Each VM has two ...
Stargazing's user avatar
0 votes
0 answers
96 views

VM Guest OS (homeassistant) on VLAN aware bridge does not fetch ip from dchp

I've setup VLAN aware bridges on the Host OS (Ubuntu Server 20.04 with KVM and using Netplan) and my guest OS (homeassistant OS) is not fetching the ip address from a dhcp server (external, not on ...
Abby SM's user avatar
1 vote
2 answers
368 views

How to configure netplan so enp9s0 goes to internet and enp5s0 goes to lan?

I must build a replacement server using Ubuntu 20.04.5 LTS, and I'm trying to migrate from NetworkManager to netplan. My new server can connect to the internet, but complains that it has no route to ...
Charlweed's user avatar
  • 139
1 vote
3 answers
263 views

How to correct bad auto netplan configuration of wpa_supplicant Ubuntu 20:04

I use Ubuntu 20.04 desktop on a Raspberry Pi 4 and I am trying to configure netplan. I have seen How to configure wpa_supplicant in Ubuntu server 20.04. I configured netplan to connect to wlan0 and it ...
Leonardo Saracini's user avatar
0 votes
1 answer
2k views

Use netplan to setup two tagged Vlans

For my network I have setup two VLans (VLan Ids: 1 and 2) on the switch. My ubuntu core 22.04.1 machine is connected to the switch through one tagged port that allows for VLan 1 and VLan 2 traffic. ...
Marc P's user avatar
  • 1
0 votes
0 answers
186 views

Bridge and Wireguard network config

I have Intel NUC with WireGuard client. It works fine. I want to connect another machine via NUC by Ethernet and WireGuard. (Router) <----> NUC (Ubuntu + VPN client) <----> Another Linux ...
dart's user avatar
  • 101
1 vote
1 answer
955 views

Ubuntu 20.04 - Static and default routes via netplan

I am brand new to Linux. I only started 'playing' yesterday, so please forgive my lack of knowledge. I have built a linux server with 2 network cards. Outside interface (ens192) for all Internet ...
Wannabe_Golfer's user avatar
0 votes
0 answers
175 views

Setting up secondary interface with netplan using DHCP - both interfaces in same subnet

I am trying to configure two Network interfaces on an EC2 instance using Netplan. These interfaces have the same subnet. When the cloud-init configures it, the netplan configuration looks as follows: ...
DaiCode-1523's user avatar
0 votes
0 answers
128 views

Netplan not being applied at startup

I have an old PC which I wanted to make into a linux server. I downloaded Linux Server 20.04 LTS onto my USB and installed it normally without any issues. Then, when trying to connect to the internet ...
noob's user avatar
  • 1
0 votes
0 answers
245 views

Netplan, networkd, resolvconf conflicts: Can't change DNS servers

I'm running Ubuntu 22.04.1 on a headless server and trying to change the DNS that the server uses. I set up the netplan .yaml file like this to use Cloudflare's servers: network: version: 2 ...
Steve S.'s user avatar
0 votes
0 answers
182 views

Trying to use a tunnel from HE but some IPv6 connectivity is broken

I have a server from Kimsufi (OVH Eco branch) but unfortunatelly they only provide a /128 IPv6 block. So, I decided to use a Hurricane Electric (HE) tunnel to have a /64 IPv6 block. I've followed HE ...
air.head.guy's user avatar
1 vote
0 answers
310 views

Configure NetPlan with KVM to share host LAN with guest

I'm having a problem with NetPlan, where if I set renderer: networkd, then the guest VM connects to the local network, but the host cannot reach the public internet ping: google.com: Temporary failure ...
Rick Mooney's user avatar
0 votes
0 answers
363 views

Fixed ip in WiFi adapter via netplan

I want to establish a fixed ip to my WiFi adapter in Ubuntu 20.04 from netplan but I always get an error "No access points defined" when I run "netplan try". Is it possible to do ...
Raúl's user avatar
  • 1
0 votes
1 answer
70 views

Bind/route subnet to specific interface

I have a server with 2 network interfaces, ens160 routed (gateway assigned) for management and ens192 non-routed (no gateway) for iSCSi. How can I either bind iSCSI to only use the ens192 interface or ...
Brian S's user avatar
1 vote
1 answer
180 views

Bridge with netplan fails with a slow to come up interface

My home server connects to the internet with enp7s0, and shares internet through 3 devices, enp2s0 (ethernet to switch), enp3s0 (ethernet to router that provides guest network) and wlxe0e1a935d56d (...
Tuna-Fish's user avatar
  • 121
0 votes
0 answers
83 views

Ubuntu 20.04 netplan second interface to access a host directly

i've an ubuntu 20.04 server with netplan (netplan.io/focal-updates,now 0.104-0ubuntu2~20.04.2 amd64). There are two network interfaces ens18 and ens19. ens18 is the main interface, all traffic should ...
baba's user avatar
  • 1
0 votes
1 answer
126 views

Setup DSL connection via netplan?

I haven't seen any options to setup up DSL connection in /etc/netplan? I know it's possible via pppoeconf, but I'm not sure how to modify the dsl-provider file/name (I need to setup for 2 different ...
DenisZ's user avatar
  • 123
1 vote
2 answers
785 views

Netplan file order

I need help understanding the order in which the netplan config files are applied and, if possible, how to set a fallback config. Scenario: Let's say I have two config files, A and B. Config files A ...
laxebisu's user avatar
0 votes
0 answers
117 views

2 Interfaces with different metric, and1 single default gateway - loosing connection

I have a weird issue. I have two interfaces: One is my WiFi, The other is as 4G USB I am trying to setup the default GW through the 4G USB (which is NATed by the 4G provider, hence, I can't SSH ...
Joe's user avatar
  • 1
0 votes
1 answer
230 views

Translating ip route add into netplan

Would you please help me with one simple question. I would like to have persistent route in my network settings. How can I reproduce this command in netplan (Ubuntu 22.10): sudo ip route add 10.0.10....
dyedfox's user avatar
  • 333
0 votes
1 answer
383 views

Migrate from ifupdown to netplan

I try to migrate from ifupdown to netplan, but the result is always not same. What is the correct netplan configuration for networking configuration like this: auto lo iface lo inet loopback auto ...
khgasd652k's user avatar
0 votes
1 answer
173 views

MTU specified in netplan is not applied at boot

My netplan file looks like so: network: version: 2 renderer: networkd ethernets: eth0: addresses: - 169.254.1.1/24 mtu: 9000 After boot the eth0 interface takes the ...
rgov's user avatar
  • 389
1 vote
0 answers
391 views

Ubuntu 20.04.5 LTS Ethernet IP address disappears after boot

I have installed my ASUS PC with Ubuntu 20.04.5 LTS. After I setup a python environment to run applications. It is plugged into my wifi box that is plugged to the router. I have internet through a ...
Costa rica's user avatar
0 votes
1 answer
547 views

issue sshd_config / systemctl restart

one of my workstation (previously it was a 22.04.1 server edition but according to NUC compatibility list last BIOS and dbx EUFI Database uggrade force me to downgrade to workstation as Server edition ...
Fred L.'s user avatar
  • 19
0 votes
0 answers
436 views

Can't ping local IPv6 on Ubuntu 22.04.1 LTS with Netplan

I have truly bizarre issue. I setup my network on VPS, according to guide, with Netplan. Everything works fine for internet connection, but I can't seems to be able to ping local IPv6, IPv4 works as ...
Michal Žídek's user avatar
1 vote
2 answers
2k views

Failed to Add Public IP to KVM Virtual Machine on Ubuntu 22.04.1 Server Host or Problem on Networking

Background Problems I have a Dedicated Server (Ubuntu 22.04.1 LTS) with five Public IPs as below: xxx.xxx.51.20 (Main Ip) xxx.xxx.198.104 xxx.xxx.198.105 xxx.xxx.198.106 xxx.xxx.198.107 I want to ...
khgasd652k's user avatar
0 votes
2 answers
910 views

Temporarily add multiple ip addresses to interface in 22.04

I need to temporarily, dynamically add and remove ip addresses from the netplan.conf (/etc/netplan/myNetplanConfig.conf). In earlier versions the ip command could be used to temporarily add ip ...
eDonkey's user avatar
  • 103
1 vote
0 answers
178 views

Connect Multiple Interfaces on Raspberry Pi

I use my raspi as a local DNS resolver (Pi-hole). My router has 2 networks "Home" & "Guest". As usual, the guest client can't reach my raspi as it is on the home network so the ...
OrigamiOfficial's user avatar
0 votes
0 answers
164 views

Ubuntu as router with netplan & dnsmasq - can't reach websites

I have setup Ubuntu 22.04 LTS as a router for the following scenario: Client (192.168.222.100) <--> Switch <--> Ubuntu Router eth0 (192.168.222.1) <--> Ubuntu Router enx2887ba778049 (...
Sebastian's user avatar
0 votes
2 answers
458 views

Wlan0 will not connect to WiFi?

I'm trying to run a USB Wi-Fi dongle off Ubuntu Server. I edited /etc/netplan/*.yaml and I'm running multiple network interfaces, which all work as intended. See the lines below for the Wi-Fi setting. ...
Douglas Yeaman's user avatar
1 vote
1 answer
447 views

Connecting a ubuntu to the internet via one interface and to an internal network via another

I have a computer running Ubuntu 20.04 LTS with two interfaces. On interface is connected to an router which is connected to the internet and the other interface is connected to an internal gateway ...
Braininfection's user avatar
0 votes
2 answers
4k views

Migrate Ubuntu server from NetPlan to NetworkManager without disconnection (possibly over SSH)

I see that Ubuntu server after the installation comes as default with NetPlan with a DHCP configuration (at least in Ubuntu 22.04 focal fossa). Some users don't want NetPlan and just want ...
Valerio Bozz's user avatar
0 votes
1 answer
1k views

How to define multiple interfaces which are in the same subnet

In my setup I have a Zabbix Server on a Hyper-V Ubuntu Server 22.04 LTS VM which is running on Server A. The Ubuntu Server has two virtual interfaces of which each is associated to one physical ...
eDonkey's user avatar
  • 103
0 votes
0 answers
122 views

Netplan nameservers settings not used without resolv.conf entry

I read here that you're usually not supposed to edit resolv.conf, since it is managed by other services. The server is running Ubuntu 22.04.1 LTS. However, the DNS on my server is not working unless I ...
John Stoneman's user avatar
0 votes
0 answers
210 views

Unable to make any changes to NetPlan without dropping connection

This recently just started happening. I run a hosting company, and adding /32s to our interface is something common so users can have dedicated IPs for their game servers. We've always done this with ...
Ryan Nacker's user avatar
1 vote
1 answer
3k views

IPv6 network on Ubuntu Server 22.04

Can't seem to get the IPv6 network to work. Unfortunately, I decided to reinstall the system anyway. And IPv6 doesn't work for me either. Given: Dedicated IPv4 like: 45.80.XX.XX/32 and gateway 10.0.0....
Nick's user avatar
  • 11
0 votes
1 answer
1k views

Netplan: Access Point setup with WPA2 authentication

I can successfully set up a Raspberry Pi running Ubuntu 22.04 Server to act as an access point with netplan. It's set up as per the details in https://netplan.io/reference#properties-for-device-type-...
DJR's user avatar
  • 1
1 vote
1 answer
2k views

netplan routing in ubuntu 22.04 gone bonkers

Sorry if this superlong, i have a remote PC running ubuntu 22.04 server that has two services on it, ssh and xrdp, i use it to connect to a remote office using checkpoint VPN, anyways, everything ...
arangaran's user avatar
0 votes
0 answers
61 views

ssh: netplan configuration file in not in the directory and i can't create one

root@id-486188:/etc/netplan# ls root@id-486188:/etc/netplan# i have no configuration file in netplan directory. and when i want to create one, i see this error: sudo: unable to resolve host id-486188: ...
shayan's user avatar
  • 1
1 vote
0 answers
152 views

Ubuntu 20.04 policy based symmetric routing with multiple interfaces in the same network

I have a pair of AWS VMs running Ubuntu 20.04 and I'm sharing an ENI between them. Each host has an eth0 in 192.168.0.0/24 and the ENI is mounted as eth1 also in 192.168.0.0/24. When I grab the ENI, ...
alan laird's user avatar
0 votes
1 answer
81 views

Netplan route code to support secondary network

Clean install of 22.04 server with all available updates applied. Network: Router (10.1.1.254)-->Server (10.1.1.1)-->second NIC(192.168.49.1)--> Desktop (Windows 10). Windows 11 Desktop on 10....
Graham's user avatar
  • 1
0 votes
0 answers
665 views

Netplan configuration problems in Ubuntu Server 22.10

I have problems with netplan in Ubuntu Server 22.10. IPv4 network not working (after reboot). Here is my netplan config: network: ethernets: ens3: dhcp4: false dhcp6: false ...
Nick's user avatar
  • 11
0 votes
0 answers
132 views

Netplan wpa_supplicant logging

Before switching to netplan i could configure wpa_supplicant to start with "-f /path/to/.log -d" in pre-up. Is it possible to still set these settings so i can have clear and separated logs ...
Jop's user avatar
  • 1
0 votes
0 answers
571 views

Ubuntu 22.10 server amd64: Network can not reach local addresses but CAN ping internet after boot. I have to run netplan apply to establish comm

Ok... this is baffling to me. I just performed a fresh install of ubuntu 22.10 server on a dell poweredge T430. After first boot, and subsequent reboots, the server is unable to contact devices on ...
tigerkzr's user avatar

1 2
3
4 5
20