Local gateway based routing?

based on this topic: http://forum.mikrotik.com/t/solved-ospf-multiple-gateways/80341/1

now everything regarding the ospf and VPN is working.. although i discovered a different problem:

i had to activate proxy-arp for l2tp/ipsec roadwarrior on eth2. With this activated it seems that sometimes packets that should go to the 254 gateway arrive at the 250 (but never the other way around!). I tried to use a different switch but it seems like the switch(es) are not the issue.

Therefore users are getting kicked out of sessions (coming with a different wan-ips every couple of minutes or sometimes seconds)

since my interface-based routing seems a bit sloppy anyway, i thought about marking the packages, but i don’t seem to find a way to mark packets that arive at a certain gateway.

Anyone got any ideas? turning off proxy-arp is sadly not an option since the road-warrior won’t work otherwise.

Thanks in advance!

Can anybody help me?
I tried to find a way myself, but I can’t find a solution.
It would be very helpfull if someone has an idea.
Thanks

Anyway i fixed the problem with a different solution:

Appearently you don’t need to use proxy-arp if you’re using roadwarrior vpn.

I created a own subnet for the VPN-Clients and put a nat rule to access the local network (for which i normally use proxy-arp, because according to another tutorial that’s the only solution…

So this can be closed as solved :slight_smile: