Questions tagged [netplan]

106 questions
2
votes
0 answers

What controls the NIC naming convention after fresh Ubuntu 20.04 install?

This is a fresh install Ubuntu server 20.04.04 system. I'm using networkd and netplan to configure networking. I did not do any custom install steps, just loaded the .iso and installed Ubuntu server through the prompts. When these machines were…
Rino Bino
  • 511
  • 5
  • 21
2
votes
0 answers

OpenSSH server on Ubuntu Impish fails to start after reboot, only manual restart works

Preface and issue I have an Ubuntu 21.10 (Impish) server, which network is managed by netplan and systemd-networkd. My /etc/netplan/01-netcfg.yaml looks like this: network: version: 2 renderer: networkd ethernets: eth0: addresses: …
burnersk
  • 2,056
  • 5
  • 27
  • 39
2
votes
0 answers

Static IP - Destination Host Unreachable

I'm a newbie to system administration. I've installed remotely a Dell server using iDRAC interface. Server's ip is 200.159.243.146 and everything is fine with it. Using this interface I've installed Ubuntu Server 20.04 without problem. However, from…
2
votes
1 answer

Apply DNS configuration to all interfaces

On Ubuntu 20.04, how can I configure DNS for all Ethernet interfaces, regardless of how they've been named? I have some machines with eth0 as the primary network interface and others with ens5. I'd like to use the same DNS configuration regardless…
cov
  • 33
  • 3
2
votes
2 answers

How to get Netplan to set the DNS server in /etc/resolv.conf based on info coming from the DHCP server?

I'm setting up a 4 x RPi Cluster with the following simple network topology: All 4 RPi nodes have the latest Ubuntu Server LTS 20.04 OS. rpi1 is my primary/gateway node. I did the following on rpi1: Assigned a static IP Address on eth0 of 10.0.0.1…
Magnus
  • 123
  • 1
  • 1
  • 5
2
votes
0 answers

Puppet - Get interface name from netplan yaml config

How to get interface name which has nameservers defined? I want to get the interface name so I can pass it to another netplan puppet module so the nameservers can be replaced. But I only want to get the interface name (ens160) which has nameservers…
user630702
  • 495
  • 10
  • 32
2
votes
0 answers

Dual NIC with IP on same subnet - ARP routing

First time for me coming across this situation for some reason, but I have two NIC's in a VM and need both connected to the same subnet as each IP will run host different but related services. Previous configurations like this, I have just had two…
Jablalr
  • 21
  • 1
1
vote
0 answers

Override default gateway when using netplan DHCP

I would like to use DHCP for IP address assignment but I would also like to override/specify the default gateway. Is this possible in netplan? Something like the following (which doesn't work BTW)... network: version: 2 renderer: networkd …
Mark S
  • 11
  • 2
1
vote
2 answers

Setting route in Netplan on Ubuntu 18

I'm trying to add a route on an Ubuntu 18.04 machine, but I'm missing something. Traffic to 89.19.153.0/24 needs to go through 10.32.57.142. This is the config I'm trying in /etc/netplan/99-netcfg-vmware.yaml After this I run: netplan apply Nothing…
lizlin
  • 43
  • 1
  • 2
  • 7
1
vote
0 answers

Ubuntu Server 18.04 two NIC on same subnet

I have Ubuntu Server 18.04 with 2 NIC cards installed and both of them have static IP assigned via netplan. This is my config: root@box2:/etc/netplan# cat 01-netcfg.yaml network: version: 2 renderer: networkd ethernets: eno1: …
bitUp
  • 11
  • 2
1
vote
2 answers

Netplan bridge issue

I am trying to create a bridge using Netplan. I copied this part of the guide. But it gives me an error: root@ubuntu:~# netplan generate Error in network definition //etc/netplan/01-netcfg.yaml line 9 column 10: br0: interface eth0 is not defined
Jevin Gala
  • 59
  • 9
1
vote
0 answers

Netplan overwrite previous config?

I have a couple netplan config files, one that configures the machine statically # /etc/netplan/02-static-config.yaml network: ethernets: enp0s3: addresses: - {my static IP} gateway4: {my gateway} …
Adam Smith
  • 161
  • 5
1
vote
0 answers

Dynamic traffic routing via multiple GRE over IPsec tunnels

Initial data I am learning networking based things and strongSwan proper configuration. Using my own wildcard ssl certificate. All tunnels are successfully lifted and authorized among themselves, respond in any of sides designated in…
IgorMonkey
  • 19
  • 3
1
vote
0 answers

Multiple interfaces and networks with Netplan: can't ping local network

My netplan config, with multiple interfaces and networks, works perfectly apart from ping to (or from?) local network. Here's my setup: network: version: 2 ethernets: ens160: dhcp4: no addresses: - 172.16.1.114/16 …
Alby11
  • 123
  • 2
  • 5
1
vote
1 answer

Ubuntu 22.04 Jammy netplan goes missing

I would like to know if anybody experienced this. I am running the server cli version of Ubuntu 22.04. After running apt, I see a message saying to run apt autoremove. (I did this) I also got a message about a kernel update and to reboot (I…
Edwin Drood
  • 11
  • 1
  • 3