Ok, i have this old Gentoo server at Hetzner.
It's using systemd.
In the past I have used systemd-networkd to configure the network,
which was a bridge with eth0 and a libvirt VM with public dedicated IPv4 and IPv6 address.
Over the course of years I removed that VM.
Hetzner changed something in their setup and now I have to use a routed setup for IPV6 connectivity in the VMs.
But...
1. Usually systemd renames the interfaces to something like enp5s0,
but my eth0 is named p5p1, just p5p1.
2. When using systemd-networkd, when I remove the bridge and just configure p5p1,
it fails to assign either ipv4 or ipv6 address. It simply fails.
I then when to rescue system and emerged Networkmanager.
3. With Networkmanager, the routed setup, which requires very specific configuration, isn't possible to do.
But at least with Networkmanager, I'm able to assign the public ipv4 and ipv6 address.
So neither systemd-networkd or Networkmanager are able to configure my network properly.
And then I have a few docker containers running.
What are some other configuration options for networking with systemd?
I can't use openrc anymore, right?
Can I maybe run a custom configuration script with shell commands?
ip a add 1.2.3.4 dev p5p1
ip r add default via
Etc
How would I have proper interface names like enp5s0 instead of p5p1?
I have never encountered this kind of thing.
I have tried disabling predicable interface names, which just named the face eth0.
And every change is one big gamble, which requires a remote kvm console, which I can't use infinitely.
So I can't just experiment, and the kvm console also is awful to use at that.


