whats the number of times the letter i appears in:
q: mikrotik ccr1009 ros 7 dual wan configuration i have a ccr1009 (ros 7.2.3) configured with the combo port as wan_1 and the eth1 to eth5 ports as lan, voip, and 3 server with different subnets.
the isp is fastweb (mixed fiber 100/100) which provides me with 5 public ip addresses and which i have assigned to each port to differentiate some services.
since vodafone arrives in direct fiber at 1000/200 i would like to connect it to eth7 as wan_2 and divert all traffic from the lan to it and leave voip and the 3 server on wan_1.
i researched for hours and i realized that you need to create 2 mangle rules (one for fasweb and one for vodafone) where the packets are marked, assign them to 2 routing tables and then modify the route by assigning the tables for the two connections.
unfortunately despite all attempts i was unable to get the configuration to work.
could anyone kindly help me?
thanks in advance,
gianluca
the current configuration without mangle rules is as follows:
# jun/22/2022 13:59:29 by routeros 7.2.3
#
# model = ccr1009-7g-1c-1s+
# 

/interface bridge
add name=bridge_lan
add name=bridge_server

/interface ethernet
set [ find default-name=combo1 ] name=wan_isp1
set [ find default-name=ether1 ] name=lan
set [ find default-name=ether2 ] name=voip
set [ find default-name=ether3 ] name=server1
set [ find default-name=ether4 ] name=server2
set [ find default-name=ether5 ] name=server3
set [ find default-name=ether7 ] name=wan_isp2
set [ find default-name=sfp-sfpplus1 ] name=sfpplus

/ip pool
add name=dhcp_lan_pool ranges=192.168.98.100-192.168.98.254

/ip dhcp-server
add address-pool=dhcp_lan_pool interface=bridge_lan name=dhcp_lan

/routing table
add disabled=no fib name=to_voda
add disabled=no fib name=to_fast

/interface bridge port
add bridge=bridge_server ingress-filtering=no interface=server1
add bridge=bridge_server ingress-filtering=no interface=server2
add bridge=bridge_server ingress-filtering=no interface=server3
add bridge=bridge_lan ingress-filtering=no interface=lan

/ip address
add address=192.168.99.1/24 interface=bridge_server network=192.168.99.0
add address=192.168.98.1/24 interface=bridge_lan network=192.168.98.0
add address=192.168.1.1/24 interface=voip network=192.168.1.0

add address=xxx.xxx.xxx.142/29 comment=wan_isp1 empty interface=wan_isp1 network=xxx.xxx.xxx.136
add address=xxx.xxx.xxx.141/29 comment=wan_isp1 voip interface=wan_isp1 network=xxx.xxx.xxx.136
add address=xxx.xxx.xxx.140/29 comment=wan_isp1 web interface=wan_isp1 network=xxx.xxx.xxx.136
add address=xxx.xxx.xxx.139/29 comment=wan_isp1 nas interface=wan_isp1 network=xxx.xxx.xxx.136
add address=xxx.xxx.xxx.138/29 comment=wan_isp2 lan interface=wan_isp1 network=xxx.xxx.xxx.xxx


/ip dhcp-server network
add address=192.168.98.0/24 comment=gw lan dns-server=192.168.98.1 gateway=192.168.98.1

/ip dns
set allow-remote-requests=yes servers=8.8.8.8,1.1.1.1

/ip firewall filter
add action=accept chain=input comment=accept estabilished,related connection-state=established,related
add action=accept chain=input comment=allow ping routerboard protocol=icmp
add action=drop chain=forward comment=drop invalid packet connection-state=invalid
add action=drop chain=input comment=drop all other on wan in-interface=wan_isp1
add action=drop chain=input comment=droppa drop all other disabled=yes

/ip firewall nat
add action=dst-nat chain=dstnat comment=nat voip 1:1 with hairpin nat disabled=yes dst-address=xxx.xxx.xxx.141 dst-port=0-65535 protocol=udp to-addresses=192.168.1.10
add action=dst-nat chain=dstnat comment=voip test tcp dst-address=xxx.xxx.xxx.141 dst-port=40000-40999 protocol=tcp to-addresses=192.168.1.10 to-ports=40000-40999
add action=dst-nat chain=dstnat comment=voip test udp dst-address=xxx.xxx.xxx.141 dst-port=40000-40999 protocol=udp to-addresses=192.168.1.10 to-ports=40000-40999
add action=dst-nat chain=dstnat comment=nat website 1:1 with hairpin nat dst-address=xxx.xxx.xxx.140 dst-port=0-65535 protocol=tcp to-addresses=192.168.99.16
add action=dst-nat chain=dstnat comment=voip sim (su lan) tcp dst-address=xxx.xxx.xxx.141 dst-port=45000-45999 protocol=tcp to-addresses=192.168.98.42 to-ports=45000-45999
add action=dst-nat chain=dstnat comment=voip sim (su lan) udp dst-address=xxx.xxx.xxx.141 dst-port=45000-45999 protocol=udp to-addresses=192.168.98.42 to-ports=45000-45999
add action=src-nat chain=srcnat comment=nat website 1:1 out src-address=192.168.99.0/24 to-addresses=xxx.xxx.xxx.140
add action=src-nat chain=srcnat comment=nat voip 1:1 out src-address=192.168.1.0/24 to-addresses=xxx.xxx.xxx.141
add action=src-nat chain=srcnat comment=nat lan 1:1 out src-address=192.168.98.0/24 to-addresses=xxx.xxx.xxx.138


/ip route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=xxx.xxx.xxx.137 pref-src=0.0.0.0 routing-table=main scope=30 suppress-hw-offload=no target-scope=10 # route per fastweb



user
The given text has 207 "i"s.
assistant