% This command may not be used with network, origin or vrf pools.

Unanswered Question
Sep 19th, 2007

Hi,

I'm trying to add a static DHCP IP on the pool and i'm getting this error "% This command may not be used with network, origin or vrf pools."

Here you can see the DHCP pool config

ip dhcp pool Data

network 10.10.135.0 255.255.255.0

default-router 10.10.135.1

domain-name domain.com

option 150 ip 172.16.1.11

dns-server 172.16.1.40 172.17.1.250

netbios-name-server 172.16.1.40 172.17.1.250

once I try to enter

host 10.10.135.111 255.255.255.0

I get the error message,

Any ideas?

2801 Version 12.3(11)T3

Thank you a lot

Zeek

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 4.7 (3 ratings)
liguoriariel Mon, 09/24/2007 - 04:26

are you try to do this:

ip dhcp pool StaticXXX

host x.x.x.x 255.255.255.0

client-identifier 01aa.bbcc.ddee.ff

the line client iodentifier use it if you want to fix a MAC to an IP Addr.

Well, i hoppr this solve your issue.

ajagadee Mon, 09/24/2007 - 05:32

Hi,

If you want to configure manual bindings, create a host pool for the 10.10.135.111 address. For example:

ip dhcp pool STATIC

host 10.10.135.111 255.255.255.0

Client-identifier (aabb.ccdd.eeff ...)

default-router 10.10.135.1

domain-name domain.com

option 150 ip 172.16.1.11

dns-server 172.16.1.40 172.17.1.250

netbios-name-server 172.16.1.40 172.17.1.250

ip dhcp pool Data

network 10.10.135.0 255.255.255.0

default-router 10.10.135.1

domain-name domain.com

option 150 ip 172.16.1.11

dns-server 172.16.1.40 172.17.1.250

netbios-name-server 172.16.1.40 172.17.1.250

Below is the URL that has some additional details.

http://www.cisco.com/en/US/docs/ios/12_1/iproute/configuration/guide/1cdipadr.html

I hope it helps.

Regards,

Arul

kevin.dorrell Mon, 09/24/2007 - 05:46

If I understand the documentation correctly, because pool STATIC is a subset of pool Data, there is no need to specify default-router, domain-name, etc. in the STATIC pool. Because it is a subset, the STATIC pool will inherit these values from the Data pool.

Is that right?

Kevin Dorrell

Luxembourg

mterlikcisco Tue, 12/27/2011 - 22:57

Also you can create the file

look here: http://www.cisco.com/en/US/docs/ios/12_3t/12_3t11/feature/guide/gtdhcpsm.html#wp1027188

Make sure you have correct file format. Next using tftp move copy file to your flash: and instead using remote location you can do command

#(dhcp-config) origin file flash:mystaticdhcp.txt

after that you can just edit the file on your computer, upload in to flash: and just reload dhcp service.

#(config) no service dhcp

#(config) service dhcp

Good Luck!

Actions

Login or Register to take actions

This Discussion

Posted September 19, 2007 at 9:45 AM
Stats:
Replies:5 Avg. Rating:4.66667
Views:2523 Votes:0
Shares:0
Tags: No tags.

Discussions Leaderboard

Rank Username Points
1 15,007
2 8,150
3 7,725
4 7,083
5 6,742
Rank Username Points
165
82
69
65
55