Dear all,
recently , I have adopted PCC load balancing in our network.
At the moment ,it seems works correctly but I have a problem with intervlan routing.
We use in our network 8 VLAN so 8 different subnet.
Before ,intervlan , routing from VLAN worked correctly and I could block/permit the traffic with IP FIREWALL FILTER.
I found a w/a but it is less easy to manage for all vlan
For example if I want reach from my IP several vlan, locally, I must apply a couple rules for each vlan .
I’m afraid I’m missing the point. Do you have in mind that as you started connection-marking and routing-marking all traffic, you must set up exceptions from connection-marking so that local traffic between VLANs would not be connection-marked and thus end up routed out via WAN rather than being delivered locally as they should? If so, make an address list containing all your VLAN subnets, and use it in the routing-marking rules as a negative one:
It involves just a replacement of dst-address by dst-address-list. So instead of a single IP address or single subnet or maybe a single range, you can refer to several distinct subnets in a single firewall rule.
Whether you use this in a rule which accepts traffic to these destinations before the action=mark-routing rule can see it or whether you use this inverted in the action=mark-routing rule itself is not important; the result in both cases is that the packets for local destinations do not get a routing-mark making it use a corresponding set of routes (commonly referred to as “routing table”). The point is that the routes to directly connected subnets only exist in the default routing table, so you either have to prevent packets for directly connected subnets from being routing-marked (as done above), or you have to duplicate the routes to connected subnets also in the routing-marked routing tables.
Still the same way. Before the PCC rules, put a mark-connection rule with src-address=your.host.ip.addr instead of per-connection-classifier=…, the rest of the rule parameters is the same like in the PCC rules.