This shows you the differences between two versions of the page.
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: | ||
< | < | ||
+ | /interface ethernet print | ||
/interface ethernet switch print | /interface ethernet switch print | ||
- | + | /interface ethernet | |
- | /interface ethernet print | + | |
</ | </ | ||
- | ===== Configure | + | ===== Configure Switch |
:!: 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 | ||
+ | | ||
+ | |||
</ | </ | ||
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 | ||
+ | |||
+ | |||
</ | </ | ||
===== 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: | ||
< | < | ||
/interface bridge | /interface bridge | ||
- | add name=bridge1 comment=" | + | |
- | add name=bridge2 comment=" | + | add name=bridge2 comment=" |
Line 127: | Line 133: | ||
< | < | ||
/ip address | /ip address | ||
- | + | | |
- | add address=172.16.1.2/ | + | add address=10.10.4.1/ |
- | add address=10.10.4.1/ | + | add address=xxx.xxx.xxx.xxx/xx interface=ether19-master comment=" |
- | add address=198.167.189.17/28 interface=ether19-master comment=" | + | |
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: |
< | < | ||
+ | /system identity set name=CRS125 | ||
/ip dns set servers=8.8.8.8, | /ip dns set servers=8.8.8.8, | ||
/ip route add dst-address=0.0.0.0/ | /ip route add dst-address=0.0.0.0/ |