LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 11-07-2008, 04:12 AM   #1
Niranjang
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
Samotnik
Member
 
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 172.20.0.0/24 dev tap0
where 172.20.0.0/24 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
hopbyhop
Member
 
Registered: Aug 2008
Posts: 55

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.
Regards

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

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


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 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

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

All times are GMT -5. The time now is 07:53 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