【RouterOS】——Interface name manipulation
[i=s] 本帖最後由 角色 於 2013-3-9 21:36 編輯 [/i]Ethernet interface names ether1, ether2, ..., etherN, where is an integer
1. Rename interface name[code]
/interface ethernet
set 2 name=Public
set 8 name=Local
[/code]where 2 and 8 are the port numbers displayed with the command "/interface print"
2. Create a bridge name "MyBridge"[code]
/interface bridge add name="MyBridge" disabled=no
[/code]3. Add interfaces to the bridge name "MyBridge"[code]
/interface bridge port add interface=ether1 bridge=MyBridge
/interface bridge port add interface=ether2 bridge=MyBridge
[/code]4. Usng the new interface "MyBridge" for the "Local" interface as described in single-WAN-and-single-LAN.
Ref. Links:
1) [url]http://www.mikrotik.com/testdocs/ros/2.9/interface/bridge.php[/url]
2) [url]http://knowledgedirectory.wordpress.com/2012/03/21/mikrotik-basics-enable-static-wan-add-dhcpserver/[/url]
頁:
[1]