I have a CentOS 6.3 server with 1 NIC (eth0) and an external IP (lets say 184.108.40.206). On this server I’m running a CentOS 5.6 KVM with the “default settings” (virbr0 on 192.168.122.x).
What I want to get to is having my VM “connected directly to the physical world” – as in no NAT. I have a 2nd public IP address (220.127.116.11) that has the same gateway and I also have a 2nd “real world” MAC address that I can use in combination with the address.
The problem is, I’ve been researching for several days on how to accomplish this the best, reading about bridging and so on, but the more I read the more confused I get.
I want my host-eth0 to remain connected on it’s .4 address whilst passing .5 traffic straight to the VM. Is this possible? I’ve been reading about multiple MACs assigned to a single NIC, VLAN and bridging, but I have no clue where to begin.
As the server is remotely managed I’m also pretty scared of messing around with the config, because each error on my side will result in my server not being reachable. This means having to pay to get a KVM over IP hooked up to repair the damage. As I’m far from an expert in this area I would appreciate any help that I can get.
You set up a bridge to your existing Ethernet adapter, and then configure your guests’ network interfaces to use the bridge. The guests can then use any IP addresses assigned to you.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.