cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
628
Views
0
Helpful
7
Replies

Cisco router with dhcp configured inside

edgar-quintana
Level 1
Level 1

Hi,

I have a 2821 cisco router with dhcp configured inside. This works really fine but, even I have configured dns servers with dhcp, when a pc is configued to adquire ip lan address and dns servers.. this station does not works with internet, no dns internet name resolucion.

why?

whats wrong?

Best regards

7 Replies 7

Mohamed Sobair
Level 7
Level 7

Hi,

Have you set the gateway of the client in the DHCP config?

Does this router doing name resolution, I mean from the router, you could check there is reachability to the internet?

The DHCP service provided by the router has no impact of any internet reachability, unless the Internet is not reachable from the same router?

HTH

Mohamed

Mohamed

You make some good points for Edgar. I wonder whether the problem is name resolution or whether the problem is with Internet access. You ask whether the router can access Internet resources. I would suggest a slightly different version of that question. Not only can the router access Internet resources but more importantly can the clients access Internet resources if they do not need name resolution. On a client if you type the IP address of an Internet server into the browser rather than the name, can the client reach it?

HTH

Rick

HTH

Rick

Hi,

The problem is the name resolution.If I put manually a primary dns server and tcpip address dinamically, it works fine.

Router results:

vpn4#ping www.google.es

Translating "www.google.es"...domain server (80.58.32.97) [OK]

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 66.102.9.147, timeout is 2 seconds:

.....

Success rate is 0 percent (0/5)

vpn4#

DCHP server has configured a default router wich is itself.

I do not know what more can I do...

Edgar

I am a bit confused. Is vpn4 whose test result you have posted the router or an end station?

Also what you have posted does show that the name is resolved to an address. But then the attempt to ping fails. Which takes me back to the question I was attempting to raise in my previous post which is to determine whether there is a problem with name resolution or a problem with Internet access. These results look like the problem is with Internet access.

Can you clarify so we can understand better?

HTH

Rick

HTH

Rick

Hi,

This is my router configuration:

ip dhcp pool xxxx

import all

network 192.168.155.0 255.255.255.0

dns-server 80.58.32.97 (ISP DNS server)

default-router 192.168.155.254(the cisco routers ip address)

netbios-name-server 192.168.155.213 (locally ActiveDirectory domain address)

ip name-server 80.58.32.97

ip name-server 80.58.0.33

Hi

Can u verify that u have proper routes configured on u r router.First can u reach the next-hop which is u r ISP from the router.

And just exclude the IP address of the router from the DHCP Scope.

Thanks

Mahmood

Hi,

DHCP ip spool is from 220 to 230 or 240, routers ip is 254..is out or range.

i have a pc with static lan ip...

PC ip : 192.168.155.3

Mask 255.255.255.0

Gateway: 192.168.155.254

DNS: 80.58.0.33/80.58.32.97

And works really fine

"First can u reach the next-hop which is u r ISP from the router."

What this meaning? do ping from the router not a pc and ping a internet machine and resolve?

Getting Started

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:

Review Cisco Networking products for a $25 gift card