Hello,
First, I am aware that they are numerous posts about network bridge but they all seem to have different ideas and I wanted to be sure that I get the correct procedure for my installation.
I have three (3) Proxmox 3.1 KVM Hypervisor nodes each with 2 NICs, there are a number of VMs with both Public and Private NICs and are working as expected.
I have one other VM which only has a Private IP, since it is going to be an NFS Share it doesn't need a Public IP but I still need it to be able to access the internet for installing updates etc. At the moment it can only ping the Private and Public IPs on the nodes but not out to the internet. This particular VM is on Node3.
Here are the configurations of the KVM Hypervisor Nodes.
The Network configuration for Node3. The config is identical for all 3 Nodes.
Here is the configuration of the Ubuntu 12.04 Guest in question. It only has one NIC since it doesn't require a public IP but still need to be able to access the internet for updates etc.
Any help would be appreciated.
regards,
Samwayne
First, I am aware that they are numerous posts about network bridge but they all seem to have different ideas and I wanted to be sure that I get the correct procedure for my installation.
I have three (3) Proxmox 3.1 KVM Hypervisor nodes each with 2 NICs, there are a number of VMs with both Public and Private NICs and are working as expected.
I have one other VM which only has a Private IP, since it is going to be an NFS Share it doesn't need a Public IP but I still need it to be able to access the internet for installing updates etc. At the moment it can only ping the Private and Public IPs on the nodes but not out to the internet. This particular VM is on Node3.
Here are the configurations of the KVM Hypervisor Nodes.
Code:
Public IPs (eth0):
[I]The real IPs have been substituted.[/I]
Node1: 172.16.16.151
Node2: 172.16.16.152
Node3: 172.16.16.153
Private IPs (eth1)
Node1: 192.168.1.151
Node2: 192.168.1.152
Node3: 192.168.1.153
The Network configuration for Node3. The config is identical for all 3 Nodes.
Code:
# network interface settings
auto lo
iface lo inet loopback
iface eth0 inet manual
auto vmbr0
iface vmbr0 inet static
address 172.16.16.153
netmask 255.255.255.240
gateway 172.16.16.158
bridge_ports eth0
bridge_stp off
bridge_fd 0
iface eth1 inet manual
auto vmbr1
iface vmbr1 inet static
address 192.168.1.153
netmask 255.255.255.0
bridge_ports eth1
bridge_stp off
bridge_fd 0
Here is the configuration of the Ubuntu 12.04 Guest in question. It only has one NIC since it doesn't require a public IP but still need to be able to access the internet for updates etc.
Code:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.149
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.153
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 8.8.8.8 8.8.4.4
dns-search example.com
Any help would be appreciated.
regards,
Samwayne