Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Restart PPPOE if gateway is X or Y instead of A or B?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Restart PPPOE if gateway is X or Y instead of A or B? (Read 963 times)
SpuddyUK
Newbie
Posts: 9
Karma: 0
Restart PPPOE if gateway is X or Y instead of A or B?
«
on:
October 12, 2021, 07:40:06 pm »
Hello,
I was wondering if anyone knew if this was possible and whether it'd be easy to implement in OPNsense?
I'm based in the UK. My ISP have 4 gateways for PPPOE customers that are (I believe) randomly assigned at connection. Sometimes I've been moved between gateways in the middle of the night or something too.
Anyway the gateways are like this.
xx.xx.xx.21
xx.xx.xx.22
xx.xx.xx.23
xx.xx.xx.24
What I've been able to discover is that .21 and .22 are in the north of the country (let's say 200-300 miles away) and .23 and .24 are in the south where I am (~30/40 miles away).
If I am assigned a gateway in the north, my latency to the first outside hop can be 18-55ms. If I'm assigned a gateway in the south, my latency is 3-8ms. Additionally, my speedtests are about 40% slower when on the "north" gateways as opposed to "south".
Any way to run a cron job/script every morning (2AM) to pull the gateway, if on .21 or .22 restart PPPOE until on a .23 or .24 gateway?
«
Last Edit: October 12, 2021, 07:48:25 pm by SpuddyUK
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Restart PPPOE if gateway is X or Y instead of A or B?