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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

12.1(14) ip address dhcp Question

Status
Not open for further replies.

Tigerjoe

IS-IT--Management
Joined
Nov 12, 2001
Messages
46
Location
SA
12.1(14) is the image file that iam using.
When i try to issue the command "ip address dhcp" i get an error.
I read at the cisco site that the command "ip address dhcp" was first introduced in the 12.1(2) version. Iam a novice at this but from looking at the two names it looks like that iam running a later version that should support that command.

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int e0
Router(config-if)#ip address dhcp
^
% Invalid input detected at '^' marker.

Router(config-if)#

Can someone please tell me what iam doing wrong? Or if iam just using the wrong version.
Thanks in advance.
 
no ip dhcp conflict logging
ip dhcp excluded-address 192.168.1.61 192.168.1.255
ip dhcp excluded-address 192.168.1.1 192.168.1.2
!
ip dhcp pool internet
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1 255.255.255.0

this is off a working config Jeter@LasVegas.com
Fisher CCNA,(Routing)
UOP Student BSIT
[americanflag]
 
This config should work, but i still dont see why that command will not work with the IOS iam using.
 
Thanks for the help but i tried the command "ip address-pool" but by doing that i wouldnt be able to apply it to an interface. What iam trying to do is to connect my router to my cable modem.
ip address dhcp would allow the interface connected to the cable modem to optain an ip address.
I searched all over the cisco site to see why my version of the IOS "12.1(14)" does not support that command.
The site did mention that the ip address dhcp command was introduced on version 12.1(2).
 
ok now I understand
Jeter@LasVegas.com
Fisher CCNA,(Routing)
UOP Student BSIT
[americanflag]
 
try adding "ip helper-address x.x.x.x" where the x's are your DHCP server. Also, try "ip dhcp-server x.x.x.x" at the ethernet 0 config.
 
You have to use a different IOS. I ran into the same problem.
It has to be a early developement IOS try 12.1.2T make sure it is a T.
This should work I did this at home and it worked on a 2611.
I still had problems getting an IP from rogers my cable provider even after I tried to hard code the mac so if you get this far and then get farther let me know thanks.

When I try sh ip dhcp lease i get nothing. after the time out to get an address. I wish I knew how to manually get the router to ask for an IP again. renew release ip
 
Tigerjoe,

What kind of router are you using?

burke
 
burke
I have a 2514. It has two ethernet interfaces.

kojack
Ive also heard that I need to have the (T) at the end of the IOS. I went to the cisco website and saw that any IOS later than the one I have 12.1(14) requires more memory than what i have on my router. So iam kinda stuck there too.

Thanks for all the help.
 
Tigerjoe,

Memory really isn't too expensive. I'm guessing that you need 16f/16d, right? You could probably upgrade that router to those specs for $50 if you buy stuff through eBay. But it is just a thought.

burke
 
I thought it would be more expensive. That sounds like a plan.
 
Actually you don't need more memmory.

There are 3 different types of releases. don't quote me I am not a cisco expert but I believe they are Early Deployment, Major Release, and defered.

I used defered 12.1.2T I have a 2611 with 8m/24/ flash ..

I know what you mean by they later releases like IP PLUS been too big I loaded one onto my router and had alot of fun trying to get the file out. It sucked!

But trust me go to the download center go to the defered releases go to 12.1.2T the IP version and the base memmory which for my router was 8 m will run the IOS.

I actually tested this setup last night I configured one of my ethernet ports to DHCP client and one to DHCP server and pluged them into the same switch. the ETH0/0 gots its address from ETH0/1 but I cannot get it to get an address from my cable provider. I found it wierd that I couldn't even get an address from my lynksys router that has dhcp setup on it. I think I heard somewhere that the chipset has to match or something not sure.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top