【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/ |