This shouldn’t have been so hard, but given that I could not easily find an answer anywhere, here is a brief instruction on adding static devices to your Cisco 877 Router.
I am going to assume that you know how to SSH into your device (or connect via the console cable).
You will already have an entry in your configuration file defnining your DHCP IP Pool. It will look something like
ip dhcp pool sdm-pool1
network 192.168.96.0 255.255.255.0
lease 0 12
We are now going to define a single address pool, that will be just for the device that you want to have a static IP on.
ip dhcp pool STATIC-labpc01
host 192.168.96.10 255.255.255.0
lease 0 23
As you can see in the first line, we define a name for the static entry. We use the nameing convention “STATIC-<hostname>” you can call it anything you want that makes sense to you.
The next line defines the host and the subnet mask, and then the client identifier line is the MAC address of the device. Remeber, in this instance, the MAC always starts with 01. For example, if the MAC of your device is 00:17:f2:02:aa:ff then the client-identifier will become 0100.17f2.02aa.ff
The client-name is optional, you can leave it out if you don’t want to use it.
So you can see it in action, here is an example session adding a static ip for a device.
Enter configuration commands, one per line. End with CNTL/Z.
rt001(config)#ip dhcp pool STATIC-labpc01
rt001(dhcp-config)# host 192.168.96.10 255.255.255.0
rt001(dhcp-config)# client-identifier 0100.18c2.01a1.ca
rt001(dhcp-config)# client-name labpc01
rt001(dhcp-config)# lease 0 23
Don’t forget to copy running-config startup-config