Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have 2 virtual machines in the same physical machine [using libvirt/KVM]. How can I create a lan with these 2 machines? Host and the guests are running ubuntu.

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

I found the solution myself. I created an additional NIC in both the VMs and configured the ip of the new network interfaces. Should I leave my question so that others can benifit or should I vote to delete?

share|improve this answer
1  
It's fine to answer your own question, so leave it here for others' reference. Also, mark your answer as 'accepted' too. –  Jeremy Kerr Feb 24 '12 at 0:18
add comment

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.