# routerboard: yes # board-name: hEX S # model: RB760iGS # serial-number: E1F10D384D83 # firmware-type: mt7621L # factory-firmware: 6.46.4 # current-firmware: 6.47.6 # upgrade-firmware: 6.47.6 # # channel: stable # installed-version: 6.47.6 # # Flags: U - undoable, R - redoable, F - floating-undo # ACTION BY POLICY # # software id = XKSR-AG9D # # model = RB760iGS # serial number = E1F10D384D83 /interface bridge add name=loopback /interface ethernet set [ find default-name=ether2 ] comment="DownLink - Lopes Informatica" set [ find default-name=ether5 ] comment="UpLink - CRS112" set [ find default-name=sfp1 ] auto-negotiation=no comment="UpLink - PR-TIB-BKB - 1/1/4" /interface vlan add interface=ether5 name=vlan772-Gerencia-Switch vlan-id=772 add interface=ether5 name=vlan881-Rota-1 vlan-id=881 add interface=ether5 name=vlan887-Rota-2 vlan-id=887 /interface wireless security-profiles set [ find default=yes ] supplicant-identity=MikroTik /ip hotspot profile set [ find default=yes ] html-directory=flash/hotspot /routing ospf instance set [ find default=yes ] redistribute-static=as-type-1 router-id=10.99.99.89 /snmp community set [ find default=yes ] addresses=45.225.65.10/32 name=onnet@2017 /interface bridge port add interface=sfp1 add interface=ether2 /ip neighbor discovery-settings set discover-interface-list=!dynamic /ip address add address=10.99.99.89 interface=loopback network=10.99.99.89 add address=10.66.6.1/30 interface=ether2 network=10.66.6.0 add address=10.10.0.22/30 interface=vlan881-Rota-1 network=10.10.0.20 add address=10.10.0.42/30 interface=vlan887-Rota-2 network=10.10.0.40 /ip dns set servers=177.10.56.3,177.10.56.30 /ip firewall nat add action=dst-nat chain=dstnat dst-address=!177.10.56.3 dst-port=53 log-prefix=DNS protocol=udp to-addresses=177.10.56.3 /ip route add distance=1 dst-address=45.225.65.104/29 gateway=10.66.6.2 /ip service set telnet disabled=yes set ftp disabled=yes set www disabled=yes set ssh address=45.225.65.10/32 port=2222 set api disabled=yes set winbox port=25000 set api-ssl disabled=yes /routing filter add action=discard chain=ospf-in prefix=!0.0.0.0/0 /routing ospf interface add passive=yes add cost=20 interface=sfp1 network-type=point-to-point add cost=15 interface=vlan887-Rota-2 network-type=point-to-point add cost=20 interface=vlan881-Rota-1 network-type=point-to-point /routing ospf network add area=backbone network=10.99.99.89/32 add area=backbone network=10.10.0.20/30 add area=backbone network=10.10.0.40/30 /snmp set enabled=yes /system clock set time-zone-name=America/Sao_Paulo /system clock manual set time-zone=-03:00 /system identity set name=PR-TIB-LOPES-INFORMATICA-SERP-001 /system logging add action=disk topics=account add action=disk topics=critical add action=disk topics=event add action=disk topics=health add action=disk topics=info add action=disk topics=interface add action=disk topics=manager add action=disk topics=system /system ntp client set enabled=yes primary-ntp=200.160.0.8 secondary-ntp=200.189.40.8 server-dns-names=8.8.8.8 /tool romon set enabled=yes secrets=0nn3t*8102