I know this question has been answered in a couple of threads but in my setup I'm not able to get it to work.
Here is how its setup.
I have vlan438 setup on my cisco 3750 switch.
I have the subnet assigned 10.4.4.64/30 to vlan438
vmbr0 has the IP 10.4.4.66 and the gateway 10.4.4.65.
I can access proxmox control panel, ssh etc etc...all fine.
I routed a 10.6.6.176/29 to vlan438...so I can assign IPs from .177 -> .182 to 6 usable IPs to 6 different VMs. Their default gateway is 10.4.4.65.
I can confirm the routed IPs are working because when I assign any IP from the 19.6.6.176/29 range to the node itself I can ping and access it fine.
I created a VM (VM1) with vmbr0 as the network and when I assign IP 10.6.6.177 to VM1 I CANNOT access it.
So on the node (10.4.4.66) I added the route..."route add -net 10.6.6.176 netmask 255.255.255.248 dev vmbr0" and I still cant access the VM1.
When I try to add a default gateway on VM1 (10.6.6.177) "route add default gw 10.4.4.65" I get the error "SIOCADDRT: No such process"...and I cant ping 10.4.4.65 from inside VM1...nor I can ping 10.6.6.177 from the node itself.
FORGOT TO MENTION: All these are KVM based VMs....
Anything I am missing here? Thanks.
Here is how its setup.
I have vlan438 setup on my cisco 3750 switch.
I have the subnet assigned 10.4.4.64/30 to vlan438
vmbr0 has the IP 10.4.4.66 and the gateway 10.4.4.65.
I can access proxmox control panel, ssh etc etc...all fine.
I routed a 10.6.6.176/29 to vlan438...so I can assign IPs from .177 -> .182 to 6 usable IPs to 6 different VMs. Their default gateway is 10.4.4.65.
I can confirm the routed IPs are working because when I assign any IP from the 19.6.6.176/29 range to the node itself I can ping and access it fine.
I created a VM (VM1) with vmbr0 as the network and when I assign IP 10.6.6.177 to VM1 I CANNOT access it.
So on the node (10.4.4.66) I added the route..."route add -net 10.6.6.176 netmask 255.255.255.248 dev vmbr0" and I still cant access the VM1.
When I try to add a default gateway on VM1 (10.6.6.177) "route add default gw 10.4.4.65" I get the error "SIOCADDRT: No such process"...and I cant ping 10.4.4.65 from inside VM1...nor I can ping 10.6.6.177 from the node itself.
FORGOT TO MENTION: All these are KVM based VMs....
Anything I am missing here? Thanks.
Last edited: