User Tools

Site Tools


networking:router:mikrotik_switch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
networking:router:mikrotik_switch [2014/03/08 17:02]
gcooper
networking:router:mikrotik_switch [2014/03/27 11:18] (current)
gcooper
Line 24: Line 24:
  
 <file> <file>
 +/interface ethernet print
 /interface ethernet switch print /interface ethernet switch print
- +/interface ethernet switch port print
-/interface ethernet print+
 </file> </file>
  
-===== Configure Switch Group =====+===== Configure Switch Groups =====
  
 :!: Here we divide the switch into two switch groups of 17 and 6 ports each. :!: Here we divide the switch into two switch groups of 17 and 6 ports each.
Line 76: Line 76:
   set ether24 name=ether24-slave   set ether24 name=ether24-slave
   set sfp1 name=sfp1-wan   set sfp1 name=sfp1-wan
 +  
 +print
 </file> </file>
  
Line 103: Line 105:
   set ether23-slave master-port=ether19-master   set ether23-slave master-port=ether19-master
   set ether24-slave master-port=ether19-master   set ether24-slave master-port=ether19-master
 +
 +print
 </file> </file>
  
 ===== Build Bridges ===== ===== Build Bridges =====
 +
 +:!: Use the master ports for bridging and routing.
  
 :!: We don't actually use these bridges here. :!: We don't actually use these bridges here.
Line 111: Line 117:
 <file> <file>
 /interface bridge /interface bridge
-add name=bridge1 comment="Bridge for Port Group 1" disabled=no +  add name=bridge1 comment="Bridge for Port Group 1" disabled=no 
-add name=bridge2 comment="Bridge for Port Group 2" disabled=no+  add name=bridge2 comment="Bridge for Port Group 2" disabled=no
  
 print print
Line 127: Line 133:
 <file> <file>
 /ip address /ip address
- +  add address=172.16.1.2/30 interface=ether1-wan comment="Gateway to Upstream Router" 
-add address=172.16.1.2/30 interface=ether1-wan comment="Gateway to Upstream Router" +  add address=10.10.4.1/24 interface=ether2-master comment="Gateway for Private Subnet" 
-add address=10.10.4.1/24 interface=ether2-master comment="Gateway for Private Subnet" +  add address=xxx.xxx.xxx.xxx/xx interface=ether19-master comment="Gateway for Public Subnet"
-add address=198.167.189.17/28 interface=ether19-master comment="Gateway for Public Subnet"+
  
 print print
Line 137: Line 142:
 ===== Configure Basic Networking ===== ===== Configure Basic Networking =====
  
-Here we st the DNS servers and the default route:+Here we set the host name, DNS servers and the default route:
  
 <file> <file>
 +/system identity set name=CRS125
 /ip dns set servers=8.8.8.8,8.8.4.4 /ip dns set servers=8.8.8.8,8.8.4.4
 /ip route add dst-address=0.0.0.0/0 gateway=172.16.1.1 distance=1 comment="Default Route" /ip route add dst-address=0.0.0.0/0 gateway=172.16.1.1 distance=1 comment="Default Route"
networking/router/mikrotik_switch.1394323341.txt.gz · Last modified: 2014/03/08 17:02 by gcooper