Hi jggimmi
Thanks for your time !
Quote:
This is for automatic multipath routing. When set to 1 (equal), routes added with -mpath use equal cost multipath routing, and when set to 0 (not-equal), only the first path added with -mpath will be used. It is unclear how you are adding the route definitions, but if -mpath is not used with route(8), and you are using PF rules only, then the OS will not test the sysctl setting. Equal cost multipath routing is described and an example is shown in OpenBSD FAQ 6.14. You may find that example and/or the route testing methods there helpful.
|
Actually, i do both: mpath equal routing and PF policy routing (maybe the root cause ??)
Here is re0 hostname conf
Quote:
inet 192.168.0.253 255.255.255.0 192.168.0.255 description "Connexion Numericable"
dest 192.168.0.1
!route add -mpath default 192.168.0.1
|
and rl0
Quote:
inet 192.168.1.253 255.255.255.0 192.168.1.255 description "Connexion Free"
dest 192.168.1.253
!route add -mpath default 192.168.1.254
|
sysctl.conf contains a line to enable mpath in an equal routing behavior:
Quote:
net.inet.ip.multipath=1 # 1=Enable IP multipath routing
|
I have another set of rules without optimizations, etc... and problem remains the same...
I also tried to modify the route priority to lower FREE default route compared to NC one. It works, but still several packet losses, for a reason i miss.
I would be helpful if one among you has already set up such a kind of conf (tried several ones found on the internet, but most use old school ruleset)
A bsd 5.4 ruleset i could adapt to my case would be helpful
Thanks again !