cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6306
Views
0
Helpful
3
Replies

how to reservation ip address in cisco 2811 router

pinie0001
Level 1
Level 1

Hi everybody!

i try to reservate ip address for some computer that connect to the network by cisco switch and it's not success.

the topology is:

1. cisco 2811 router - that connect to 2960 switch via Fa 0/0:

interface FastEthernet0/0
 ip address 192.168.1.254 255.255.255.0
 duplex auto
 speed auto

2.cisco 2960 switch with interface vlan 1:

!
interface Vlan1
 ip address 192.168.1.253 255.255.255.0

ip default-gateway 192.168.1.254

 

3.computer that connect to the cisco switch, Physical Address of the ethernet card: ‎5C-FF-35-03-18-78.

 

 

I have dhcp pool for network 192.168.1.0, the pool is named One:

ip dhcp pool One
 network 192.168.1.0 255.255.255.0
 default-router 192.168.1.254
 domain-name abc.com

if i try to enter a details for host in that's pool, i got error message like this:

R_Try(dhcp-config)#host 192.168.1.200 255.255.255.0
% This command may not be used with network, origin, vrf, or relay pools.

i understool that i need to create a new pool for the reservate addresses, but it's still dont work.

i created a new pool with the reference setting's:

ip dhcp pool Static
 host 192.168.1.200 255.255.255.0
 client-identifier 5cff.3503.1878
 domain-name abc.com
 default-router 192.168.1.254

i tryed to add hardware-address 5cff.3503.1878 and the computer still got ip address like 192.168.1.1 or 192.168.1.2.

 

how i need to do the dhcp setting's?

i want some computer to reservate ip address and the other computer's to obtain ip address from the DHCP.

 

Thanks!

Pini Elbaz

3 Replies 3

Rajeev Sharma
Cisco Employee
Cisco Employee

Hey Pini,

This may help:

https://learningnetwork.cisco.com/thread/30498

Regards,

RS.


 

Hi!

Thank's for the help.

i have the same problem that describe in the link you attached here.

the computer obtain ip address from the dhcp although i created a new pool for reservate address.

in the link you attached there is no solutin to the problem..

maybe another idea?

Thank's

Pini

Hello

 

try and add the Ethernet media type of the  01

 

ip dhcp pool Static
 client-identifier  015c.ff35.0318.78
 

 

Res

paul

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul