Hướng dẫn cấu hình MikroTik cơ bản

Anhdt
1. LƯU Ý KHI CẤU HÌNH MikroTik:
- Xóa toàn bộ cấu hình cũ:
    system => reset configuration => bỏ toàn bộ check => bấm RESET CONFIGURATION

- Đổi mật khẩu admin:
    system => user

2. Tạo WAN:
Cách 1. Quay PPPoE (PPP):

/interface pppoe-client
add add-default-route=yes interface=ether1 name=pppoe-out1 password=xxx user=xxx
/ip firewall nat
add action=masquerade chain=srcnat out-interface=pppoe-out1
Cách 2. DHCP Client (IP - DHCP Client):

/ip dhcp-client
add default-route-distance=1 disabled=no interface=ether1
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1
3. TẠO MẠNG LAN:

/interface bridge
add name=BR-LAN

/interface bridge port
add bridge=BR-LAN interface=ether2
add bridge=BR-LAN interface=ether3
add bridge=BR-LAN interface=ether4
add bridge=BR-LAN interface=ether5

# IP LAN
/ip address
add address=192.168.10.1/24 interface=BR-LAN

# DHCP Pool
/ip pool
add name=LAN_POOL ranges=192.168.10.10-192.168.10.250

# DHCP Server
/ip dhcp-server
add name=DHCP-LAN interface=BR-LAN address-pool=LAN_POOL lease-time=12h disabled=no

# DHCP Network
/ip dhcp-server network
add address=192.168.10.0/24 gateway=192.168.10.1 dns-server=192.168.10.1

# DNS
/ip dns
set allow-remote-requests=yes servers=1.1.1.1,8.8.8.8

4. Cài đặt múi giờ:

/system clock
set time-zone-name=Asia/Ho_Chi_Minh

Post a Comment

Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.