cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
317
Views
0
Helpful
2
Replies

LAN

vaishkhan161190
Level 1
Level 1

Hello,

can anyone tell me that, i have 15-20 PC that connected to same LAN.

but in only  one and two PC's, I am getting ping 8.8.8.8 and Gateway but not getting ping www.google.com and www.yahoo.com, why?

and internet is working fine in this PC's.

2 Replies 2

Mark Malone
VIP Alumni
VIP Alumni

If you can ping the ip but not the name 9 times out iof 10 your DNS is not set right

Is the DHCP pool on the switch/router is there DNS settings set like below

Central Router

!do not assign this range to DHCP clients

ip dhcp-excluded address 10.0.0.1 10.0.0.5

!

ip dhcp pool central

! Specifies network number and mask for DHCP clients

 network 10.0.0.0 255.255.255.0

! Specifes the domain name for the client

 domain-name central

! Specifies DNS server that will respond to DHCP clients when they need to correlate host 
! name to ip address

 dns-server 10.0.0.2

!Specifies the NETBIOS WINS server

 netbios-name-server 10.0.0.2 

devils_advocate
Level 7
Level 7

As Mark has said, it sounds like a DNS issue if you are experiencing issues pinging hostnames and not IP addresses.

Try running and 'nslookup' within a command window and see what the results are when looking up a hostname. 

Review Cisco Networking products for a $25 gift card