Direct access to second NIC for Linux guest

Discussions related to using VirtualBox on Windows hosts.
Post Reply
gupta58
Posts: 18
Joined: 26. Oct 2009, 00:55
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: RHEL 6

Direct access to second NIC for Linux guest

Post by gupta58 »

I have Windows 7 host, installed VBox 5.0.10 and RHEL6 Linux guest VM. Network adapter 1 on VM is setup in bridged mode. Host and guest get public (128.x.x.x) IP. Adapter 2 is setup in host-only, both are working fine. I have a linux cluster on a private network (172.x.x.x) and would like my Linux VM to to have direct access to this cluster. I installed a second NIC card in a PCIe slot. The Windows host recognizes it and gets an 172.x.x.x IP, can communicate with the Linux cluster, Linux VM can't. I want only Linux VM to have exclusive access to the second NIC. Is that possible? How?
Vinod Gupta
MacBook Pro Retina Display, i7 Quad core 2.6GHz, 16GB RAM, 512GB SSD, OSX 10.10
Dell Optiplex 9020, i7 Quad core 3.4 GHz, 16GB RAM, 4TB HD, Windows 7
Dell Optiplex 9020, i7 Quad core 3.4 GHz, 8GB RAM, 2TB HD, RHEL 6.7
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Direct access to second NIC for Linux guest

Post by scottgus1 »

Uncheck all but Virtualbox bindings on the second NIC properties. (There was a glitch with version 5 which also required leaving the IP4 binding checked, don't know if that's fixed by now, it wasn't required before and caused some consternation on the forums, I believe it was recognized as a bug.)
Post Reply