5.3 install with xfs (should it matter)
the building the server is located in is a 10.20.32.0/20
there is a router there for internet, 10.20.32.250
there is a router for lan connectivity, 10.20.32.1
I'm looking for a 'best practice' for how proxmox works..
should I put the static route for the entire network on the proxmox box itself, or only on the containers that will use it.
Currently I have this in proxmox (and proxmox works just fine)
auto vmbr0
iface vmbr0 inet static
address 10.20.32.100
netmask 255.255.240.0
gateway 10.20.32.250
bridge-ports eno1
bridge-stp off
bridge-fd 0
up ip route add 10.20.0.0/16 via 10.20.32.1 dev vmbr0
up ip route add 172.16.0.0/16 via 10.20.32.1 dev vmbr0
then I created an archlinux container, which *was* fine, now .. not so much and I can't figure out why.
the archlinux machine installed just fine and was fine *when rebooted*, the network worked.
but now since the machine was updated it doesn't work without manual intervention..
(archlinux container)
[Match]
Name = eth0
[Network]
Description = Interface eth0 autoconfigured by PVE
Address = 10.20.32.101/20
Gateway = 10.20.32.250
DHCP = none
IPv6AcceptRA = false
that is created and re-created by proxmox upon reboot..
and systemctl start systemd-networkd fails upon reboot..
but running /usr/lib/systemd/systemd-networkd gets the network to work..
The eth0.network file that I would like to use is this: (this forum does terrible with pasted lines.. ugh)
cat /root/eth0.network
[Match]
Name=eth0
[Network]
Description="Something"
Address=10.20.32.101/20
Gateway=10.20.32.250
[Route]
Gateway=10.20.32.1
Destination=10.20.0.0/16
[Route]
Gateway=10.20.32.1
Destination=172.16.0.0/16
tl;dr:
How can I get systemd networking working again in arch, and what is the most efficient way for static routes? per container? or on the proxmox system itself.
thanks in advance.
the building the server is located in is a 10.20.32.0/20
there is a router there for internet, 10.20.32.250
there is a router for lan connectivity, 10.20.32.1
I'm looking for a 'best practice' for how proxmox works..
should I put the static route for the entire network on the proxmox box itself, or only on the containers that will use it.
Currently I have this in proxmox (and proxmox works just fine)
auto vmbr0
iface vmbr0 inet static
address 10.20.32.100
netmask 255.255.240.0
gateway 10.20.32.250
bridge-ports eno1
bridge-stp off
bridge-fd 0
up ip route add 10.20.0.0/16 via 10.20.32.1 dev vmbr0
up ip route add 172.16.0.0/16 via 10.20.32.1 dev vmbr0
then I created an archlinux container, which *was* fine, now .. not so much and I can't figure out why.
the archlinux machine installed just fine and was fine *when rebooted*, the network worked.
but now since the machine was updated it doesn't work without manual intervention..
(archlinux container)
[Match]
Name = eth0
[Network]
Description = Interface eth0 autoconfigured by PVE
Address = 10.20.32.101/20
Gateway = 10.20.32.250
DHCP = none
IPv6AcceptRA = false
that is created and re-created by proxmox upon reboot..
and systemctl start systemd-networkd fails upon reboot..
but running /usr/lib/systemd/systemd-networkd gets the network to work..
The eth0.network file that I would like to use is this: (this forum does terrible with pasted lines.. ugh)
cat /root/eth0.network
[Match]
Name=eth0
[Network]
Description="Something"
Address=10.20.32.101/20
Gateway=10.20.32.250
[Route]
Gateway=10.20.32.1
Destination=10.20.0.0/16
[Route]
Gateway=10.20.32.1
Destination=172.16.0.0/16
tl;dr:
How can I get systemd networking working again in arch, and what is the most efficient way for static routes? per container? or on the proxmox system itself.
thanks in advance.