EFW Support

Support => General Support => Topic started by: mvrk on Wednesday 28 July 2010, 10:48:30 am



Title: static / policy routing
Post by: mvrk on Wednesday 28 July 2010, 10:48:30 am
Hi,

I've got two uplinks (Main and Backup).

I need the traffic to a certain destination IP goes always through the backup uplink even if the active one is the Main uplink.

I've tried to add a rule in static routing, but it doesn't work, keeps going through the default gateway :(



Title: Re: static / policy routing
Post by: b1naryg0d on Wednesday 28 July 2010, 11:41:24 am
if you need to go threw console and the 2nd uplink is a different interface then this should work
/sbin/route add -host <destination IP> dev <Backup Uplink Interface>
should be able to do it through the gui too but i havent done it that way before


Title: Re: static / policy routing
Post by: mvrk on Thursday 29 July 2010, 02:21:50 am
Ok, it works manually and also on the web interface.

My problem was that my second uplink wasn't really working :(