Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DHCP Problem 2

Status
Not open for further replies.

Almin

Technical User
Mar 1, 2010
137
0
0
US
Hi I'm trying to set up a cicso 1841 router on DHCP but cant get the IP address to the interface

Primary-Router#
Primary-Router#sh ip int brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES DHCP up up
FastEthernet0/1 192.168.1.254 YES manual up up
FastEthernet0/0/0 unassigned YES unset up down
FastEthernet0/0/1 unassigned YES unset up down
FastEthernet0/0/2 unassigned YES unset up down
FastEthernet0/0/3 unassigned YES unset up down
Vlan1 unassigned YES unset up down
NVI0 unassigned NO unset up up

Building configuration...

Current configuration : 1359 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Primary-Router
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$LGru$5elYlxvWx6nJELHjZcyJe.
enable password o*******
!
no aaa new-model
ip cef
!
!
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.1.250 192.168.1.255
!
ip dhcp pool LAN_NETWORK
network 192.168.1.0 255.255.255.0
default-router 192.168.1.254
!
!
no ip domain lookup
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address dhcp
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
interface FastEthernet0/1
description LAN_Connection
ip address 192.168.1.254 255.255.255.0
ip nat inside
ip virtual-reassembly
duplex auto
speed 100
!
interface FastEthernet0/0/0
!
interface FastEthernet0/0/1
!
interface FastEthernet0/0/2
!
interface FastEthernet0/0/3
!
interface Vlan1
no ip address
!
ip forward-protocol nd
!
!

Primary-Router#


Im not sure what I did diffrent on this router, I have a 2651xm that has the same config and that one is getting the DHCP address.

2651xm

Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 75.112.23.26 YES DHCP up up
Serial0/0 unassigned YES unset administratively down down
FastEthernet0/1 192.168.1.254 YES manual up up
Serial0/1 unassigned YES unset administratively down down
Serial0/2 unassigned YES unset administratively down down
Serial0/3 unassigned YES unset administratively down down
NVI0 unassigned NO unset up up

The above sh ip int brief output from 2651xm shows ip address on fa0/0

Any suggestions?

Thanks
 
What is FastEthernet0/0 trying to get DHCP from? I'm assuming it is connected to a cable internet modem or dsl router in bridge mode?
 
Its connected to a regular cable modem. Im trying to get an ip addres from the modem to fa0/0 the last promt shows the ip addres of the modem on 2651 router
 
Got it figured out. In order to get the router tp communicate with the modem I had to unplug the cables from the interfaces that were being modefied and turn off the modem... once done plug eveerything back in and it will get the ip address from the dhcp server. Still confused why it has to be done that way but it seems like that thats the only way that it will work....
 
Because your modem was provisioned with one CPE device. The modem records the current mac and lease. When you reboot it clears that table and rebuilds with te first dhcp request.

CCNP
 
Thanks for the info on that King
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top