返回列表 發帖

【RouterOS】——怎样Static IP (CLI mode)

如果用command line,怎样set static ip呢?

I followed the information described in the following link to install the static IP for the ether1-gateway.

http://wiki.mikrotik.com/wiki/Ma ... _access_to_internet

TOP

replace 211.XX.XXX.XXX with your own:
  1. /ip address
  2. remove [find where interface="WAN"]
  3. add address=211.XX.XXX.XXX/29 interface="WAN" #your own static ip
  4. /ip route
  5. remove [find]
  6. add dst-address=0.0.0.0/0 gateway=211.XX.XXX.XXX #your ISP static server
  7. /ip dhcp-client
  8. remove [find]
  9. /ip dns
  10. set allow=yes
  11. set servers=211.XXX.XXX.XXX #your ISP dns
複製代碼
http://forum.mikrotik.com/viewtopic.php?f=13&t=44407
RB750G, RB2011UAS-2HnD
IP01, A580IP, AT-610

TOP

返回列表