Page 1 of 1

WAN Gateway IP reverse order on 1.13.X

Posted: Fri Sep 03, 2021 4:52 pm
by westapher317
I recently moved two TP-Link Archer routers to 1.13.X, using the builds available at https://lantisproject.com/gargoyle_custom/1.13.x/. Thanks for those, btw.

I have noticed some unusual behavior with regard to the WAN Gateway IP that appears in the WAN section of the Status page. These routers are connected to SB6190 modems; an A7 v5 and C7 v2 connected to Xfinity/Comcast and Suddenlink/Altice, respectively. Everything generally seems to be working fine, but I couldn't understand why the WAN Gateway IPs for both appeared as 1.x.x.x .... I mean, that would be an IP address somewhere in East Asia, yes? And then I realized ... the WAN Gateway IPs were the same as the WAN IP Addresses on both devices (minus the last octet, of course), but in reverse.

As an example (using bogus data), the WAN section of the Status page looks much like this:

WAN IP Address: 97.247.346.16
WAN Netmask: 255.255.252.0
WAN MAC Address: E7:E8:C1:8B:A1:E4
WAN Gateway IP: 1.346.247.97

I couldn't find other documentation of this on the forums ... anyone else seeing the same?

Re: WAN Gateway IP reverse order on 1.13.X

Posted: Fri Sep 03, 2021 7:05 pm
by ispyisail
screen shots please

Re: WAN Gateway IP reverse order on 1.13.X

Posted: Sat Sep 04, 2021 12:53 am
by Lantis
I have fixed this bug already in a later version. I think the one on my site does not include it.
https://github.com/ericpaulbishop/gargo ... d8c68dc7e5

I'm building some replacement images now, which should be available in about 12 hours.
Otherwise there are more recent images available here:
viewtopic.php?f=14&t=13465

Re: WAN Gateway IP reverse order on 1.13.X

Posted: Sat Sep 04, 2021 4:20 pm
by westapher317
Thanks Lantis; I'll look for the updated builds.

ispy - Didn't post the screenshots here as I didn't think posting my actual IP address was a good idea. Do you still need/want them?

Re: WAN Gateway IP reverse order on 1.13.X

Posted: Sat Sep 04, 2021 5:48 pm
by ispyisail
westapher317 wrote:
Sat Sep 04, 2021 4:20 pm
Thanks Lantis; I'll look for the updated builds.

ispy - Didn't post the screenshots here as I didn't think posting my actual IP address was a good idea. Do you still need/want them?
Don't worry :)