10-24-2009 06:34 AM - edited 03-06-2019 08:17 AM
Hi All,
i have a small network in which i have a router connected to a switch and all the hosts are connected to the switch in different vlans. router is acting as a L3 device to make communication possible between vlans.
problen is that when i ping ip address of google.com it pings but if I try to ping google.com from router, switch and PC it doesn't ping hence i cant browse the internet from my PC.
all the PCs are getting its ip address and other info from dhcp configured on cisco router.
and i've also configured the router for NAT.
what could be the problem.
plz help....
10-24-2009 06:39 AM
Couple of thing to check...
Is the router issuing default gateway address to your hosts?
Does the router have a route to the internet?
10-24-2009 06:51 AM
thanks for quick reply
yes, default route is configured thats y i m able to ping WAN ip address.
problem is only with fqdn or browsing.
10-24-2009 06:58 AM
Nitin,
You need to configure the IP address of the name server
for example:
ip name-server 192.168.1.100
You also need to enable
ip domain-lookup
This command is enabled by default, but lots of operators disabled it.
HTH
Reza
10-24-2009 07:02 AM
i have already configured above commands but still in trouble.
10-24-2009 07:05 AM
you mentioned you can ping google ip from hosts but cannot access google web page?
10-24-2009 07:07 AM
exactly..
10-24-2009 07:10 AM
try enabling dns server on router and use 194.72.6.51 (This is a DNS server on the net)
dns-server 194.72.6.51
or setup dns manaully on a host and try it..
10-24-2009 07:13 AM
i m using ISP dns and internet dns which is 4.2.2.2
10-24-2009 07:15 AM
if you can ping but unable to bring up a web page sounds like dns resolution to me. do you wanna try the dns i gave you!
10-24-2009 07:26 AM
Can you ping the DNS server (4.2.2.2)?
10-24-2009 07:28 AM
some one blocked UDP port no 53 for some R&D. now users can browse the internet.
thank you very much for your time and help.
10-24-2009 07:29 AM
ha!. Good to know problem is solved. :)
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: