General confusion on Proxmox networking & routing of VM/containers - help?

Allen15

New Member
Jun 28, 2010
28
0
1
Public IP#1 --> Router#1 & Default GW#1 (192.168.12.1 w/ no DHCP on router) --> Local 192.168.12.0 network
--> SBS Server (192.168.12.5) with live website on public IP#1, DHCP Server & local clients in scope 192.168.12.100-.150
--> Proxmox server (192.168.12.7) hosting KVM = Terminal server on local network
(All of the above works fine)

Public IP#2 --> Router#2 & Default GW#2 (192.168.12.3 w/ no DHCP on router) --> also local to 192.168.12.0 network, but routing to local server 192.168.12.10 for port 80, 443, & ICMP
Add new OpenVZ Container on existing Proxmox server (192.168.12.7) and assign IP address (192.168.12.10), but can't enter a new default GW, even though it is on same subnet, and should be able to see it, so no outbound packets are returning through 2nd router, even though router shows incoming packets when trying to browse 2nd IP address.

ICMP works & browsing to local IP address works from local LAN, DNS has propagated, so it resolves the correct 2nd public IP when trying to ping or browse, but no packets or web content is returned via internet.

What is the proper way to add visible & usable servers to a Proxmox host, or more aptly the correct way to network them to the outside world? If I could only have one running per host, that kinda defeats the purpose of virtualization, right?

I've tried searching for a way to set a different default route for a specific container, so that I could host a new/separate web server from the Proxmox server, & I'm failing to get the new server to route to the preferred default gateway, so that it is visible to the internet.

I don't think this is version specific to Proxmox, either, but I don't really know where to continue searching or trying to learn how I should be doing this. Please direct me to further reading if possible, so I can sort out what base misunderstandings I have with how this is supposed to work.

The documentation says that the standard bridged networking works as if the VMs were plugged into the same switch. (in the real world, I've plugged multiple networks into the same switch, and they didn't have problems communicating with their respective ports, but that may simply not work with a virtual switch).

I have a setup with Proxmox originally installed because there was a need for an additional Windows terminal server, and desired future growth including some more servers to be determined, but there was really only room for 1 more server. It worked wonderfully, with Proxmox v. 1.7 a while back. Fast forward to today, & I am faced with the task of both upgrading to current version Proxmox, & also adding a new Wordpress site, which seemed an ideal task for a new OpenVZ Container. Upgrade was put off, pending a good verified backup, and Wordpress installed without a hitch.

Original terminal server is still running happily with Proxmox on same network as original LAN before Proxmox at 192.168.12.x, and is properly accessable from there. This was an add-on to a Windows Small Business network, & the SBS server is on a separate machine, at 192.168.12.5, with a default GW at 192.168.12.1. It has a live & active production website, so port 80 of public IP is routed to 192.168.12.5. So far, so good.

We have additional public IP addresses available, so to add the new Wordpress site, I installed another router with a LAN address of 192.168.12.3, and updated the DNS records to point the new name to the proper IP address, with the new router routing port 80 of the 2nd IP address to the OpenVZ Container address of 192.168.12.10. I have not found a way to change the default route of the container to point to the 2nd router, so the Wordpress site is only visible on the LAN when browsing to the local IP address. In the past, at other locations, I've been able to add a 2nd physical router & server, with static assignment, & keep them on the same local network, but just have them use different routers, so I don't understand why I can't get this to work in Proxmox. Please help by explaining where Proxmox differs, and where I can go for remedial training to sort out what seems to be a basic misunderstanding on how routing & networking works?

Is there a guide to more advanced Proxmox or applicable networking concepts I could study?

Thanks