cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
980
Views
0
Helpful
6
Replies

Unable to configure DHCP pool

jaighobahi
Level 1
Level 1

Greetings All,

Please, recommend how I can configure secondary IP address pool in a Cisco IOS DHCP server.  The screen shot below shows the syntax error I am getting even though I am following Cisco's documentation.

 

I thought the failed command above would lead me to this mode "R2(config-dhcp-subnetsecondary)#".

The IOS information is Cisco IOS Software, 7200 Software (C7200-ADVIPSERVICESK9-M), Version 12.4(4)T1, RELEASE SOFTWARE (fc4).

Thanks

6 Replies 6

Mark Malone
VIP Alumni
VIP Alumni

Working on my 7200 as below using ios below  , your spelling looks wrong "secondary"

ip dhcp pool test
   network 10.0.1.0 255.255.255.0
   network 10.0.0.0 255.255.255.0 secondary

System image file is "disk2:/c7200p-advipservicesk9-mz.124-24.T8.bin"

 

 

Thank Sir. I am punching myself in the nose.  I wish that was the end of the matter, but it isn't.  I have corrected the typo and still I get the syntax error.  I am beginning to think that I have the wrong IOS image.

You might try typing the network command again and after the mask entry just put ?

It would be interesting to know what your version of code thinks any optional parameter might be.

It might also be helpful if you post the output of show version so that we can determine what code you are running.

 

HTH

 

Rick

HTH

Rick

R1#conf term
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#ip dhcp pool 1
R1(dhcp-config)#network 192.168.1.0 255.255.255.0
R1(dhcp-config)#network 192.168.2.0 255.255.255.0 ?
  <cr>

R1(config)#do show version
Cisco IOS Software, 7200 Software (C7200-ADVIPSERVICESK9-M), Version 12.4(4)T1, RELEASE SOFTWARE (fc4)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by Cisco Systems, Inc.
Compiled Wed 21-Dec-05 22:58 by ccai

ROM: ROMMON Emulation Microcode
BOOTLDR: 7200 Software (C7200-ADVIPSERVICESK9-M), Version 12.4(4)T1, RELEASE SOFTWARE (fc4)

R1 uptime is 1 minute
System returned to ROM by unknown reload cause - suspect boot_data[BOOT_COUNT] 0x0, BOOT_COUNT 0, BOOTDATA 19
System image file is "tftp://255.255.255.255/unknown"

This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
export@cisco.com.

Cisco 7206VXR (NPE400) processor (revision A) with 491520K/32768K bytes of memory.
Processor board ID 4279256517
R7000 CPU at 150MHz, Implementation 39, Rev 2.1, 256KB L2 Cache
6 slot VXR midplane, Version 2.1

Last reset from power-on

PCI bus mb0_mb1 (Slots 0, 1, 3 and 5) has a capacity of 600 bandwidth points.
Current configuration on bus mb0_mb1 has a total of 600 bandwidth points.
This configuration is within the PCI bus capacity and is supported.

PCI bus mb2 (Slots 2, 4, 6) has a capacity of 600 bandwidth points.
Current configuration on bus mb2 has a total of 0 bandwidth points
This configuration is within the PCI bus capacity and is supported.

Please refer to the following document "Cisco 7200 Series Port Adaptor
Hardware Configuration Guidelines" on Cisco.com <http://www.cisco.com>
for c7200 bandwidth points oversubscription and usage guidelines.

1 FastEthernet interface
1 Gigabit Ethernet interface
4 Serial interfaces
253K bytes of NVRAM.

1024K bytes of ATA PCMCIA card at slot 0 (Sector size 512 bytes).
8192K bytes of Flash internal SIMM (Sector size 256K).
Configuration register is 0x2102

R1(config)#

Hi ok are you running this on GNS3 in a lab ? System image file is "tftp://255.255.255.255/unknown

The image does not have the feature looking at your syntax output no available option for secondary , if it is gns3 just change the image to a newer release that ios is from around 2007 and try test again

Noted.  Thanks a lot.

Review Cisco Networking for a $25 gift card