- Create Paste
- Followup Paste
- QR
- [admin@MikroTik] > /export
- # jun/25/2016 11:52:35 by RouterOS 6.40.1
- # software id = LTDL-LI8R
- #
- # model = RouterBOARD 3011UiAS
- # serial number = 783D07790651
- /interface bridge
- add admin-mac=64:D1:54:30:75:15 auto-mac=no comment=defconf fast-forward=no \
- name=bridge
- /interface ethernet
- set [ find default-name=ether2 ] name=ether2-master
- set [ find default-name=ether3 ] master-port=ether2-master
- set [ find default-name=ether4 ] master-port=ether2-master
- set [ find default-name=ether5 ] master-port=ether2-master
- set [ find default-name=ether6 ] name=ether6-master
- set [ find default-name=ether7 ] master-port=ether6-master
- set [ find default-name=ether8 ] master-port=ether6-master
- set [ find default-name=ether9 ] master-port=ether6-master
- set [ find default-name=ether10 ] master-port=ether6-master
- /ip neighbor discovery
- set ether1 discover=no
- /ip pool
- add name=default-dhcp ranges=192.168.88.10-192.168.88.254
- add name=dhcp_pool1 ranges=192.168.1.2-192.168.1.254
- /ip dhcp-server
- add address-pool=dhcp_pool1 disabled=no interface=bridge lease-time=1d10m name=\
- dhcp1
- /interface bridge port
- add bridge=bridge comment=defconf interface=ether2-master
- add bridge=bridge comment=defconf interface=ether6-master
- /ip address
- add address=MY_REAL_IP_HERE/25 interface=ether1 network=MY_REAL_IP_HERE.0
- add address=192.168.1.1/24 interface=bridge network=192.168.1.0
- /ip dhcp-client
- add comment=defconf dhcp-options=hostname,clientid interface=ether1
- /ip dhcp-server network
- add address=192.168.1.0/24 dns-server=82.114.64.3,82.114.64.4 gateway=\
- 192.168.1.1
- /ip dns static
- add address=192.168.88.1 name=router
- /ip firewall nat
- add action=masquerade chain=srcnat comment="defconf: masquerade" src-address=\
- 192.168.1.0/24
- /ip route
- add distance=1 gateway=MY_REAL_IP_HERE.1
- /system clock
- set time-zone-name=America/Chicago
- /tool mac-server
- set [ find default=yes ] disabled=yes
- add interface=bridge
- /tool mac-server mac-winbox
- set [ find default=yes ] disabled=yes
- add interface=bridge
- [admin@MikroTik] >>