I just watched Reyk's youtube. I'm going with relayd. I can see the 'routers' 
section in the man page for relayd to do what I want. 

http://www.youtube.com/watch?v=JtMxGslqGbM


-----Original Message-----
From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of 
Justin Mayes
Sent: Wednesday, October 8, 2014 10:04 PM
To: misc@openbsd.org
Subject: Route-to with a dynamic 'next hop'

Greetings all -

I have 2 internet connections. One of them is static IP, one is dynamic. I want 
to use both of them on my gateway. From the man pages and other docs I see the 
use of route-to in the pf.conf including the 'next-hop' that it requires. This 
is easy enough. Problem is that the next hop is hard coded IP in all examples. 
I need that next hop to get updated when my one WAN DHCP link is updated. I 
know about if:peer, if:broadcast, if:network ect but there is no if:gateway. 
Seems like you could have used dhclient-script to adjust pf config when ip 
changed but dhclient-script has been removed.  I also read that relayd has 
become the best option to accomplish this uplink load balancing in current 
versions of OpenBSD. I wanted to check with you all to make sure I'm not 
missing something basic with the load balanced uplink scenario in OpenBSD. As 
always, comments and suggestions are much appreciated.

J

Reply via email to