標題:
【RouterOS】——Interface name manipulation
[打印本頁]
作者:
角色
時間:
2013-1-2 23:06
標題:
【RouterOS】——Interface name manipulation
本帖最後由 角色 於 2013-3-9 21:36 編輯
Ethernet interface names ether1, ether2, ..., etherN, where is an integer
1. Rename interface name
/interface ethernet
set 2 name=Public
set 8 name=Local
複製代碼
where 2 and 8 are the port numbers displayed with the command "/interface print"
2. Create a bridge name "MyBridge"
/interface bridge add name="MyBridge" disabled=no
複製代碼
3. Add interfaces to the bridge name "MyBridge"
/interface bridge port add interface=ether1 bridge=MyBridge
/interface bridge port add interface=ether2 bridge=MyBridge
複製代碼
4. Usng the new interface "MyBridge" for the "Local" interface as described in single-WAN-and-single-LAN.
Ref. Links:
1)
http://www.mikrotik.com/testdocs/ros/2.9/interface/bridge.php
2)
http://knowledgedirectory.wordpr ... wan-add-dhcpserver/
歡迎光臨 電訊茶室 (http://telecom-cafe.com/forum/)
Powered by Discuz! 7.2