Setup frontend/backend network with multiple external IPs

peterLustig

New Member
Aug 9, 2023
6
2
3
Hello,

I plan to setup the same Network configuration as on Google Cloud Compute Engine with VPC, with Proxmox.

I need 3 VMs: A, B, C

A is in a private network, has no access to the Internet, but can talk with B and C
B is in different private network and has its own "external" IP Adress.
C is in a different private network and has its own "external" IP Adress.

A can talk with B and C.
B and C can talk with each other and with A.
B and C have also a different external IP - Adress.

In Google Cloud I could archieve this situation with the so called "VPC-Network".
B and C have two Network adapters (one for local, one for external).
A has only one for local.

Now I would like to kindly ask you, which kind of setup routed or bridged or something else would be the best solution.
The server is hosted on Hetzner, I already have exta IP adresses and for the extra IPs I have a MAC adress, not for the host.

Thanks in advance!
 
So, first I decided to make a bridged setup, with required the additional MAC addresses for each additional IP.
This, for whatever reason, did not work as excepted.

As recommeded, I deleted the MAC addresses and set up the routed version, which now works properly.
Now I want a secondary, only local network, preferably with a DHCP server.

I've seen some articles/threads/tutorials that I could make a new vm with pfSense working as a router.
Anyone has experience with this?

If someone is interested, I will share my working configuration (/etc/network/interfaces host&guest) later.
 
Last edited:
  • Like
Reactions: dnk