LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-25-2015, 12:49 AM   #1
fshah
Member
 
Registered: Apr 2013
Posts: 45

Rep: Reputation: 0
Question Why i cannot be able to use internet? What's wrong with my network settings?


I have Windows with vmware version 7 installed. I installed centos 6.2 on vmware. I want to install and configure dhcp server on centos and also want that centos is connected to the internet for this purpose i have configured two NIC card on this server. One of them is configured with manual ip that eth0 and i configured this interface as custom:vmnet0 in network settings in vmware. Second interface that in eth1 is configured as NAT in vmware network settings. My problem is i try to ping any host that is ping google.com or ping hotmail.com no result will display or even i cannot browse internet. What is wrong with my network settings? please help.
 
Old 02-25-2015, 05:06 AM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
You haven't given much information about you network settings.
Do you have a default route and what is it?
Can you reach the next thing in your default route?
Can you do DNS lookups?
 
Old 02-25-2015, 05:26 AM   #3
fshah
Member
 
Registered: Apr 2013
Posts: 45

Original Poster
Rep: Reputation: 0
Following Shw output

[root@localhost sysconfig]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.192.0 0.0.0.0 255.255.255.0 U 1 0 0 eth1
192.168.10.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
0.0.0.0 192.168.10.100 0.0.0.0 UG 0 0 0 eth0

Last edited by fshah; 02-25-2015 at 05:44 AM.
 
Old 02-25-2015, 05:48 AM   #4
fshah
Member
 
Registered: Apr 2013
Posts: 45

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by fshah View Post
Following Shw output

[root@localhost sysconfig]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.192.0 0.0.0.0 255.255.255.0 U 1 0 0 eth1
192.168.10.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
0.0.0.0 192.168.10.100 0.0.0.0 UG 0 0 0 eth0
What does it mean? plz
Can you reach the next thing in your default route?
Can you do DNS lookups?
 
Old 02-25-2015, 06:13 AM   #5
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
ping 192.168.10.100
 
Old 02-25-2015, 09:01 AM   #6
fshah
Member
 
Registered: Apr 2013
Posts: 45

Original Poster
Rep: Reputation: 0
[root@localhost sysconfig]# ping 192.168.10.100
PING 192.168.10.100 (192.168.10.100) 56(84) bytes of data.
64 bytes from 192.168.10.100: icmp_seq=1 ttl=64 time=0.098 ms
64 bytes from 192.168.10.100: icmp_seq=2 ttl=64 time=0.088 ms
64 bytes from 192.168.10.100: icmp_seq=3 ttl=64 time=0.090 ms
64 bytes from 192.168.10.100: icmp_seq=4 ttl=64 time=0.081 ms
64 bytes from 192.168.10.100: icmp_seq=5 ttl=64 time=0.090 ms
64 bytes from 192.168.10.100: icmp_seq=6 ttl=64 time=0.088 ms
64 bytes from 192.168.10.100: icmp_seq=7 ttl=64 time=0.088 ms
 
Old 02-25-2015, 09:16 AM   #7
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
ping 8.8.8.8

dig google.com
 
Old 02-25-2015, 09:29 AM   #8
fshah
Member
 
Registered: Apr 2013
Posts: 45

Original Poster
Rep: Reputation: 0
[farooq@localhost ~]$ dig google.com

; <<>> DiG 9.7.3-P3-RedHat-9.7.3-8.P3.el6 <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13671
;; flags: qr rd ra; QUERY: 1, ANSWER: 12, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;google.com. IN A

;; ANSWER SECTION:
google.com. 5 IN A 110.93.194.17
google.com. 5 IN A 110.93.194.19
google.com. 5 IN A 110.93.194.25
google.com. 5 IN A 110.93.194.18
google.com. 5 IN A 110.93.194.27
google.com. 5 IN A 110.93.194.24
google.com. 5 IN A 110.93.194.16
google.com. 5 IN A 110.93.194.26
google.com. 5 IN A 110.93.194.21
google.com. 5 IN A 110.93.194.23
google.com. 5 IN A 110.93.194.22
google.com. 5 IN A 110.93.194.20

;; Query time: 56 msec
;; SERVER: 192.168.231.2#53(192.168.231.2)
;; WHEN: Wed Feb 25 20:14:17 2015
;; MSG SIZE rcvd: 220
 
Old 02-25-2015, 09:32 AM   #9
fshah
Member
 
Registered: Apr 2013
Posts: 45

Original Poster
Rep: Reputation: 0
[root@localhost ~]# dig 8.8.8.8

; <<>> DiG 9.7.3-P3-RedHat-9.7.3-8.P3.el6 <<>> 8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 910
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;8.8.8.8. IN A

;; ANSWER SECTION:
8.8.8.8. 5 IN A 8.8.8.8

;; Query time: 20 msec
;; SERVER: 192.168.231.2#53(192.168.231.2)
;; WHEN: Wed Feb 25 20:22:46 2015
;; MSG SIZE rcvd: 41
 
Old 02-25-2015, 10:46 AM   #10
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by fshah View Post
[root@localhost ~]# dig 8.8.8.8
Now your reading is not good - I said ping 8.8.8.8 .

Test your internet access as it might be ok now.
 
Old 12-10-2016, 04:44 AM   #11
gov_1107
LQ Newbie
 
Registered: Dec 2016
Posts: 4
Blog Entries: 1

Rep: Reputation: Disabled
Change to bridged network

Hello friend,

Please change the vmware network setting to Bridged network in place of NAT. Previously also we got same issue when we changed to Bridged Network it's working fine.
 
  


Reply

Tags
centos6, dhcp server, network, vmware, window7


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
[SOLVED] Proxy settings in network system settings missing rsciw Linux - Desktop 1 01-14-2013 09:31 AM
Fortran - G95 - Wrong Syntax or wrong compiler settings laucian Programming 1 03-21-2008 11:18 AM
Network settings / DNS Server settings uid0sd Linux - Newbie 3 02-22-2007 04:39 PM
Help! Wrong monitor settings! jcatron SUSE / openSUSE 3 07-29-2005 02:19 AM
SuSE 6.3 - correct network/internet settings. david3578atl Linux - Distributions 2 05-19-2004 09:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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