All Questions
Tagged with networking netplan
632
questions
0
votes
0
answers
16
views
Netplan matching modems that change names
I have the following netplan file to setup a system with ethernet interfaces and multiple modems.
network:
version: 2
renderer: NetworkManager
ethernets:
eth0:
dhcp4: false
...
-1
votes
1
answer
58
views
run /etc/rc.local after restarting systemd-networkd.service
platform: ubuntu 22.04
I am performing advance routing and and I have saved all the commands in the /etc/rc.local file.
the problem is once the systemd-networkd.service is restarted, the routing ...
0
votes
1
answer
33
views
Problem in configuring network on RX1 board with Ubunutu 20.04
I am configuring an Ubuntu 20.04 on a RX1 board which is based on Rockchip RK3588 SoC
I have installed the image and fired the system with DHCP and was working, after that I changed the configuration ...
0
votes
1
answer
42
views
netplan config multiple nic dhcp and fixed on different network
I'll try to be as clear as possible...
I have tree computer, my desktop witch have a two nic, one 1gb witch is connected to the router in dhcp to the net (192.168.1.X), one dual 10gb nic connected to ...
1
vote
1
answer
68
views
How to force Ubuntu to look at netplan for DNS and not look at resolv.conf
What is the best (proper?) way to force Ubuntu 22.04 to look at ONLY netplan for DNS configuration? I'm working with Rancher+RKE2 and their preparation script includes truncating the resolv.conf file. ...
0
votes
0
answers
22
views
How to connect a open vSwitch interface to physical interface of another host?
I want to connect a switch interface to physical interface of another host. I am using Open vSwitch and ryu controller. I have one physical interface i.e., enp4s2 (IP address = 192.168.10.2/24) and ...
0
votes
0
answers
38
views
How to create a network bridge between wlan0 and et1 to a second eth0 device?
I have a network topology as described in the linked image. Network Setup
I have a WiFi router on a private 10.12.12.1 network. An Ubuntu 20.04 box, on a Nvidia Jetson, is connected to the WiFi ...
0
votes
0
answers
77
views
How do I configure VLANs in netplan .yaml?
I have never worked with Linux before and am trying to config a virtual appliance for SNMP scanning of VLANs. I am working on editing in VLANs to my installer-config.yaml file. The primary NIC is ...
0
votes
1
answer
68
views
Disabling USB ethernet [duplicate]
I have a machine attached via USB-c and HD Port to a Dell monitor. This monitor is rather a nice one that allows for some KVM type functionality for machines attached to it. In that vain, it includes ...
0
votes
1
answer
71
views
Multiple network interfaces, one for host and others for segmenting containers/VMs. Can't get container to resolve outside FQDNs
Trying to enable multiple interfaces on my Ubuntu 24.04 server. I would like to isolate certain containers to certain VLANS. LAN & VLANS managed by pfsense.
Network Map
I am using netplan on the ...
0
votes
1
answer
731
views
Ubuntu 24.04 LTS network bridge
I got some problem when bridging in Ubuntu 24.04 LTS.
When I use this config:
network:
version: 2
renderer: networkd
ethernets:
eth0:
dhcp4: true
eth1:
...
0
votes
1
answer
105
views
How to create a bridge interface using cloned MAC address from ethernet?
EDIT: this is probably a user-error
Strangely, after I setup my OPNsense, and IP's DHCP reservation on my PC, the issue hasn't cropped up since.
While I was testing out the VLAN's by creating tagged ...
1
vote
0
answers
39
views
Nic with 4 ports. Netplan setup?
Summary of the Problem
Summary of the problem:
Ethernet into the apartment. I receive 4 public IPs from the ISP.
Ethernet into the switch, four cables out of the switch.
From the switch, cables go:
...
0
votes
0
answers
58
views
How can I set VLAN settings to persist across boots?
I originally asked this question on the Unix & Linux board, but I guess it's more appropriate to ask it here.
I have an Ubuntu Server 23.10 which is located on VLAN 2 (IP: 192.168.2.100) and I ...
0
votes
0
answers
78
views
Changing netplan Subnet mask on Ubuntu Server makes server unreachable
I am trying to widen the subnet on an Ubuntu server (also runs DHCP) so I can put my IoT devices on a different subnet - I currently use 192.168.1.x - I want to put the devices on 192.168.2.x and 192....
0
votes
1
answer
727
views
'A start job is running for wait for network to be configured'
Just upgraded a headless server to 22.04.4 LTS.
Every time I start up now, I get this annoying 2 minute delay.
EDIT: to be more specific, I tried sudo systemctl disable systemd-networkd.service. No ...
1
vote
1
answer
500
views
Where does the configuraiton in /run/systemd/network come from in a fresh install of 22.04 server?
I have run the following sudo find / -type f -name "*.network" -not -path "/var/lib/docker/*" to show all the .network files on a fresh 22.04 server install.
Aside from the ....
0
votes
0
answers
103
views
set netplan to use TWO static addresses preference with DHCP fallback
I am setting up a Ubuntu 22.04 server at home for use on-site. Server needs to have a static address on-site. How to test with static address at home, then take pc to site without having to change the ...
0
votes
1
answer
230
views
Cannot connect ubuntu server 22.04 to internet on a RaspberryPi 3B+ using a 4G USB modem and netplan
I am trying to connect ubuntu server 22.04 to internet on a RaspberryPi 3B+ using a 4G USB modem and netplan.
The USB dongle seems to be recognized:
carlo@pi-box:~$ lsusb
Bus 001 Device 008: ID 19d2:...
0
votes
0
answers
91
views
Netplan dedicated OOB interface configuration with DHCP
I have a project that deploys virtual machines as test clients. Each VM has two NICs, one for a test environment(ens192) and one for OOB access(ens224). Both NICs get IP addresses from DHCP.
Where I'...
0
votes
0
answers
82
views
Issue with dual-NIC clients and netplan swapping ethernet interfaces
Background: 1500+ stations running Ubuntu Server + ubuntu-desktop-minimal, most are still on 20.04, new stations are all deployed with 22.04 (with a ubuntu-desktop-minimal --no-install-recommends flag ...
0
votes
0
answers
174
views
wired connection stopped working
On my desktop (Ubuntu 23.10 only) I have both ethernet (Intel 211) and wireless. The ethernet connection stopped working; I can't reach the Deco router. The wireless connection works ok. The ...
0
votes
0
answers
180
views
NIC Bonding Problem
My infrastructure is like below:
Ubuntu 22.04 LTS Server running on VirtualBox
2 NICs, enp0s3 and enp0s8, both attached to Bridged Adapter
My netplan file:
network:
version: 2
renderer: networkd
...
0
votes
1
answer
108
views
netplan config is ignored, who reconfigures my network?
I have a machine with multiple NIC, for the sake of simplicity we call them
ext0: uses DHCP, goes to the outside
int0 and int1: have static IP adresses, go to some private network, where there is ...
1
vote
1
answer
718
views
WPA3-enterprise on Ubuntu
I need to connect to a WiFi network that has WPA3-Enterprise as its security method for Wifi with username/password authentication. In windows, I can connect to this network just fine, by only having ...
0
votes
0
answers
169
views
Netplan Bridge Does Not Support Multiple Interfaces
Issue:
When bridging multiple NICs using netplan, client hosts connected to the
bridged NICs cannot communicate with the gateway server. The goal is to have all
bridged NICs share the same static IP ...
0
votes
1
answer
70
views
Network settings seems to be completely broken, no logic to be seen
I have been a random problem with my server for a while, every now and then after a reboot the network suddenly completely stops working. Normally, after a few changes in the network files I am ...
2
votes
1
answer
77
views
Why does my VLan have same IP address as underlying physical connection with netplan? [closed]
I'm trying to configure a vlan on my machine using netplan.
On my router (Synology SRM) I've got two networks defined.
Primary Network
Subnet: 192.168.200.1/24
Gateway: 192.168.200.1
Primary DNS: 192....
0
votes
1
answer
65
views
RPi 4B with Ubuntu Server 20.04 fails to connect to Wi-Fi Sometimes
I have Ubuntu Server 20.04 installed in RPi 4B. The problem is does connect to a network today but if i try to connect to the same network next day it fails. Why does this happen?
My .yaml is as below
...
0
votes
0
answers
63
views
Why does my netplan configuration not work?
I am using Ubuntu20 server, and its default Netplan. The server is a bare metal under OVH management, so I have very limited control over the changes I can make on the network interface.
I have ...
2
votes
0
answers
121
views
Quickly switching between access points using Netplan and NetworkManager
I am working on a mobile robot base that uses a Raspberry Pi 4 running Ubuntu Server 22.04. It receives commands from a stationary server, so it must have a reliable connection to the network at all ...
1
vote
0
answers
135
views
Clients got IP-addresses from DHCP but can't reach Internet
I'm trying to build home router from device with two ethernet ports (enp2s0 and enp3s0) and WiFI (wlo2), based on Ubuntu Server 22.
Everything is set, clients can connect via wifi to the router (it's ...
0
votes
1
answer
312
views
LACP NIC Bonding always uses only one interface port event at Hash policy layer 2+3
We are facing an issue with UBUNTU 20.04 NIC bonding LACP 802.3ad. Two 100G NIC ports are bonded via netplan and the settings are - MTU 9216, Hash policy 2+3, LACP fast, and the same is configured ...
0
votes
0
answers
640
views
vlan tagging is not working netplan -Ubuntu server 22.04
I have Ubuntu server 22.04 installed on VMware
I have connected it to a GNS3 topology to a Cisco router
The Cisco interface has subinterfaces with dot1q
The Linux server has 2 interfaces, one ...
0
votes
0
answers
328
views
AWS Ubuntu 22.04 Interface Down on Reboot
Using Ubuntu 22.04.01 via AWS and just did a kernel update (among other items in apt upgrade) to 6.2.0-1017-aws and rebooted. Had to console in because connectivity was failing with no network changes....
0
votes
0
answers
87
views
Additional IP-Address overwrites old one?
My hosting provider gave me an additional ip-address and now i am trying to add it to my netplan but somehow it is overwriting the main-ip. Here is my netplan:
### Hetzner Online GmbH installimage
...
0
votes
0
answers
29
views
Is "ppimaintserver:~$ sudo nano 00-installer-config.yaml" the same as "ppimaintserver:/etc/netplan$ sudo nano 00-installer-config.yaml" [duplicate]
Sorry for the stupid question
Is
ppimaintserver:~$ sudo nano 00-installer-config.yaml
the same as
ppimaintserver:/etc/netplan$ sudo nano 00-installer-config.yaml
My spider sense tells me this is a ...
1
vote
0
answers
776
views
How to have netplan config applied automatically after startup on Ubuntu 22.04?
I am running Ubuntu 22.04.3 on a dual-boot hp laptop and I have the following configuration file /etc/netplan/10-network-config_home.yaml defined:
network:
version: 2
renderer: NetworkManager
...
0
votes
0
answers
207
views
Network problem after update
I'm running Ubuntu 22.04 on a PC with 4 network interfaces: enp1s0, enp2s0, enp3s0 & enp4s0. I'm using enp1s0 (outgoing interface, configured by the cable modem using DHCP) and enp4s0 (static IP, ...
0
votes
0
answers
360
views
How to disable wifi power save using netplan yaml configuration?
I need to disable the wifi power save option using netplan configuration files. I tried adding
powersave: False
It didn't work.Any help would be appreciated.
0
votes
0
answers
4k
views
creating a static IP various warning and nothing saying config is correct
I have been trying to set up a static IP in Ubuntu 22.04.3 LTS.
The web offers different Netplan config so I picked the most simple code
When I input "Netplan try" I get the following ...
1
vote
1
answer
1k
views
How to fix automatic apply of netplan config after reboot not working?
I am using ubuntu 22.04 and trying to apply the following netplan automatically at startup:
network:
version: 2
renderer: NetworkManager
ethernets:
enx00e04c680202:
addresses:
-...
0
votes
1
answer
2k
views
How to fix problem with netplan configuration (ip address show) for Ubuntu 22.04?
Using ubuntu 22.04 I tried to assign the two IP addresses 192.168.200.100 and 169.254.1.0 to the ethernet device enx00e04c680202. Following this tutorial and this answer I created a file /etc/netplan/...
3
votes
1
answer
511
views
How can I use netplan match on macaddress when I then bond the nic?
network:
renderer: networkd
ethernets:
eth0: # usb ethernet 1
match:
macaddress: f8:e4:3b:55:72:71
set-name: eth0
dhcp4: no
eth1: # builtin
match:
...
1
vote
1
answer
364
views
How can I force my Ubuntu Server to use the correct ethernet port (interface)
I have an Ubuntu Server running Ubuntu 22.04.3 LTS.
It has two ethernet ports, enp3s0 and enxf8e43b557271.
enxf8e43b557271 is much faster, so I want to use that by default, but, if it goes down for ...
0
votes
0
answers
411
views
netplan/udevadm broken in Ubuntu 22 LXC containers
The physical host is running 18.04.6 LTS and LXD/LXC 3.0.3. I have two unprivileged containers, one Ubuntu 18.04 container and a new Ubuntu 22.04 container. (Using the default images that lxc launch ...
1
vote
0
answers
106
views
Any idea how to bring back the network without netplan cmd?
There was a power-outage in our lab during the weekend, and when I was to recover one of the ubuntu server and have it booted, the network was not set automatically.
So as of now, Running "...
0
votes
0
answers
81
views
Unable to Configure Network on Homeserver Behind "Fritz Box" Home Router
Description:
I've encountered a puzzling network issue with my homeserver setup and I'm seeking guidance to resolve it.
Problem:
My homeserver, behind a "Fritz Box" home router, experiences ...
1
vote
0
answers
530
views
Netplan Configuration Isssue: Unable to obtain ip address for ethernet configured with dhcp4
Goal:
Determine why configuring an interface with only dhcp4 fails.
Setup
I am working on configuring netplan for a Virtualbox VM.
The VM has 1 bridged adapter connected to my machines wlo1 and 2 ...
0
votes
0
answers
71
views
netplan config - connecting multiple PoE devices to ubuntu server with PxE ports
I have an asrock ep2c602 motherboard server with PxE ports. The server is connected via ethernet to the internet router. I want to connect some PoE devices to the server and make them available in the ...