Hello everyone,
Can you help me this error ?
I am using Proxmox 1.9. I config two vlan on interface eth0. This is my config:
With this configuration, two vlans can connect internet.
My problem: VLAN 219 suddenly lost connection after several hours. I must remove ip address, after that re-add ip, then vps can connect again. As:
vzctl set 100100 --ipdel
vzctl set 100100 --ipadd
refer: https://pve.proxmox.com/wiki/Network_Model
Looking forward your anwser!
Thank you very much.
Can you help me this error ?
I am using Proxmox 1.9. I config two vlan on interface eth0. This is my config:
Code:
auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual
auto vmbr117
iface vmbr117 inet static
address 100.100.100.117
netmask 255.255.255.240
gateway 100.100.100.116
bridge_ports eth0.117
bridge_stp off
bridge_fd 0
post-up echo 1 > /proc/sys/net/ipv4/conf/vmbr117/proxy_arp
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
auto vmbr219
iface vmbr219 inet static
address 100.100.100.219
netmask 255.255.255.240
bridge_ports eth0.219
bridge_stp off
bridge_fd 0
post-up echo 1 > /proc/sys/net/ipv4/conf/vmbr219/proxy_arp
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up ip route add table vlan219 default via 100.100.100.218 dev vmbr219
post-up ip rule add from 100.100.100.217/24 table vlan219
post-down ip route del table vlan219 default via 100.100.100.218 dev vmbr219
post-down ip rule del from 100.100.100.217/24 table vlan219
node00x:~# ip rule
0: from all lookup local
32765: from 100.100.100.217/24 lookup vlan219
32766: from all lookup main
32767: from all lookup default
With this configuration, two vlans can connect internet.
My problem: VLAN 219 suddenly lost connection after several hours. I must remove ip address, after that re-add ip, then vps can connect again. As:
vzctl set 100100 --ipdel
vzctl set 100100 --ipadd
refer: https://pve.proxmox.com/wiki/Network_Model
Looking forward your anwser!
Thank you very much.