
When connected through Winbox, in the menu go to IP > Addresses.Mikrotik is one of the most used router and wireless products in internet service providers and networking companies because of its award-winning RouterOS. You able to access the Mikrotik router through Winbox, if you are outside from the network use the public ip address, or if you are in the network use the internal ip address. The following command will set the gateway IP address, where 0.0.0.0 is the public IP address: > ip route add comment="Default GW" distance=1 gateway=0.0.0.1

The following commands will add your static public IP address to the WAN interface and a private IP address for the LAN interface, where 0.0.0.0 is the public IP address : > ip address add address=0.0.0.0/24 comment="Management" interface=WAN > ip address add address=192.168.1.1/24 comment=Mikrotik-ip interface=LAN 1.3 Add Default Gateway To perform this change use the following commands: > user set 0 password=MY-NEW-PASSWORD 1.2 Adding IP Address to mikrotik I recommend perform this step because the admin password default is blank you can easily be a target of a brute force attack if you are managing the administration from outside the network > interface ethernet print Flags: X - disabled, R - running, S - slave # NAME MTU MAC-ADDRESS ARP 0 R LAN 1500 00:25:90:60:4C:A9 enabled 1 R WAN 1500 00:25:90:60:4C:A8 enabled 1.1 Change Admin password The numeric Value 0 represent the # on the list Run the following command to confirm the change is completed. > interface set 0 name=LAN > interface set 1 name=WAN The following command will rename the interfaces. In this case ether2 is will be LAN and ether1 will be WAN. To avoid confusion, you can rename the interfaces to something more appropriate. Now we can associate what network card will be LAN and WAN The first thing to do is identify the network interfaces by running the following command: > interface ethernet print Flags: X - disabled, R - running, S - slave # NAME MTU MAC-ADDRESS ARP 0 R ether2 1500 00:25:90:60:4C:A9 enabled 1 R ether1 1500 00:25:90:60:4C:A8 enabled Login on the system by the default admin and password.

Inital setup must be done over the command line interface (CLI)
