Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-14-2015, 05:09 PM   #1
Registered: Apr 2012
Distribution: Ubuntu, SUSE, Redhat
Posts: 188

Rep: Reputation: Disabled
Virtual box VM bridging to centos eth interface question

So I got this server, and a end user is running virtual box on it. eth0 is the server's mgmt interface, and the end user is also bridging his virtual box VM to my eth0 to get network connectivity.

The end user also lets other people use his setup and every once in a while they break the bridge and therefore killing both VM and the server's connectivity.

So I have now run a second cable from our switch to eth5, and asked my end user to bridge to eth5 instead. And to not confuse the networking I did not put an IP address on eth5. I was thinking just give it a straight cable to the switch and let the vlans handle it from there.

But that doesn't work, end user reports that the interface just stays down.

Do you experts any idea on how to fix this?
I just don't want the VM to be bridged to my mgmt interface, that's all.

Old 07-15-2015, 11:46 AM   #2
Registered: Aug 2002
Posts: 21,009

Rep: Reputation: 3876Reputation: 3876Reputation: 3876Reputation: 3876Reputation: 3876Reputation: 3876Reputation: 3876Reputation: 3876Reputation: 3876Reputation: 3876Reputation: 3876
If I understand the question virtualbox guests can not directly use PCI devices. Therefore if eth5 isn't configured on the host it is unavailable to the guest. Disable eth0 and enable eth5 as desired in vbox manager
Old 07-15-2015, 03:48 PM   #3
Registered: Mar 2008
Posts: 20,551

Rep: Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301
Not sure the users are crashing the bridge and host to start. Could be I guess but I'd think it less than likely.

If you are using bridged or nat you will have to use some connection to the switch. The most common is tcp/ip so put an IP in it and I'd put the subnet outside of your hosts eth0 mask.

Then port the switch or nat/pat it to the client's bridged ip.

This all should work if you use NAT in the client VM.

michaelk may be correct that you are trying to directly attach a device. And that would be much different that were I was heading.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Configuring Centos as router with virtual interface bxxst Linux - Networking 2 04-23-2015 03:16 AM
[SOLVED] bridging 2 eth interfaces transparently rabbit2345 Linux - Networking 3 03-03-2014 12:22 AM
[SOLVED] CentOS 5.5 Virtual Interface Ip problems ax8l Linux - Networking 4 06-17-2011 08:27 AM
Virtual Interfaces, Bridging, TUN, TAP question for KVM setup (ubuntu server 9.04) mogga Linux - Networking 0 06-22-2009 02:35 AM
Bridging 2 eth infaces lunxer Linux - Networking 0 06-05-2003 12:52 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration