電訊茶室's Archiver

角色 發表於 2013-8-27 23:26

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

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

Qnewbie 發表於 2013-8-28 00:08

replace 211.XX.XXX.XXX with your own:[code]/ip address
remove [find where interface="WAN"]
add address=211.XX.XXX.XXX/29 interface="WAN" #your own static ip
/ip route
remove [find]
add dst-address=0.0.0.0/0 gateway=211.XX.XXX.XXX #your ISP static server
/ip dhcp-client
remove [find]
/ip dns
set allow=yes
set servers=211.XXX.XXX.XXX #your ISP dns[/code]http://forum.mikrotik.com/viewtopic.php?f=13&t=44407

角色 發表於 2013-8-29 00:09

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

[url]http://wiki.mikrotik.com/wiki/Manual:Initial_Configuration#Configure_access_to_internet[/url]

頁: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.