LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-14-2015, 04:09 PM   #1
jzoudavy
Member
 
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.

Thanks
 
Old 07-15-2015, 10:46 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,047

Rep: Reputation: 2893Reputation: 2893Reputation: 2893Reputation: 2893Reputation: 2893Reputation: 2893Reputation: 2893Reputation: 2893Reputation: 2893Reputation: 2893Reputation: 2893
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, 02:48 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,223

Rep: Reputation: 2928Reputation: 2928Reputation: 2928Reputation: 2928Reputation: 2928Reputation: 2928Reputation: 2928Reputation: 2928Reputation: 2928Reputation: 2928Reputation: 2928
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.
 
  


Reply


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 02:16 AM
[SOLVED] bridging 2 eth interfaces transparently rabbit2345 Linux - Networking 3 03-02-2014 11:22 PM
[SOLVED] CentOS 5.5 Virtual Interface Ip problems ax8l Linux - Networking 4 06-17-2011 07:27 AM
Virtual Interfaces, Bridging, TUN, TAP question for KVM setup (ubuntu server 9.04) mogga Linux - Networking 0 06-22-2009 01:35 AM
Bridging 2 eth infaces lunxer Linux - Networking 0 06-05-2003 11:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:48 AM.

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