Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # jan/04/2020 02:19:51 by RouterOS 6.46.1
- # software id = 864D-2ICG
- #
- # model = 2011iL
- # serial number = 7DCF07520844
- /interface ethernet
- set [ find default-name=ether1 ] mac-address=E4:8D:8C:89:B9:09 name=\
- "ether1 - wan tim" speed=100Mbps
- set [ find default-name=ether2 ] mac-address=E4:8D:8C:89:B9:08 name=\
- "ether2 - wan 4G"
- set [ find default-name=ether3 ] mac-address=E4:8D:8C:89:B9:07 speed=100Mbps
- set [ find default-name=ether4 ] mac-address=E4:8D:8C:89:B9:06 speed=100Mbps
- set [ find default-name=ether5 ] mac-address=E4:8D:8C:89:B9:05 speed=100Mbps
- /interface ethernet switch port
- set 0 default-vlan-id=0
- set 1 default-vlan-id=0
- set 2 default-vlan-id=0
- set 3 default-vlan-id=0
- set 4 default-vlan-id=0
- set 10 default-vlan-id=0
- /ip hotspot profile
- set [ find default=yes ] html-directory=flash/hotspot
- /snmp community
- set [ find default=yes ] addresses=0.0.0.0/0
- /system logging action
- set 1 disk-file-name=flash/log
- /ip address
- add address=192.168.119.1/24 interface=ether5 network=192.168.119.0
- add address=192.168.1.254/24 interface="ether1 - wan tim" network=192.168.1.0
- add address=192.168.111.1/24 interface="ether2 - wan 4G" network=192.168.111.0
- /ip dhcp-client
- add add-default-route=no interface="ether1 - wan tim"
- /ip dhcp-relay
- add dhcp-server=172.16.255.1 local-address=172.16.4.1 name="relay1 - aruba"
- /ip firewall mangle
- add action=mark-connection chain=input in-interface="ether1 - wan tim" \
- new-connection-mark=wan-tim passthrough=no
- add action=mark-connection chain=input in-interface="ether2 - wan 4G" \
- new-connection-mark=wan-4g-1 passthrough=no
- add action=mark-routing chain=output connection-mark=wan-tim new-routing-mark=\
- "to-wan tim" passthrough=no
- add action=mark-routing chain=output connection-mark=wan-4g-1 new-routing-mark=\
- "to-wan 4g-1" passthrough=no
- add action=accept chain=prerouting dst-address=192.168.1.0/24 in-interface=\
- ether5
- add action=accept chain=prerouting dst-address=192.168.111.0/24 in-interface=\
- ether5
- add action=mark-connection chain=prerouting dst-address-type=!local \
- in-interface=ether5 new-connection-mark=wan-tim passthrough=yes \
- per-connection-classifier=both-addresses-and-ports:2/0
- add action=mark-connection chain=prerouting dst-address-type=!local \
- in-interface=ether5 new-connection-mark=wan-4g-1 passthrough=yes \
- per-connection-classifier=both-addresses-and-ports:2/1
- add action=mark-routing chain=prerouting connection-mark=wan-tim in-interface=\
- ether5 new-routing-mark="to-wan tim" passthrough=no
- add action=mark-routing chain=prerouting connection-mark=wan-4g-1 in-interface=\
- ether5 new-routing-mark="to-wan 4g-1" passthrough=no
- /ip firewall nat
- add action=masquerade chain=srcnat out-interface="ether1 - wan tim"
- add action=masquerade chain=srcnat out-interface="ether2 - wan 4G"
- /ip route
- add comment=TIM distance=1 gateway=192.168.1.1 routing-mark="to-wan tim"
- add comment=4G distance=1 gateway=192.168.111.3 routing-mark="to-wan 4g-1"
- add comment="4G - illiad" distance=2 gateway=192.168.111.2
- add comment=TIM disabled=yes distance=1 gateway=192.168.1.1
- /snmp
- set enabled=yes
- /system clock
- set time-zone-name=Europe/Rome
- /system identity
- set name="AGGREGATORE FONTIGNANO"
- /system leds
- add interface=ether5 leds="" type=interface-activity
- add interface=ether4 leds="" type=interface-activity
- add interface=ether3 leds="" type=interface-activity
- add interface="ether2 - wan 4G" leds="" type=interface-activity
- add interface="ether1 - wan tim" leds="" type=interface-activity
- /system ntp client
- set enabled=yes primary-ntp=172.16.80.250
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement