Ok, I have a Proxmox 2.1 system with a Debian Squeeze base, and a FreeBSD KVM. I have a primary IP (obfuscated here) of 318.104.22.168 on a /27 subnet (though mine is the only IP I own on that subnet) and an additional subnet at 322.214.171.124/27 for my VM's.
I have followed the Proxmox guide to the letter, but while the VM's OS can ping the host, the host cannot ping the VM, nor is there any traffic from the broader internet to or from the VM. Obviously this is a routing issue of some kind, but I have looked all over the net for further examples and everyone seems to do it differently. Some people assign no IP to eth0 and only assign it to the bridge (which is the way I would expect) but that hasn't worked for me. Some people say to set bridge_ports to "eth0" and some say not to. The guide that my provider supplies for Proxmox says to do it like this, but so far I have had no success. Can anyone please tell me what I might be doing wrong ?
Contents of /etc/network/interfaces
auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 3126.96.36.199 broadcast 3188.8.131.52 netmask 255.255.255.224 pointtopoint 3184.108.40.206 gateway 3220.127.116.11 auto vmbr0 iface vmbr0 inet static address 318.104.22.168 broadcast 322.214.171.124 netmask 255.255.255.224 bridge_ports none bridge_stp off bridge_fd 0 up ip route add 3126.96.36.199/27 dev vmbr0
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 3188.8.131.52 0.0.0.0 255.255.255.224 U 0 0 0 vmbr0 3184.108.40.206 0.0.0.0 255.255.255.224 U 0 0 0 eth0 3220.127.116.11 0.0.0.0 255.255.255.224 U 0 0 0 vmbr0 0.0.0.0 318.104.22.168 0.0.0.0 UG 0 0 0 eth0
bridge name bridge id STP enabled interfaces vmbr0 8000.0ee2dbb315e0 no tap100i0