Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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.

http://ebtables.sourceforge.net/

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

 
discard

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.