Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

ip address dhcp Question

I've got a 2621 that I need to have autoconfigure the IP address on one of it's interfaces using DHCP. When I put in the above command on one of the FastEthernet interfaces all that I get when I do 'show ip interface brief' is that the IP will be configured by DHCP, but isn't assigned. What do I have to do to get the router to go pull an address?

Thanks

Mike

7 REPLIES
Bronze

Re: ip address dhcp Question

That is the only command you need on the interface over which the DHCP request will be sent. You do need a DHCP server accessable and configured to actually allocate the address.

New Member

Re: ip address dhcp Question

Thanks for the quick reply. The problem is that it isn't working. I've got it hooked to a cable modem. When I give it a static IP address (one that will probally last for another day or so) the router can get out just fine. When I configure it for a DHCP address all I get is:

BellevueFire#show ip int b

Interface IP-Address OK? Method Status Protocol

FastEthernet0/0 unassigned YES DHCP up up

Is there a delay before the router trys to get an address? Is there a way to check to see if it's received any DHCPOFFERs?

Thanks

Mike

New Member

Re: ip address dhcp Question

Update:

I did a debug all and saw the router trying to get an address. Then I saw the ISP offer one with:

00:26:55: DHCP: Received a BOOTREP pkt Ack for our Inform

00:26:55: DHCP: Scan: Message type: DHCP Offer

00:26:55: DHCP: Scan: Server ID Option: 172.19.81.19 = AC135113

00:26:55: DHCP: Scan: Lease Time: 86400

00:26:55: DHCP: Scan: Renewal time: 43200

00:26:55: DHCP: Scan: Rebind time: 75600

00:26:55: DHCP: Scan: Subnet Address Option: 255.255.254.0

00:26:55: DHCP: Scan: Time Offset: 4294949296

00:26:55: DHCP: Scan: Router Option: 68.229.178.1

00:26:55: DHCP: Scan: Time Server Option: 172.19.81.19

00:26:55: DHCP: Scan: DNS Name Server Option: 68.13.16.25, 68.13.16.30, &68.12.1

6.30&

00:26:55: DHCP: Scan: Log Server Option: 172.19.81.19

00:26:55: DHCP: Scan: Domain Name: om.cox.net

00:26:55: DHCP: rcvd pkt source: 68.229.178.1, destination: 255.255.255.255

00:26:55: UDP sport: 43, dport: 44, length: 332

00:26:55: DHCP op: 2, htype: 1, hlen: 6, hops: 1

00:26:55: DHCP server identifier: 172.19.81.19

00:26:55: xid: 0, secs: A00, flags: 8000

00:26:55: client: 68.13.182.173, your: 68.229.178.91

00:26:55: srvr: 172.19.81.19, gw: 68.229.178.1

00:26:55: options block length: 84

00:26:55: DHCP Offer Message Offered Address: 68.229.178.91

00:26:55: DHCP: Lease Seconds: 86400 Renewal secs: 43200 Rebind secs: 7

5600

00:26:55: DHCP: Server ID Option: 172.19.81.19 No-IPL. Punted

Any ideas why it wouldn't have taken that one? Becuase I saw it say that it was asking for IP addresses three more times.

Thanks

Mike

New Member

Re: ip address dhcp Question

Anyone? Can anyone tell me what No-IPL. Punted

means?

New Member

Re: ip address dhcp Question

an IPL is an initial program load. What version of code are you running on the 2621? Have you run it thru the bug toolkit to verify it?

New Member

Re: ip address dhcp Question

I'm running 12.2(8)T5. I haven't run it through bugcheck, because I don't have access to that.

-Mike

New Member

Re: ip address dhcp Question

I think I've found the solution here:

http://tinyurl.com/yeqj

-Mike

223
Views
0
Helpful
7
Replies
CreatePlease to create content