home.social

#netplan — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #netplan, aggregated by home.social.

fetched live
  1. Policy Based Routing (Linux + Juniper)

    В статье мы рассмотрим настройку маршрутизации на основе политик (Policy Based Routing, PBR) для управления трафиком от сервера в Интернет в зависимости от IP-адреса источника. Опишем шаги по конфигурации PBR на сервере c Ubuntu и маршрутизаторах Juniper MX.

    habr.com/ru/articles/1070634/

    #pbr #policy_based_routing #juniper #linux #netplan

  2. "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.

    #systemd

  3. "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.

    #systemd

  4. 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.

    askubuntu.com/a/1568230/263638

    #Ubuntu #UbuntuServer #NetworkManager #Netplan

  5. 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.

    askubuntu.com/a/1568230/263638

    #Ubuntu #UbuntuServer #NetworkManager #Netplan

  6. 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!

    blog.lane-fu.com/posts/2026/06

    #ipv6 #clammy-ng #netplan #systemdnetworkd

  7. 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!

    blog.lane-fu.com/posts/2026/06

    #ipv6 #clammy-ng #netplan #systemdnetworkd

  8. @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 en.wikipedia.org/wiki/Link_agg
    #LinkAggregation

    So what were you trying to do that NetPlan got in the way for you?

  9. @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 en.wikipedia.org/wiki/Link_agg
    #LinkAggregation

    So what were you trying to do that NetPlan got in the way for you?

  10. 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

    #Linux #Networking #Network

  11. 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

    #Linux #Networking #Network

  12. 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.

  13. 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.

  14. @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

  15. 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.

  16. 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.

  17. 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 netplan.io

  18. 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 netplan.io

  19. 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

  20. Second ever bad experience with #Ubuntu Server (LTS) and it is alway related to this hideous #netplan thingy.

    Have to try different distros now.

  21. 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.

    #linux #techhell

  22. Final review and merge of Lukas Märdian's merge request, adding #Netplan support to #DebianInstallersalsa.debian.org/installer-tea (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.

  23. Final review and merge of Lukas Märdian's merge request, adding #Netplan support to #DebianInstallersalsa.debian.org/installer-tea (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.

  24. 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.

    #linux #server #ubuntu #netplan

  25. 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.

    #linux #server #ubuntu #netplan

  26. do i remove network manager and go with all static network setup - likely #old way #new way #netplan.io

  27. do i remove network manager and go with all static network setup - likely #old way #new way #netplan.io

  28. Whats the "best" way to create a visual overview of with hosts, their which run on them and their provided ?
    Problem of is the need to update it manually on a regular basis, which could be more time consuming. I tried a solution with and syntax but the visual result is a bit lacking.
    Open for any hints or tips in this regard.

  29. 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 . 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!

  30. 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.

    #ubuntu #netplan #homelab #vmware #packer #opentofu

  31. 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.

    #ubuntu #netplan #homelab #vmware #packer #opentofu

  32. 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 Server

    After 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: github.com/systemd/systemd/iss

    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 (github.com/systemd/systemd/iss)? 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: martinheinz.dev/blog/92

    #systemdresolved #ubuntu #Ubuntu2404 #uptimekuma #dns #usg #unifi #ubiquiti #adguard #pihole #netplan #networkmanager #ipv4 #ipv6 #alpine #docker #glibc #musl

  33. @lx Never liked #netplan on #ubuntu and maybe not one else is really using it.

  34. 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. 😅
    ubuntu.com/blog/ubuntu-desktop

  35. 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
    debconf23.debconf.org/talks/11