Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a server with 4 physical nics (eth0, 1,2,3). I bridge eth0 and eth1 to be used by my 4 virtual machines (the load of network traffic is light so I put 2 VMs to each bridge. I have the additional two physical nics (2,3) available and I need to assign them to 2 of my virtual machines in order for the VMs to connect to devices directly on a private subnet (the devices are software defined radios and they pass a ton of traffic).
The layout just to ensure I have it right is this
VM 1 ---- bridge0 (Public IPs)
VM 2 ---- bridge0 (Public IPs)
VM 3 ---- bridge1 (Public IPs)
VM 4 ---- bridge1 (Public IPs)
VM3 requires connection to 1st SDR through physical nic eth2 (Private IP space)/ Requires both a public and private IP
VM4 requires connection to 2nd SDR through physicl nic eth3 (Private IP space)/ Requires both a public and private IP
Any ideas??? Bridge the other two?? If so how do I assign multiple nics to the VMs??
So, you are saying "I have a vehicle. Can you guys tell me how to pop the trunk open?"...
...it would help us greatly if you told us exactly what vehicle you have.
What you're doing wrong in the first place, is direct NIC assignment to VMs. 99 of the use cases, this is wasteful.
If you want to use all the NICs you have, you might want to bond them, but unless there's a very specific need, do not assign them directly.
Now, the standard networking scheme for KVM and other hypervisors, is to create a virtual switch, connect it to a physical NIC or bond, for physical network access, and plug VMs into that switch, so they can interconnect as well as reach the physical network. In Linux, a simple bridge works as a switch, unless you need more features, and go with OVS
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.