For testing purposes I created an lxc CT with one network card
route inside CT
Then from proxmox gui I change the gw from 10.10.10.1 to nodes public IP, routes show:
than from proxmox gui I change the GW from 148.251.xx.xx back to 10.10.10.1, routes show:
now when I try to change back from 10.10.10.1 to 148.251.xx.xx I can not. I guess because proxmox never deletes the following route
The only way to get rid of this is deleting the network interface.
Code:
IP: 10.10.10.224/24
GW: 10.10.10.1
route inside CT
Code:
# ip route show
default via 10.10.10.1 dev eth0
10.10.10.0/24 dev eth0 proto kernel scope link src 10.10.10.224
Then from proxmox gui I change the gw from 10.10.10.1 to nodes public IP, routes show:
Code:
# ip route show
default via 148.251.xx.xx dev eth0
10.10.10.0/24 dev eth0 proto kernel scope link src 10.10.10.224
148.251.xx.xx dev eth0 scope link
than from proxmox gui I change the GW from 148.251.xx.xx back to 10.10.10.1, routes show:
Code:
# ip route show
default via 10.10.10.1 dev eth0
10.10.10.0/24 dev eth0 proto kernel scope link src 10.10.10.224
148.251.xx.xx dev eth0 scope link
now when I try to change back from 10.10.10.1 to 148.251.xx.xx I can not. I guess because proxmox never deletes the following route
Code:
148.251.xx.xx dev eth0 scope link
The only way to get rid of this is deleting the network interface.