ip changed every time i reset the router 860
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2017 01:14 AM - edited 03-05-2019 09:18 AM
hello
i have a cisco 860 router. it serves local network but he has public ip that i connect via SSH.
my local network is based of SW and AP. every time the router looses its power and when the power returns the SW and AP receives different ip than before. but if the router is online all the time and i make reboot to the AP and SW the ip of the AP and SW stays as it was before. is there a configuration that i can add to the router?
see the show conf.
- Labels:
-
Other Routing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2017 04:02 AM
The WAN link is from a provider that offers static or dynamic DSL plan, isn't it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2017 04:45 AM
no,
Wan stays fixed - permanent.
Only IP that in the DHCP pool changes every time the router reboots.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2017 05:45 AM
Hi
Try to set up the IP manually or make DHCP reservation.
http://www.jjohnstonit.com/wp/2012/05/setup-dhcp-reservation-on-cisco-routerswitch/
If you note there is a 01 before the MAC address, it represents Ethernet medium. You should not have dynamic IP for the SW and AP if you want to manage them.
Hope it is useful.
:-)
>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2017 06:22 AM
already tried. it does not work.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2017 05:53 AM
Hello,
have you tried manual bindings ? Below is a sample config. Instead of 'hardware-address' you can also use 'client-identifier':
ip dhcp pool AP
host 192.168.1.10 255.255.255.0
hardware-address 015c.969d.74ef.a7
default-router 192.168.1.1
dns-server 8.8.8.8 8.8.4.4
lease infinite
ip dhcp pool SWITCH
host 192.168.2.10 255.255.255.0
hardware-address 015c.969d.74ef.a7
default-router 192.168.2.1
dns-server 8.8.8.8 8.8.4.4
lease infinite
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2017 06:23 AM
already tried. it does not work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2017 06:39 AM
Hello,
you tried the manual binding with the client identifier ? Can you post that config ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2017 07:57 AM
manual binding only works for one IP versus one MAC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2017 08:08 AM
Hi
That is correct, it is like dhcp reservation on windows server for specific host, how are you applying that?
>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2017 08:21 AM
but i have 40 clients to reserve. applying one IP is like that:
ip dhcp pool "poolname"
host x.x.x.x /24
client-identifier xx:xx:xx:xx:xx:xx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2017 08:46 AM
Hello,
you need to configure a database agent, which means you transfer the bindings database to an external device, where it is stored and not lost during reboots:
https://www.cisco.com/en/US/docs/ios/12_4t/ip_addr/configuration/guide/htdhcpsv.html#wp1061906
