I have a mikrotik RB750 with a hotspot and it has default configuration(192.168.88.1). I want to change the ip to 172.168.87.1/22. How do i do that?
Ichanged it in the IP-Adresses.What should i do next?
do export and look up other places where this address/network/pool and change that.
what export should i do?
Doing a full export is your best bet.
Looking at an old export that I had saved these are the places that mention 192.168.88.*:
/ip pool
add name=default-dhcp ranges=192.168.88.10-192.168.88.254
/ip address
add address=192.168.88.1/24 broadcast=192.168.88.255 comment=\
"default configuration" disabled=no interface=ether2-local-master \
network=192.168.88.0
/ip dhcp-server network
add address=192.168.88.0/24 comment="default configuration" dns-server=\
192.168.88.1 gateway=192.168.88.1
/ip dns static
add address=192.168.88.1 disabled=no name=router ttl=1d
I tried to change the ip into 192.168.87.0/22 in the menu “/ip dhcp-server network” and after i push the apply button an error apeared.
Did i mention i have RB750 router?
This router can change the ip into 192.168.87.x/22?
There is a basic conflict there. 192.168.87.0 isn’t on a 22 bit boundary.
0xC0A85700 & 0xFFFFFC00 == 0xC0A85400 → 192.168.84.0
With a /22 mask your sub networks in that range are; …, 192.168.84.0, 192.168.88.0, 192.168.92.0, …
With a /21 mask they would be; …, 192.168.80.0, 192.168.88.0, 192.168.96.0, …