Re: multipath and route-to

2010-03-09 Thread Leonardo Lombardo
Problem solved, that was my typo... So, for every newbie like me the answer is: route-to "takes precedence" over ecmp and you can manipulate routes from pf on a machine that has more than one route to a network. Thanks to all for the great work in this os and the support in this list.

Re: multipath and route-to

2010-03-08 Thread Leonardo Lombardo
Yes, but what I need is to have a static route for a specific client (src addr). Something like route -add -srchost 10.1.1.1 -host 151.1.150.16 192.168.2.254 Even if this is possible it would be quite difficult to mantain this "special" routes outside of pf.conf... On 08/03/2010 12.31, S

Re: multipath and route-to

2010-03-08 Thread Leonardo Lombardo
I try to explain better. Machine is a 4.6 stable on a virtualbox test environment. Here is my conf: hostname.pcn0: inet 192.168.3.204 255.255.255.0 inet alias 192.168.3.203 255.255.255.255 !route add -mpath default 192.168.3.252 !route add -mpath default 192.168.3.254 # ifconfig -a pcn0: flags=

Re: multipath and route-to

2010-03-07 Thread Shi Jie Gung
I run multipath NAT on my openbsd like this pf.conf pass out from em0:network to !em0:network nat-to {tun0,tun1} I think change nat-to to route-to can also work. By the way, this is for routing,nating clients. If you wish to do multipath for the machine openbsd is running on. 1. Check the defau