Re: Route-to with a dynamic 'next hop'

2014-10-15 Thread Giancarlo Razzolini
On 15-10-2014 01:38, Justin Mayes wrote: > Thanks to both of you for the advice > Just to followup I ended up with the relayd 'routers' setup as described in man page but with a script monitor rather than icmp. The monitor finds gateway for interface in route table and pings it with "-I" interface

Re: Route-to with a dynamic 'next hop'

2014-10-14 Thread Justin Mayes
, October 10, 2014 4:56 PM To: misc@openbsd.org Subject: Re: Route-to with a dynamic 'next hop' On 2014-10-09, Justin Mayes wrote: > Ok I got it working. Here is what I did > > Enabled multipath routing (sysctl) > Added the relayd anchor to pf.conf > Created a relayd.co

Re: Route-to with a dynamic 'next hop'

2014-10-10 Thread Stuart Henderson
On 2014-10-09, Justin Mayes wrote: > Ok I got it working. Here is what I did > > Enabled multipath routing (sysctl) > Added the relayd anchor to pf.conf > Created a relayd.conf with this in it > > gw1="fxp0" > gw2="fxp1" > > table { $gw1 ip ttl 1, $gw2 ip ttl 1 } > router "uplinks" { > ro

Re: Route-to with a dynamic 'next hop'

2014-10-09 Thread Giancarlo Razzolini
On 09-10-2014 11:23, Justin Mayes wrote: > In Reyk's presentation he talks about this (http://www.youtube.com/watch?v=JtMxGslqGbM) @ 19:30 and describes the 'link balancer' functionality of relayd intended to do exactly what I want. It appears to work as described. In the presentation Reyk says rel

Re: Route-to with a dynamic 'next hop'

2014-10-09 Thread Justin Mayes
[mailto:owner-m...@openbsd.org] On Behalf Of Justin Mayes Sent: Thursday, October 9, 2014 9:05 AM To: grazzol...@gmail.com; misc@openbsd.org Subject: Re: Route-to with a dynamic 'next hop' My understanding of route-to is that if the destination is not on same network as the 'route-to&#

Re: Route-to with a dynamic 'next hop'

2014-10-09 Thread Justin Mayes
al Message- From: Giancarlo Razzolini [mailto:grazzol...@gmail.com] Sent: Thursday, October 9, 2014 8:52 AM To: Justin Mayes; misc@openbsd.org Subject: Re: Route-to with a dynamic 'next hop' On 09-10-2014 10:16, Justin Mayes wrote: > I did notice the problem with only detecting

Re: Route-to with a dynamic 'next hop'

2014-10-09 Thread Giancarlo Razzolini
On 09-10-2014 10:16, Justin Mayes wrote: > I did notice the problem with only detecting a LAN failure and was looking at a better monitor. If I just used plain PF rules what would I use for the next-hop parameter to the route-to command? This IP is dynamic. > There is no next-hop. Just make your r

Re: Route-to with a dynamic 'next hop'

2014-10-09 Thread Justin Mayes
...@gmail.com] Sent: Thursday, October 9, 2014 7:26 AM To: Justin Mayes; misc@openbsd.org Subject: Re: Route-to with a dynamic 'next hop' On 09-10-2014 02:58, Justin Mayes wrote: > Ok I got it working. Here is what I did > > Enabled multipath routing (sysctl) > Added the relayd anchor

Re: Route-to with a dynamic 'next hop'

2014-10-09 Thread Giancarlo Razzolini
ion 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@open

Re: Route-to with a dynamic 'next hop'

2014-10-08 Thread Justin Mayes
l show summary' showed it as down and then default route to it was removed automatically. Awesomeness. -Original Message- From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of Justin Mayes Sent: Wednesday, October 8, 2014 10:56 PM To: misc@openbsd.org Subject: Re: Route-to

Re: Route-to with a dynamic 'next hop'

2014-10-08 Thread Justin Mayes
alf 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 d

Route-to with a dynamic 'next hop'

2014-10-08 Thread Justin Mayes
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