07-14-2011 01:11 AM - edited 03-04-2019 12:59 PM
Hello guys,
i just configured one Router and activated the DHCP, somehow when i connect device to this router it doesn't recieve IP from the router
its comes with 192.16.0.0 and Gat 255.255.0.0
please find the below is my DHCP settings from the config file
no ip dhcp use vrf connected
ip dhcp excluded-address 10.129.1.113
!
ip dhcp pool aPool
network 10.129.1.112 255.255.255.240
default-router 10.129.1.113
dns-server 10.64.20.59 10.64.20.60
thank you for helping me fix this problem
Solved! Go to Solution.
07-15-2011 07:14 AM
Hi Peter,
Can do a copy and paste for this particular line in order to prevent typo error?
Sent from Cisco Technical Support iPhone App
07-14-2011 01:15 AM
please post config from port where device is connected and layer 3 vlan interface
07-14-2011 01:24 AM
hello Mcgwan,
i just reset the router and trying to upload my confi, but my current config are wihtout DHCP,
can you direct me to the correct DHCP config script?
thank you
07-14-2011 01:28 AM
if you can post your connfig I can look to see what is wrong
07-14-2011 01:26 AM
hi peter,
try to connect a PC/laptop directly on your router's LAN port and see whether it's getting an IP. make sure your PC's LAN connection properties is set to auto obtain an IP and able to ping router's GW IP 10.129.1.113.
07-14-2011 01:30 AM
Hello John,
thank you , i tried this unfortunatly my router is not pingable from the laptop that is directly connected to,
all my IP are to DHCP Auto,
somehow the Network card recieved this IP 169.254.47.13 and Subnet 255.255.0.0
but when i connect using serial consol i can see the IP of the router and Subnet are different,
i tried to do Ipconfig /release and renew on the laptop afters its comes back with the same IP,
thank you
07-14-2011 01:35 AM
hi peter,
first, we would need the running config of your router. do a show run and post it here.
secondly, how are you connected from PC to router? did you use a straight cable?
07-14-2011 01:43 AM
please find the below is the confi file,
note i changed some names for security matter
07-14-2011 01:50 AM
hi peter,
try to change vlan 1 IP address and add again your DHCP scipt. test again by plugging your PC/laptop on any of the free FE ports available.
interface Vlan1
ip address 10.129.1.113 255.255.255.240
ip dhcp excluded-address 10.129.1.113
!
ip dhcp pool aPool
network 10.129.1.112 255.255.255.240
default-router 10.129.1.113
dns-server 10.64.20.59 10.64.20.60
07-14-2011 03:01 AM
Hello John,
i must say i am greatfull to your support,
its works fine, thank yuo so much,
07-14-2011 03:24 AM
Hi Peter,
Glad to help. Please help rate posts to let this forum know your issue is resolved.
Sent from Cisco Technical Support iPhone App
07-14-2011 07:12 AM
thank you John,
i added to the rate to the post,
can you please tell me how to add the missing access-list?
when i try to add it tells me invalid input detected at mark
i logged to the router and did enable and after config t
access-list 101 permit ip 10.129.1.192 2 0.0.0.15 any
07-14-2011 07:17 AM
you have a typo in your access-list, looks like you have an extra 2 in there, I think it should be:
access-list 101 permit ip 10.129.1.192 0.0.0.15 any
but the access-list in the config you posted reads different.
Which access-list are you referrring to, the one in the posted config or the one mentioned above in your last post?
07-14-2011 07:27 AM
thank you for the answer
this the one i am trying to add
access-list 23 permit 10.0.0.0 0.255.255.255
access-list 101 permit ip 10.129.1.192 2 0.0.0.15 any
dialer-list 1 protocol ip permit
no cdp run
but this line is missing which i am trying to add
access-list 101 permit ip 10.129.1.192 2 0.0.0.15 any
07-14-2011 07:39 AM
the line access-list 101 permit ip 10.129.1.192 2 0.0.0.15 any is not valid
the correct line would be;
access-list 101 permit ip 10.129.1.192 0.0.0.15 any
you have an extra 2 in the line, is this there for any specific reason or just a typo?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide