Centos/OVH: public IP on KVM virtual machine

I have the same issue here. I want to be able to have host and VM guest on public IP. Communication between host and VM seems to work fine, but VM cannot reach the internet or vice versa.

My provider also has rule to have just one MAC address per switchport. Essentially VMAC addresses are used for failover in networking appliances like VRRP and some other protocols, that means if first switch fails the second link to another switch takes over and you get "replicated" switchport with actual MAC address and everything.

I don't see how can you benefit from this.

The best solution is to put 2 public IPs on host Ethernet interface, one for host second for VM. And do some policy routing.

Regards