Setup Router with dynamic IP Addresses

i hope you have followed the previous guide to setup basic router on mikrotik. Now you would configure the router with dynamic IP address.

IP -> Addresses -> Add address
Address: 192.168.100.1/24
interface: ether2

IP -> DHCP Client -> Add DHCP client
interfaces: Wan Internet

IP -> DHCP Server -> Click on DHCP Setup
Interface: ether2
DHCP Address Space: 192.168.100.0/24
Gateway for DHCP Network: 192.168.100.1
Addresses to Give Out: 192.168.100.2-192.168.100.254

IP -> Firewall -> NAT -> Add
Chain: srcnat
Action tab -> action: masquerade

go to windows cmd and release and renew ip

ipconfig /release

ipconfig /renew