LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-18-2011, 12:11 PM   #1
sasuke
LQ Newbie
 
Registered: Sep 2011
Location: Durgapur
Distribution: Red hat
Posts: 17

Rep: Reputation: Disabled
Internet connection in rhel5


I have installed rhel5 in my vmware workstation. Could anyone tell me how to connect the internet in my rhel5? i have window 7 on which vmware is installed.
 
Old 09-18-2011, 12:36 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
this isn't anythign to do with redhat. the virtualiszation handles the network connectivity and just presents an virtual ethernet devices and DHCP. if your host is working correctly and you've selected the right network setup then it will just work. what type of networking are you using? are you getting an IP on the host?

Note that you can't install "vmware". vmware is a company, not a product... is this player? server? workstation? esx? esxi?
 
Old 09-18-2011, 12:45 PM   #3
sasuke
LQ Newbie
 
Registered: Sep 2011
Location: Durgapur
Distribution: Red hat
Posts: 17

Original Poster
Rep: Reputation: Disabled
I have installed vmware workstation.
i have changed the linux ip address by using the system-config-network command in graphical mode. and in turn i have also changed the vmware network adapter vmnet1. bt still i cannot connect the net. what to do now??
could you please give a step by step instruction on what should i do??
 
Old 09-18-2011, 01:12 PM   #4
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
Your VMWare network adapter settings need to be Bridged or NAT-ed (I don't have VMware, I use virtualbox) to let the Virtual host access outside world (internet).
Then inside Virtual machine I can manually configure Network adapter address or let it DHCP (because my router has it) and it works

good luck
 
Old 09-18-2011, 01:29 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
why would you change the linux ip address/ what did you change it from or to???
 
Old 09-18-2011, 01:31 PM   #6
sasuke
LQ Newbie
 
Registered: Sep 2011
Location: Durgapur
Distribution: Red hat
Posts: 17

Original Poster
Rep: Reputation: Disabled
i think bridge connection won't solve it. because that need an external lan connection. but here in this case i am using inside my window. so my present connection type is set to nat(it is one of the vmware workstation settings).
 
Old 09-18-2011, 01:34 PM   #7
sasuke
LQ Newbie
 
Registered: Sep 2011
Location: Durgapur
Distribution: Red hat
Posts: 17

Original Poster
Rep: Reputation: Disabled
previously the ipaddress was blank i changed it to one of class A ip address. i thought i needed it to connect it the internet i need to give it an ipaddress. that's why i changed it. did i do it wrong?? then what should i do now??
 
Old 09-18-2011, 01:43 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
as above, you should not needed to have done ANYTHING under rhel. workstation will provide addresses on a NAT networking layout, AFAIR. this is a purely 100% Workstation config issue.
 
Old 09-18-2011, 01:49 PM   #9
sasuke
LQ Newbie
 
Registered: Sep 2011
Location: Durgapur
Distribution: Red hat
Posts: 17

Original Poster
Rep: Reputation: Disabled
so what i am supposed to do now?? is there any way to restore the tampered settings??
 
Old 09-18-2011, 02:31 PM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
you can just delete the ifcfg-eth0 file in /etc/sysconfig/network-scripts, i'd probably also delete the vmnic reboot it and let it come up without a nic, then readd it and reboot.
 
  


Reply


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
RSH connection refused in RHEL5 saigiridhar Red Hat 12 12-18-2011 08:24 PM
[SOLVED] PPPoE Connection on RHEL5 pradeepontheline Linux - Networking 6 05-29-2011 06:27 AM
[SOLVED] Wireless Internet Connection in RHEL5 captainpirate Linux - Newbie 2 09-09-2010 07:29 AM
Help creating PPPoE connection Using RHEL5 hussaink Linux - Networking 3 04-06-2010 09:51 PM
no internet rhel5.1 sycamorex Linux - Networking 4 05-18-2008 05:00 AM


All times are GMT -5. The time now is 03:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration