Hey guys
I’m really a newbie with router OS. I have two WAN connections. One connection has a dynamic DHCP Address and the other one a static.
I don’t need load balancing or failover.
The second WAN (static) is my business line that has a IPsec tunnel on it and some NAT services.
The other WAN (dynamic) is a fiber connection with IPTV witch is must fast. It’s my regular internet line.
I’ve read the Wikis her and what I’ve figured out is, that I have to track the packets with the mangle function.
[code]/ip firewall mangle
add chain=input in-interface=WAN1 action=mark-connection new-connection-mark=WAN1_conn
add chain=input in-interface=WAN2 action=mark-connection new-connection-mark=WAN2_conn
add chain=output connection-mark=WAN1_conn action=mark-routing new-routing-mark=to_WAN1
add chain=output connection-mark=WAN2_conn action=mark-routing new-routing-mark=to_WAN2[/code]
That’s not that difficult, but the problem is to set the routing marks at the routes. My problem is, that I can’t do set a routing mark on the DHCP WAN port. This rout has added automatically, and that’s also right because its DHCP.
/ip route
add dst-address=0.0.0.0/0 gateway=2.2.2.1 routing-mark=to_WAN1 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=3.3.3.1 routing-mark=to_WAN2 check-gateway=ping
Are you agreeing that I have to deal with Mangle and any idea how I can solve the problem with the routes?
The other question is, what do I have to do, that IPTV (Multicast) works? I’ve already set an IGMP Proxy and the UDP filters. Everything works fine, as long as I don’t change anything at the routes. I guess I have to set a route that the multicast traffic is only go to the DHCP WAN interface.
I’m really not a networking engineer and it would be nice if someone could help me here. I hope there is an solution for the problem.