Hi, I'm new to Proxmox and loving it so far with my OpenVZ containers. However I can't seem to get KVM guests internet-accessible nor can I find a definitive howto on how to properly set up internet-facing bridged interfaces.
I have two NICs and a block of 5 IP addresses and this is how I'm trying to get them set up
eth0 -> vmbr0 -> Proxmox management [public IP 216.107.x.154]
eth1 -> vmbr1 -> KVM guest eth0 (Internet-facing pfSense WAN) [intended public IP 216.107.x.155]
I'll worry about .156, .157, and .158 later, those being my other public IPs.
I also have another bridge (vmbr420) for the pfSense LAN that is working correctly with DHCP assigning IPs and network traffic working between other KVM guests. I intend on using port-forwarding on the pfSense KVM to perform NAT with a single public IP.
I've been smashing my head at this all day with no tangible result. Here's my current /etc/network/interfaces
Is vmbr1 correct? I want to assign the IP inside the KVM guest, right? No matter what I try, nothing is working. KVM guests can't hit the internet, and external pings result in 'destination host unreachable'. Also, do I set the KVM guest gateway to 216.107.x.153, or do I not enter a gateway?
I have two NICs and a block of 5 IP addresses and this is how I'm trying to get them set up
eth0 -> vmbr0 -> Proxmox management [public IP 216.107.x.154]
eth1 -> vmbr1 -> KVM guest eth0 (Internet-facing pfSense WAN) [intended public IP 216.107.x.155]
I'll worry about .156, .157, and .158 later, those being my other public IPs.
I also have another bridge (vmbr420) for the pfSense LAN that is working correctly with DHCP assigning IPs and network traffic working between other KVM guests. I intend on using port-forwarding on the pfSense KVM to perform NAT with a single public IP.
I've been smashing my head at this all day with no tangible result. Here's my current /etc/network/interfaces
Code:
auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual
auto vmbr0
iface vmbr0 inet static
address 216.107.x.154
netmask 255.255.255.248
gateway 216.107.x.153
bridge_ports eth0
bridge_stp off
bridge_fd 0
auto vmbr1
iface vmbr1 inet manual
bridge_ports eth1
bridge_stp off
bridge_fd 0
auto vmbr420
iface vmbr420 inet manual
bridge_ports none
bridge_stp off
bridge_fd 0
Is vmbr1 correct? I want to assign the IP inside the KVM guest, right? No matter what I try, nothing is working. KVM guests can't hit the internet, and external pings result in 'destination host unreachable'. Also, do I set the KVM guest gateway to 216.107.x.153, or do I not enter a gateway?
Last edited: