Publicat pe

Command line Mikrotik RouterBoard – exemple

Winbox Terminal - Command line Mikrotik RouterBoard

Command line Mikrotik RouterBoard

Example Command line Mikrotik RouterBoard cu ajutorul carora veti putea configura rapid un router Mikrotik.

New Terminal
New Terminal

 

 

 

 

Reset Configuration

system reset-configuration

sau

system reset-configuration no-defaults=yes

a doua comanda lasa routerul fara configuratie default

Adauga adresa IP la o interfata

ip address add address=”adresa IP”/”masca retea” interface=”nume interfata”

Exemplu:

ip address add address=192.168.1.1/24 interface=ether1

Configurare NAT/Masquerade

ip firewall nat add action=masquerade chain=srcnat

sau

ip firewall nat add action=masquerade chain=srcnat out-interface=”nume interfata”

Exemplu:

ip firewall nat add action=masquerade chain=srcnat out-interface=ether1

Setare DNS router

ip dns set servers=”IP-DNS-1″,”IP-DNS-2″

Exemplu:

ip dns set servers=8.8.4.4,8.8.8.8

 

 

 

 

Mikrotik Manual Console

Wifiplanet

Lasă un răspuns

Adresa ta de email nu va fi publicată. Câmpurile obligatorii sunt marcate cu *