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 11-07-2008, 04:12 AM   #1
LQ Newbie
Registered: Nov 2008
Posts: 2

Rep: Reputation: 0
Configuring static ip

Hi all,

I have ubuntu installed in my machine and on top of it I have installed VMWare which has RHEL 4 as guest OS. I have installed oracle Apps in my guest OS. Now i need to make my guest OS ip static so that i can access oracle apps across my network.

Note: Initially when i was configuring my guest OS I chose NAT as my network setting.

Can anyone pls help me out with this.
Old 11-07-2008, 04:38 AM   #2
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
You should turn on forwarding on your host machine with
# echo 1 > /proc/sys/net/ipv4/ip_forward
and add a route to your virtual network (if there no)
ip route add dev tap0
where should be altered with address and netmask of virtual network, and tap0 - with name of the virtual interface.
Old 11-07-2008, 04:39 AM   #3
Registered: Aug 2008
Posts: 52

Rep: Reputation: 15
you could also change the VM machine configuration to set the (virtual) network interface in bridge mode. You do that from vmware control panel. Next you configure the static ip address inside RHEL.
If you have more than one, you can bridge the guest interface to a different physical interface than the host (say eth1) and possibly have different network addresses to route packets to.

Last edited by hopbyhop; 11-07-2008 at 04:42 AM.
Old 11-07-2008, 04:50 AM   #4
LQ Newbie
Registered: Nov 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks guys.... Will do the same and let u know ppl.


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
Problems Configuring Static IP qcoder Debian 4 09-14-2010 06:16 AM
Configuring local host to have Static IP logosys Linux - Networking 2 03-02-2006 01:20 AM
Configuring DNAT over static ip gugabaga Linux - Networking 10 02-26-2006 10:09 PM
Configuring Linux for static ip saravanan1979 Linux - Networking 2 02-23-2006 07:00 PM
Configuring Static IP nasrudin Linux - Networking 16 01-12-2005 07:17 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:57 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration