#netplan — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #netplan, aggregated by home.social.
-
Policy Based Routing (Linux + Juniper)
В статье мы рассмотрим настройку маршрутизации на основе политик (Policy Based Routing, PBR) для управления трафиком от сервера в Интернет в зависимости от IP-адреса источника. Опишем шаги по конфигурации PBR на сервере c Ubuntu и маршрутизаторах Juniper MX.
-
"But I'm not using systemd-networkd!"
Well, if you're running a systemd-powered distribution, chances are the config you wrote is getting translated to systemd network units anyway, and you can just write a drop-in unit to add the masquerading setting.
For example, this SBC I'm configuring right now is using #Netplan, which creates network units in /var/run/systemd/network, and I can just add whatever I need to /etc/systemd/network/10-netplan-wlan0.network.d/whatever.conf.
-
"But I'm not using systemd-networkd!"
Well, if you're running a systemd-powered distribution, chances are the config you wrote is getting translated to systemd network units anyway, and you can just write a drop-in unit to add the masquerading setting.
For example, this SBC I'm configuring right now is using #Netplan, which creates network units in /var/run/systemd/network, and I can just add whatever I need to /etc/systemd/network/10-netplan-wlan0.network.d/whatever.conf.
-
Ubuntu 26.04 LTS **server** does not support anymore Network Manager with configuration files in /etc/NetworkManager/system-connections/
It only supports Netplan Yaml configuration files. WHY 🤔
Correct me if I'm wrong.
-
Ubuntu 26.04 LTS **server** does not support anymore Network Manager with configuration files in /etc/NetworkManager/system-connections/
It only supports Netplan Yaml configuration files. WHY 🤔
Correct me if I'm wrong.
-
Amusingly @geerlingguy inspired to me to try IPv6 one-more time with Verizon FiOS on my Debian router (something that has never worked for me)..and I got it going. Verizon's IPv6 documentation is basically only available through hear-say and rumors.. Their situation is so weird. Anyway I shared some tips and sloppy reflection in a quick blog post.
PS Jeff -- I totally get it!
-
Amusingly @geerlingguy inspired to me to try IPv6 one-more time with Verizon FiOS on my Debian router (something that has never worked for me)..and I got it going. Verizon's IPv6 documentation is basically only available through hear-say and rumors.. Their situation is so weird. Anyway I shared some tips and sloppy reflection in a quick blog post.
PS Jeff -- I totally get it!
-
@kaliwolf
Well I did not "move over" as one can't remove #NetPlan on #Ubuntu or #Kubuntu becasue of package dependencies etc...
but one can disable it more or less & let #NetworkManager take over.
What kills me about NetPlan is that it's more or less incomplete as it is missing so much, good thing it is only found on Ubuntu.
I've been getting into Bonding & 802.3ad/LACP https://en.wikipedia.org/wiki/Link_aggregation
#LinkAggregationSo what were you trying to do that NetPlan got in the way for you?
-
@kaliwolf
Well I did not "move over" as one can't remove #NetPlan on #Ubuntu or #Kubuntu becasue of package dependencies etc...
but one can disable it more or less & let #NetworkManager take over.
What kills me about NetPlan is that it's more or less incomplete as it is missing so much, good thing it is only found on Ubuntu.
I've been getting into Bonding & 802.3ad/LACP https://en.wikipedia.org/wiki/Link_aggregation
#LinkAggregationSo what were you trying to do that NetPlan got in the way for you?
-
I've used Linux for a long time
but I've never seen the maddest that is #NetPlan
I do an #Ethernet bond(2 Nic's bonding as 1) on my Main-PC
I wanted to change the Transmit Hash Policy in my bond via .nmconnection file for NM but NetPlan got in the way on my #Kubuntu
I really know #NetworkManager but NetPlan is missing options I needed etc... So I made changes & got Network Manager to take over but it took me Hrs of playing with it. Now I know why people hate NetPlan -
I've used Linux for a long time
but I've never seen the maddest that is #NetPlan
I do an #Ethernet bond(2 Nic's bonding as 1) on my Main-PC
I wanted to change the Transmit Hash Policy in my bond via .nmconnection file for NM but NetPlan got in the way on my #Kubuntu
I really know #NetworkManager but NetPlan is missing options I needed etc... So I made changes & got Network Manager to take over but it took me Hrs of playing with it. Now I know why people hate NetPlan -
Okay, if today is a day of morons, I must mention #systemd, #netplan, and maintainers of #nftables who specified network-pre.target for Wants and Before in nftables.service.
Just think: network-pre
They are happily unaware of tunnels created by netplan.
And netplan cannot create tun interfaces, LOL.
#ifupdown and #sysvinit worked like a charm but which VPS provider offer, say, #devuan ?
Modern developers drag us back to the stone age.
-
Okay, if today is a day of morons, I must mention #systemd, #netplan, and maintainers of #nftables who specified network-pre.target for Wants and Before in nftables.service.
Just think: network-pre
They are happily unaware of tunnels created by netplan.
And netplan cannot create tun interfaces, LOL.
#ifupdown and #sysvinit worked like a charm but which VPS provider offer, say, #devuan ?
Modern developers drag us back to the stone age.
-
I've just finished to set up my #ansible playbooks with #NetworkManager... They've changed for #netplan ;-(
Cloud-init on Raspberry Pi OS
https://www.raspberrypi.com/news/cloud-init-on-raspberry-pi-os/ -
Ubuntu 25.10 Network Disabled After Reboot? Do not panic! Here's How to Fix it.
Full Guide: https://ostechnix.com/ubuntu-25-10-network-disabled-after-reboot/
-
Ubuntu 25.10 Network Disabled After Reboot? Do not panic! Here's How to Fix it.
Full Guide: https://ostechnix.com/ubuntu-25-10-network-disabled-after-reboot/
-
Es momento para lanzar un testlab 🤠 con la rc1 #debiantrixie #netplan #podman #wireguard
-
Es momento para lanzar un testlab 🤠 con la rc1 #debiantrixie #netplan #podman #wireguard
-
@ubuntuasahi #netplan was the answer. It doesn't do anything by default. Added config to request DHCPv4 on #ens0 (network interface). And then it immediately got an IP address after running `netplan apply`. Case solved
-
#Netplan 1.1.2 has been released (#Canonical / #Ubuntu / #YAML / #NetworkManager / #SystemdNetworkD / #NetworkConfiguration) https://netplan.io/
-
#Netplan 1.1.2 has been released (#Canonical / #Ubuntu / #YAML / #NetworkManager / #SystemdNetworkD / #NetworkConfiguration) https://netplan.io/
-
I just hope the rest of the road is smoother. Fighting for a while with configuration is pretty darn discouraging and exhausting.
I think I was spoiled with #networkd and #netplan (with networkd backend) for the most part working just the way I like, even though netplan is missing some things I need.
-
I just hope the rest of the road is smoother. Fighting for a while with configuration is pretty darn discouraging and exhausting.
I think I was spoiled with #networkd and #netplan (with networkd backend) for the most part working just the way I like, even though netplan is missing some things I need.
-
I'm configuring #KVM on my #Linux laptop this morning and I came across #netplan. It's a tool to easily configure, networks on Linux. Very useful if you need to configure bridge devices on #Ubuntu. #networking https://netplan.io
-
I'm configuring #KVM on my #Linux laptop this morning and I came across #netplan. It's a tool to easily configure, networks on Linux. Very useful if you need to configure bridge devices on #Ubuntu. #networking https://netplan.io
-
802.1x on #Debian or #Ubuntu anybody? Manually running wpa_supplicant with password=hash:something and dhclient works for me, but it did not work adding this to /etc/network/interfaces. I always end up in default VLAN using this method.
Will one of the other methods (#systemd-networkd, #NetworkManager or #netplan support hashed passwords?)
I am just looking for a method that works.
#8021x -
today i learned that when #systemd gets restarted on my headless ubuntu 24.04 server, as it did with a recent update, this apparently also restarts systemd-networkd, and that kills ethernet connectivity until a reboot. since it's headless and doesn't currently have any other management options, that's never fun.
i saw that systemd-networkd was integrated with #netplan. i tried bypassing netplan and using a systemd-networkd configuration alone - which was an interesting challenge - but still, every time systemd-networkd restarts, networking is donezo. so i also tried switching to #networkmanager and ditching systemd-networkd, but then, somehow boot is delayed significantly and udisks2 fails to start (...why?!).
i have had to resort to setting up the watchdog package to reboot when network activity stops or pings fail. i don't like it, but i don't know what else to do in this distro.
also, kudos to anyone who can manage to use the term "systemd-networkd" in a post more than i did here.
-
#Netplan 1.1 has been released (#Canonical / #Ubuntu / #YAML / #NetworkManager / #SystemdNetworkD / #NetworkConfiguration) https://netplan.io/
-
#Netplan 1.1 has been released (#Canonical / #Ubuntu / #YAML / #NetworkManager / #SystemdNetworkD / #NetworkConfiguration) https://netplan.io/
-
How to Switch Back to /etc/network/interfaces From #Netplan
https://www.tecmint.com/switch-from-netplan-to-interfaces-ubuntu/
-
How to Switch Back to /etc/network/interfaces From #Netplan
https://www.tecmint.com/switch-from-netplan-to-interfaces-ubuntu/
-
Final review and merge of Lukas Märdian's merge request, adding #Netplan support to #DebianInstaller → https://salsa.debian.org/installer-team/netcfg/-/merge_requests/9 (uploaded as netcfg/1.190).
Whether `netplan-generator` gets installed by default is a *different* question though, and the installer team probably won't be making that decision.
-
Final review and merge of Lukas Märdian's merge request, adding #Netplan support to #DebianInstaller → https://salsa.debian.org/installer-team/netcfg/-/merge_requests/9 (uploaded as netcfg/1.190).
Whether `netplan-generator` gets installed by default is a *different* question though, and the installer team probably won't be making that decision.
-
Quizfrage an die netplan-Menschen unter euch:
Meine Netplan-Config im ersten Bild und dann die Ausgabe von ip a im nächsten Bild.
Warum will meine Brücke sich nie mit meinem Netzwerk verbinden? Habt Ihr Ideen, wie ich da weiteres herauszufinden kann?
Laut anderen Beispielen im Netz sollte das eigentlich klappen. -
Quizfrage an die netplan-Menschen unter euch:
Meine Netplan-Config im ersten Bild und dann die Ausgabe von ip a im nächsten Bild.
Warum will meine Brücke sich nie mit meinem Netzwerk verbinden? Habt Ihr Ideen, wie ich da weiteres herauszufinden kann?
Laut anderen Beispielen im Netz sollte das eigentlich klappen. -
Whats the "best" way to create a visual overview of #server #infrastructure with hosts, their #virtualmachines which run on them and their provided #services?
Problem of #netplan is the need to update it manually on a regular basis, which could be more time consuming. I tried a solution with #markdown and #mermaid syntax but the visual result is a bit lacking.
Open for any hints or tips in this regard. #sysadmin #linux #kvm #networks -
My Laptop turned Ubuntu Servers built-in LAN port broke. So over to Amazon same day delivery of a USB-Lan cable.
Plugged it in - but hmm, no IP. Quick google and found out about the new #NetPlan. So one file edited later and it's picked up my servers static IP from my router and all my dockers are up and running!
-
Woohoo! Template builds with packer and deploys with opentofu are all working. IP customization is passing through to the guest, which really was the hardest part for me to get going on Ubuntu 23.10 with netplan.
Shout out to @lamw who mentioned in a blog post about checking the file /var/log/vmware/toolsDeployPkg.log for relevant messages.
Said blog post is nearly two years old and reminds me of the power of blogging about technical topics. Little notes and tips are how people figure things out. They can be gems in the ocean of data that is the internet blogosphere.
I will, of course, be blogging my experience with Ubuntu 23.10 and what I've learned along the way.
-
Woohoo! Template builds with packer and deploys with opentofu are all working. IP customization is passing through to the guest, which really was the hardest part for me to get going on Ubuntu 23.10 with netplan.
Shout out to @lamw who mentioned in a blog post about checking the file /var/log/vmware/toolsDeployPkg.log for relevant messages.
Said blog post is nearly two years old and reminds me of the power of blogging about technical topics. Little notes and tips are how people figure things out. They can be gems in the ocean of data that is the internet blogosphere.
I will, of course, be blogging my experience with Ubuntu 23.10 and what I've learned along the way.
-
It's always DNS, right? If someone experiencing some strange issues with ubuntu, maybe this toot is for you.
tl;dr: switch from systemd-resolved to resolvconf.
I thought, the saying from the beginning was just something from the "old days". No DNS Problems in 2024 anymore, right? But Ubuntu taught me different.
Ubuntu is using systemd-resolved since 20.04 (if I'm correct). But I was shocked, when I was looking at my uptime kuma Container on a Ubuntu 22.04 LTS Host. It was constantly failing. Sometimes 3 services at the same time, sometimes just 1 service a day. One Check suddenly failed. 60 seconds later, the next check, switched back to green again. But all fails had the same error message: "getaddrinfo ENOTFOUND domain.com". Doesn't matter if they were internal domains or external. Sometimes some of them just failed.
I thought it could be an old Firewall Applience that were running at like 120% system utilization and were serving DHCP and (with this) internal DNS. But no. Not even high latencies from that Firewall. Then I thought it might be AdGuard (in a Docker Container). So I switched to PiHole. But the problems were still the same.
Then I turned on debug logs of systemd-resolved and found out that sometimes it was switching to the secondary DNS Server for whatever reason and just attaching the search domain to the following requests:
1. AAAA of demodomain.com
--> no answer (because only A were available)
2. A of demodomain.com
--> somehow failed, systemd-resolved switched to second DNS (debug log of systemd-resolved is hard to read, not sure why it somehow failed)
3. AAAA of demodomain.com.local
--> it just attached the searchdomain of the system to the domain which now resulting in errors from all following DNS ServerAfter another round of wrong requests it suddenly get back his head. But in the meantime, uptime kuma already failed.
The solution in my case: switch "back" to resolvconf package on Ubuntu. Which comes to at least one downside: it seems to not have an interface to netplan and/or networkmanager (which leads to manual creating and managing of resolv.conf, not via DHCP, bummer). But after I switched: Everything is working fine and without any problems since days.
"We" also have an open bug report since 3 years: https://github.com/systemd/systemd/issues/21123
It's not exactly the same issue, but I think the root cause is connected somehow: it seems to be a problem of IPv6.
But a) I need (or better: want) IPv6 in my case/that network and b) WTF? How can this be a good solution to turn off IPv6 (https://github.com/systemd/systemd/issues/21123#issuecomment-2028976737)? Not to mention that we still need a solution for Post-IPv4.By the way: If you still experiencing DNS issues inside Docker Container, maybe Alpine could be another issue: https://martinheinz.dev/blog/92
#systemdresolved #ubuntu #Ubuntu2404 #uptimekuma #dns #usg #unifi #ubiquiti #adguard #pihole #netplan #networkmanager #ipv4 #ipv6 #alpine #docker #glibc #musl
-
Will, I believe it's time to refresh to #Ubuntu #NobleNumbat.
Quite a lot has come out on this release. 😎 Defaulting to #netplan is one I want to try out. 😅
https://ubuntu.com/blog/ubuntu-desktop-24-04-noble-numbat-deep-dive -
#Canonical Announces #Netplan 1.0 with Simultaneous WPA2 and WPA3 Support
https://9to5linux.com/canonical-announces-netplan-1-0-with-simultaneous-wpa2-and-wpa3-support
-
Canonical Formally Announces #Netplan 1.0 with Simultaneous WPA2 & WPA3 Support, WPA3-Enterprise Support, and More https://9to5linux.com/canonical-announces-netplan-1-0-with-simultaneous-wpa2-and-wpa3-support
-
I've very limited exposure to netplan through setting up Ubuntu for others. I use Debian, and there I'm still on ifupdown.
Anyone use Debian and chose to use netplan and can say why they like it?
I can't really see why I wouldn't go straight to systemd-networkd on servers if I wanted to stop using ifupdown.
On desktops/laptops I don't have an issue with NetworkManager.
#Linux #Debian #netplan
https://debconf23.debconf.org/talks/11-a-declarative-approach-to-linux-networking-with-netplan/