LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 03-14-2014, 12:59 PM   #1
jyotig
LQ Newbie
 
Registered: Mar 2014
Posts: 6

Rep: Reputation: Disabled
Not able to connect internet


Hi,
I have Installed Oracle Linux 5 on VMware virtual Machine with two network adapters- Bridged and Host-only. I did manual setting for eth0 and eth1. Here is detail for both-

eth0
IP address- 192.168.1.161
netmask - 255.255.255.0
gateway-192.168.0.0
dns-192.168.0.0
host name- ora-db

eth1
IP address- 192.168.2.161
netmask - 255.255.255.0
gateway-192.168.0.0
dns-192.168.0.0
host name- ora-db

But I am not able to connect Internet through the Virtual machine. Can somebody guide me to solve the problem.
 
Old 03-14-2014, 01:29 PM   #2
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
You don't have a valid gateway & dns.
Correct those and restart network.
 
Old 03-14-2014, 02:27 PM   #3
jyotig
LQ Newbie
 
Registered: Mar 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
What can be the correct DNS and GATEWAY? If you can tell, it will be great help.

Thanks
 
Old 03-14-2014, 02:35 PM   #4
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
Sorry, I don't have access to your host and/or firewall... ;-)
As you're running your Oracle Linux as a vm guest, use the same settings you have on the host.

If you can't find it, try:
DNS: 8.8.8.8 (Goggle's nameserver)
Gateway: 192.168.1.1 & 192.168.2.1 (kind of standard, but your network techs could have set it to anything in the 192.168.1.0/24 & 192.168.2.0/24 network.

Last edited by pingu; 03-14-2014 at 02:51 PM. Reason: Correcting gateways
 
1 members found this post helpful.
Old 03-14-2014, 03:17 PM   #5
jyotig
LQ Newbie
 
Registered: Mar 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
thanks a lot. I made changes and it worked.
 
Old 03-15-2014, 10:20 AM   #6
mosam
LQ Newbie
 
Registered: Mar 2014
Posts: 5

Rep: Reputation: Disabled
you can choose NAT connect.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] can't connect to tightvncserver over internet..but can connect in LAN BHABANIPRASADPATI Linux Mint 5 06-14-2011 10:00 AM
Connect my netbook to wireless but it wont connect to the internet but it did . Haydn456MJW Linux - Newbie 7 01-26-2011 05:56 PM
Kubuntu - Can't connect to the internet, but can connect to the LAN KellyT Linux - Networking 1 11-12-2009 04:17 AM
Able to connect to default Gateway, Unable to connect to internet Dumb.Coder Linux - Newbie 11 04-14-2009 04:22 AM
connect to internet trough wireless others connect to me with lan Amir Menesy Linux - Wireless Networking 1 11-13-2007 08:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

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