Mikrotik RouterOS v2.9.7 incl. crack.iso installation Note that select a All software press I (install) installation, version 3.0 do not install Xen or not start
After installing the password for admin without password, the following is the configuration of the Web IP address gateway and DNS steps, after the configuration is ready to use Winbox webox and SSH.
[Admin@mikrotik] > interface print//display interface type
FLAGS:D-Dynamic, x-disabled, R
-Running, S-slave
# NAME &NB Sp &NB Sp &NB Sp TYPE &NBSP ; MTU
0 r w &NB Sp &NB Sp &NB Sp &NB Sp ether ; 1500
1 R L Ether 1500
[Admin@mikrotik] > interface set 0 Name=wan//set interface for incoming line name for WAN
[Admin@mikrotik] > interface Set 1 Name=lan//set interface for line up name for LAN
[Admin@mikrotik] > interface pri//Display interface name
FLAGS:D-Dynamic, x-disabled, r-running, S-slave
# NAME TYPE MTU
0 R Wan Ether 1500
1 R LAN
[Admin@mikrotik] > IP address Add address=192.168.40.xx/24 Interface=wan//set interface WAN IP subnet mask 255.255.255.0
[Admin@mikrotik] > IP address add address=192.168.40.xx/24 interface=lan////set interface LAN IP subnet mask 255.255.255.0
[Admin@mikrotik] > IP address print//view IP addresses
FLAGS:X-Disabled, I-invalid, d-dynamic
# Address Network broadcast INTERFACE
0 192.168.40.xx/24 192.168.40.0 192.168.40.255 Wan
1 192.168.40.xx/24 192.168.40.0 192.168.40.255 LAN
[Admin@mikrotik] > IP route print//view routing information
FLAGS:X-Disabled, a-active, d-dynamic,
C-connect, S-static, R-rip, B-BGP, O-OSPF, M-mme,
B-blackhole, U-unreachable, P-prohibit
# dst-address PREF-SRC G GATEWAY DISTANCE in..
0 A S 0.0.0.0/0 r 192.168.40.xx 1 LAN
1 ADC 192.168.40.0/24 192.168.40.xx 0 LAN
2 DC 192.168.40.0/24 192.168.40.xx 0 Wan
[Admin@mikrotik] > IP route remove 0//Remove NO. 0 LAN
[Admin@mikrotik] > IP route pri//view routing information
FLAGS:X-Disabled, a-active, d-dynamic,
C-connect, S-static, R-rip, B-BGP, O-OSPF, M-mme,
B-blackhole, U-unreachable, P-prohibit
# dst-address PREF-SRC G GATEWAY DISTANCE in..
0 ADC 192.168.40.0/24 192.168.40.95 0 LAN
1 DC 192.168.40.0/24 192.168.40.62 0 Wan
[Admin@mikrotik] > IP route add gateway=192.168.40.xx//Set gateway address IP
[Admin@mikrotik] > IP route pri//view routing information
FLAGS:X-Disabled, a-active, d-dynamic,
C-connect, S-static, R-rip, B-BGP, O-OSPF, M-mme,
B-blackhole, U-unreachable, P-prohibit
# dst-address PREF-SRC G GATEWAY DISTANCE in..
0 A S 0.0.0.0/0 r 192.168.40.xx 1 LAN
1 ADC 192.168.40.0/24 192.168.40.xx 0 LAN
2 DC 192.168.40.0/24 192.168.40.xx 0 Wan
[Admin@mikrotik] > IP DNS set primary-dns=202.101.172.35 secondary-dns=202.101.172.46 allow-remote-requests=yes// Configuring DNS IP
[Admin@mikrotik] > IP DNS print//display configures DNS information.
primary-dns:202.101.172.35
secondary-dns:202.101.172.46
Allow-remote-requests:yes
max-udp-packet-size:512
Cache-size:2048kib
cache-max-ttl:1w
Cache-used:5kib
Source: http://zh888.blog.51cto.com/1684752/957194