LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-07-2011, 08:52 PM   #1
raindog308
Member
 
Registered: Dec 2010
Posts: 34

Rep: Reputation: 1
Have a virtual ethernet appear as a real one


Anyone know of a way in Linux to have a virtual ethernet (e.g., eth0:1) appear as a "real" ethernet (eth1)?

I ask because I have an old Shuttle box that only has one mobo ethernet and no way to add more. I'd like to use it in my Oracle RAC lab, but RAC requires two physical ethernets. You can't fool it with eth0 and eth0:1. RAC won't setup correctly if there's only one eth adapter, so I'm wondering if there is a way to fake two ethernets.

I do not care about performance or reliability - it's my home lab. I fully realize that this violates every principle of HA, but I'm just using it to study.

Worst case, I can get a USB dongle ethernet adapter, but I'd prefer to avoid the cost if possible.
 
Old 01-07-2011, 10:59 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Run it virtualised ?. Should be able to define two adaptors for nothing - well, apart from a performance hit maybe.

Ooops - just re-read that. Best I better go test first I suppose ....

Last edited by syg00; 01-07-2011 at 11:01 PM.
 
Old 01-07-2011, 11:25 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
I just had a play on my VBox (Win7 host), and it quite happily created eth0,1,2. They came "up".
With RAC running in a guest it shouldn't know whether the interfaces are "real" or not.

I don't run virtual on Linux, but I'd expect it to be likewise.
 
Old 01-08-2011, 03:31 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
What about a tunnel type or tun?
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can I use VPN between real PC and virtual portable-OS? linus72 Linux - Newbie 1 06-13-2009 02:17 AM
Moving Linux from virtual to real SlowCoder Linux - General 3 05-14-2009 04:49 PM
how to transfer files from virtual HD to real HD? linus72 Linux - Newbie 2 04-23-2009 12:58 PM
is there a way to make a 'real' virtual interface? Taishan269 Linux - Networking 0 12-17-2003 02:33 PM
Real newbie ethernet question Jdurr Linux - Networking 18 09-26-2003 12:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:35 PM.

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
Open Source Consulting | Domain Registration