1. Create Paste
  2. Followup Paste
  3. QR
  4. [admin@MikroTik] > /export
  5. # jun/25/2016 11:52:35 by RouterOS 6.40.1
  6. # software id = LTDL-LI8R
  7. #
  8. # model = RouterBOARD 3011UiAS
  9. # serial number = 783D07790651
  10. /interface bridge
  11. add admin-mac=64:D1:54:30:75:15 auto-mac=no comment=defconf fast-forward=no \
  12. name=bridge
  13. /interface ethernet
  14. set [ find default-name=ether2 ] name=ether2-master
  15. set [ find default-name=ether3 ] master-port=ether2-master
  16. set [ find default-name=ether4 ] master-port=ether2-master
  17. set [ find default-name=ether5 ] master-port=ether2-master
  18. set [ find default-name=ether6 ] name=ether6-master
  19. set [ find default-name=ether7 ] master-port=ether6-master
  20. set [ find default-name=ether8 ] master-port=ether6-master
  21. set [ find default-name=ether9 ] master-port=ether6-master
  22. set [ find default-name=ether10 ] master-port=ether6-master
  23. /ip neighbor discovery
  24. set ether1 discover=no
  25. /ip pool
  26. add name=default-dhcp ranges=192.168.88.10-192.168.88.254
  27. add name=dhcp_pool1 ranges=192.168.1.2-192.168.1.254
  28. /ip dhcp-server
  29. add address-pool=dhcp_pool1 disabled=no interface=bridge lease-time=1d10m name=\
  30. dhcp1
  31. /interface bridge port
  32. add bridge=bridge comment=defconf interface=ether2-master
  33. add bridge=bridge comment=defconf interface=ether6-master
  34. /ip address
  35. add address=MY_REAL_IP_HERE/25 interface=ether1 network=MY_REAL_IP_HERE.0
  36. add address=192.168.1.1/24 interface=bridge network=192.168.1.0
  37. /ip dhcp-client
  38. add comment=defconf dhcp-options=hostname,clientid interface=ether1
  39. /ip dhcp-server network
  40. add address=192.168.1.0/24 dns-server=82.114.64.3,82.114.64.4 gateway=\
  41. 192.168.1.1
  42. /ip dns static
  43. add address=192.168.88.1 name=router
  44. /ip firewall nat
  45. add action=masquerade chain=srcnat comment="defconf: masquerade" src-address=\
  46. 192.168.1.0/24
  47. /ip route
  48. add distance=1 gateway=MY_REAL_IP_HERE.1
  49. /system clock
  50. set time-zone-name=America/Chicago
  51. /tool mac-server
  52. set [ find default=yes ] disabled=yes
  53. add interface=bridge
  54. /tool mac-server mac-winbox
  55. set [ find default=yes ] disabled=yes
  56. add interface=bridge
  57. [admin@MikroTik] >>