Re: [Astlinux-users] Pinging the failover interface

2019-07-23 Thread Michael Knill
Thanks David. I will let you know. Regards Michael Knill From: David Kerr Reply to: AstLinux List Date: Wednesday, 24 July 2019 at 9:12 am To: AstLinux List Subject: Re: [Astlinux-users] Pinging the failover interface I have implemented a solution to this on my astlinux box such that replies

Re: [Astlinux-users] Pinging the failover interface

2019-07-23 Thread David Kerr
I have implemented a solution to this on my astlinux box such that replies to incoming traffic on my failover interface are sent back out over that interface. The specific reason I have this is so that I can access the astlinux web interface at either pbx.myurl.tld and failover.myurl.tld. My fail

Re: [Astlinux-users] Pinging the failover interface

2019-07-23 Thread Michael Knill
Thanks Lonnie Although this looks interesting, I still have a problem with monitoring a 4G connection and other scenarios etc. so I will probably use WG VPN's to Management servers for monitoring. Thanks for your help once again. Regards Michael Knill On 24/7/19, 8:50 am, "Lonnie Abelbeck" w

Re: [Astlinux-users] Pinging the failover interface

2019-07-23 Thread Lonnie Abelbeck
> ip route add dev ppp0 tab 1 This route will be removed anytime PPPoE is restarted. Otherwise ... test and test again :-) Lonnie > On Jul 23, 2019, at 5:43 PM, Michael Knill > wrote: > > Whoops I missed that date sorry. I need to be more observant. Although I > assume its still the same

Re: [Astlinux-users] Pinging the failover interface

2019-07-23 Thread Michael Knill
Whoops I missed that date sorry. I need to be more observant. Although I assume its still the same. No I don't have a path over WG and my Zabbix server pings both interfaces so I cant put in a static route. I could however just set up policy routing for the Zabbix server so it doesn't break any

Re: [Astlinux-users] Pinging the failover interface

2019-07-23 Thread Lonnie Abelbeck
> On Jul 23, 2019, at 4:24 PM, Michael Knill > wrote: > > Yes I gathered that was the case. Hmm wonder why it was working for a while. > So it doesn't seem too difficult to set up policy based routing from this > article which sends traffic out the interface it was received. > https://www.lin

Re: [Astlinux-users] Pinging the failover interface

2019-07-23 Thread Michael Knill
Yes I gathered that was the case. Hmm wonder why it was working for a while. So it doesn't seem too difficult to set up policy based routing from this article which sends traffic out the interface it was received. https://www.linuxjournal.com/article/7291 What do you think? Regards Michael Knill

Re: [Astlinux-users] Pinging the failover interface

2019-07-23 Thread Lonnie Abelbeck
> My assumption is that the reply will route out the primary interface so it > will not work. Exactly. If there is not a return route to your source IP the packet is lost. Or if over WireGuard, a too narrow AllowedIPs to allow the return packet. Using "ip r" at each end should tell the story.

[Astlinux-users] Pinging the failover interface

2019-07-23 Thread Michael Knill
Hi group Forgive my ignorance but should I be able to ping the failover Astlinux interface if the primary is up? I cant for one of my sites but it used to work for some reason. The link seems fine and I can ping the secondary WAN gateway. My assumption is that the reply will route out the primar