Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a solution to prevent a VM user assign/use IP addresses he doesn't own but are routed over the same bridge like his own addresses? The current setup looks like this with libvirt and KVM:

              |---VM1 (IP 1)
Host ---> br0 |---VM2 (IP 2) 
              |---VM2 (IP 3)

or is the only solution to use a unique bridge for every VM?

share|improve this question
up vote 3 down vote accepted

You can use ebtables for this assuming you are assigning a mac to every VM on the host node.

This in simple terms locks it down by mac address and will only allow the VM's to use IP's specifically assigned to them.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.