LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Have a virtual ethernet appear as a real one (https://www.linuxquestions.org/questions/linux-general-1/have-a-virtual-ethernet-appear-as-a-real-one-854917/)

raindog308 01-07-2011 08:52 PM

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.

syg00 01-07-2011 10:59 PM

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 .... :eek:

syg00 01-07-2011 11:25 PM

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.

jefro 01-08-2011 03:31 PM

What about a tunnel type or tun?


All times are GMT -5. The time now is 06:20 AM.