N newltf New Member May 10, 2022 1 0 1 May 10, 2022 #1 pve 's gateway is 192.168.5.1 , the vm(arch and linux) use the host 's gateway by default. I want to change the vm's gateway. But after changing the vm's gateway by using "ip route", the gateway will be reset to 192.168.5.1 after rebooting.
pve 's gateway is 192.168.5.1 , the vm(arch and linux) use the host 's gateway by default. I want to change the vm's gateway. But after changing the vm's gateway by using "ip route", the gateway will be reset to 192.168.5.1 after rebooting.
bbgeek17 Distinguished Member Nov 20, 2020 6,122 2,262 278 Blockbridge www.blockbridge.com May 10, 2022 #2 If you are using static IP then you should study this document: https://wiki.archlinux.org/title/systemd-networkd#[Route] If you are using DHCP then you should look into your DHCP configuration to find out how to give out custom IP/route. Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox Reactions: newltf
If you are using static IP then you should study this document: https://wiki.archlinux.org/title/systemd-networkd#[Route] If you are using DHCP then you should look into your DHCP configuration to find out how to give out custom IP/route. Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox