LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   creating a fake network interface!! help (https://www.linuxquestions.org/questions/linux-newbie-8/creating-a-fake-network-interface-help-700569/)

mtsm 01-28-2009 12:53 PM

creating a fake network interface!! help
 
Hi guys...i have a weird issue here.. our oracle team needs some linux machine for an oracle RAC , but itīs a fake oracle rac only for development/test purposes , as some of you might know oracle rac uses a dedicated interface for interconnect , as our RAC is a 'fake' one...it will be single...just one machine , and this interface has a configured ip but connects to no where....it has no cable , the problem is:

when the rac tries to up the database..it will check if there is conectivity at eth3 interface , as there is no cable , the database wont go up because of this. i dont want to pass a cable to connect no where.....what i was thinking is : is there a method to create a fake interface with link up? like the loopback interface? but it must be called eth3 ...otherwise we will have to re-install oracle :(


thanks for any help

Didier Spaier 01-28-2009 02:45 PM

May be there is some interface you don't use in your system. 'ifconfig -a' to check, then 'ifrename' to rename it eth3, then 'ifconfig eth3 up'. If you don't need it for any other purpose you could use lo.

Quakeboy02 01-28-2009 03:26 PM

Quote:

Originally Posted by Didier Spaier (Post 3424420)
May be there is some interface you don't use in your system. 'ifconfig -a' to check, then 'ifrename' to rename it eth3, then 'ifconfig eth3 up'. If you don't need it for any other purpose you could use lo.

Could he alias lo0 to lo0:1 and then rename that? I confess to almost total ignorance on aliases and renaming.

Didier Spaier 01-28-2009 03:46 PM

Quote:

Originally Posted by Quakeboy02 (Post 3424461)
Could he alias lo0 to lo0:1 and then rename that? I confess to almost total ignorance on aliases and renaming.

You mean, if he still needs lo ? May be. Just try :cool:


All times are GMT -5. The time now is 08:49 PM.