After tanking my way through the physical to virtual conversion, I'm down to the final stretch of getting the VMs connected properly. However, banging my head at it for almost an entire day now made me realized how utterly useless I am when it comes to virtual networking without the pretty GUI's of a router.
I think I understand the concept of bonding -- putting two eth devices together such that either: if one fails, the other one can pick up; or: get better throughput on applications that require more bandwidth; or: one for NFS mount, one for other traffic -- and I think I do not need any of the benefits from bonding yet.
I think what I want to achieve is bridging, but I don't even know where to start. Here's the setup I'd like to achieve:
What I want are:
Are the ideas correct? Where can I learn more about setting this up? Proxmox Wiki have a good page on Networking Model, but it feels like it is written to an audience with better understanding of this than me. I'd love to get some reading materials to get this all figured out properly, so you guys don't have to hold my hand all the way
Thanks!
PS: Attached is what my current network setup looks like. I have no idea what to fill for gateway for vmbr1, and not even sure how to approach to add the rest :/
I think I understand the concept of bonding -- putting two eth devices together such that either: if one fails, the other one can pick up; or: get better throughput on applications that require more bandwidth; or: one for NFS mount, one for other traffic -- and I think I do not need any of the benefits from bonding yet.
I think what I want to achieve is bridging, but I don't even know where to start. Here's the setup I'd like to achieve:
Code:
[Internet]
^
|
V
[Host Node] (I'll figure out the "Data Center"
^ and high availability much later)
|
V
[vmbr0] (tied to eth0)
^
/|\
/ | \
/ | \
/ | \
V V V
[vmbr1]2]...N] (all tied to vmbr0)
^
/|\
/ | \
/ | \
/ | \
V V V
[VM1][VM2][VM3] (all tied to just one vmbr)
What I want are:
- eth0, my primary network device, to claim all of my available IP addresses (I have /29 from host) and assign all to a single vmbridge; this leaves my eth1 open so I can use it for NFS or other servers later.
- vmbr0 assigns 1 IP address to each of the vmbr below it, and make them think as if they are a "router" (i.e.: vmbr1 handles address: 10.84.10.0, netmask: 255.255.255.0; vmbr2 handles address: 10.84.20.0, netmask: 255.255.255.0; etc. etc.).
- vmbrX then assigns IP address to VM1, 2, 3, etc. under it, allowing incoming (port forward controlled by vmbr1, 2, 3, etc.) and outgoing (DMZ zone equivalent for routers, is this the whole iptables MASQUERADE thing?) connections
Are the ideas correct? Where can I learn more about setting this up? Proxmox Wiki have a good page on Networking Model, but it feels like it is written to an audience with better understanding of this than me. I'd love to get some reading materials to get this all figured out properly, so you guys don't have to hold my hand all the way
Thanks!
PS: Attached is what my current network setup looks like. I have no idea what to fill for gateway for vmbr1, and not even sure how to approach to add the rest :/