Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




16086 posts

Uber Geek

Trusted
Subscriber

#191128 25-Jan-2016 08:05
Send private message

I run AWS servers, and as per best practice I lock down ssh access to specific IPs. Every week or three my 2degrees dynamic IP changes, and I have to change it in a few places in my setup.

 

Is there any way to reduce the frequency of this? I know it used to change a lot more often, Snap (back then) made some kind of change that made it less frequent, but can I do anything about it? Maybe some kind of keep alive ping or something? We have no devices using the internet overnight so it could be released due to inactivity I guess.

 

It wouldn't bother me if they had a consistent range, but they appear to have IP blocks all over the place. I normally add a /24 set of IPs so that if the last octet changes I can still connect but it usually changes outside that range.

 

 

 

25.01.16 03:26:21 Internet connection established successfully. IP address: 123.255.x.x, DNS server: 202.37.x.x and 202.37.x.x, Gateway: 111.69.x.x, Broadband PoP: SNAP-xx
25.01.16 03:26:10 PPPoE error: Timeout.
25.01.16 03:25:57 Internet connection cleared.
25.01.16 03:25:57 PPPoE error: Timeout.
25.01.16 03:25:43 PPPoE error: Timeout.
25.01.16 03:25:29 PPPoE error: Timeout.
25.01.16 03:25:15 PPPoE error: Timeout.
25.01.16 03:25:01 PPPoE error: Timeout.
25.01.16 03:24:47 PPPoE error: Timeout.
25.01.16 03:24:33 PPPoE error: Timeout.
25.01.16 03:24:19 PPPoE error: Timeout.
25.01.16 03:24:05 PPPoE error: Timeout.
25.01.16 03:23:51 PPPoE error: Timeout.
25.01.16 03:23:37 PPPoE error: Timeout.
25.01.16 03:23:23 PPPoE error: Timeout.
25.01.16 03:23:09 PPPoE error: Timeout.
25.01.16 03:22:55 PPPoE error: Timeout.
25.01.16 03:22:41 PPPoE error: Timeout.
25.01.16 03:22:27 PPPoE error: Timeout.
25.01.16 03:22:13 PPPoE error: Timeout.
25.01.16 03:21:59 PPPoE error: Timeout.
25.01.16 03:21:45 PPPoE error: Timeout.
25.01.16 03:21:31 PPPoE error: Timeout.
25.01.16 03:21:17 PPPoE error: Timeout.
25.01.16 03:21:03 PPPoE error: Timeout.
25.01.16 03:20:49 PPPoE error: Timeout.
25.01.16 03:20:35 PPPoE error: Timeout.
25.01.16 03:20:21 PPPoE error: Timeout.
25.01.16 03:20:07 PPPoE error: Timeout.
25.01.16 03:19:53 PPPoE error: Timeout.
25.01.16 03:19:39 PPPoE error: Timeout.
25.01.16 03:19:25 PPPoE error: Timeout.
25.01.16 03:19:11 PPPoE error: Timeout.
25.01.16 03:18:57 PPPoE error: Timeout.
25.01.16 03:18:43 Timeout during PPP negotiation.
25.01.16 03:18:43 Internet connection cleared.
25.01.16 03:10:29 Internet connection established successfully. IP address: 111.69.x.x, DNS server: 202.37.x.x and 202.37.x.x, Gateway: 111.69.7.69, Broadband PoP: SNAP-xx
25.01.16 03:10:18 PPPoE error: Timeout.
25.01.16 03:04:20 Timeout during PPP negotiation.
25.01.16 03:04:20 Internet connection cleared.
11.01.16 17:09:43 Internet connection established successfully. IP address: 123.255.x.x, DNS server: 202.37.x.x and 202.37.101.2, Gateway: 111.69x.x, Broadband PoP: SNAP-xx
11.01.16 17:09:29 PPPoE error: Timeout.


Create new topic
6434 posts

Uber Geek


  #1478028 25-Jan-2016 08:13
Send private message

Get a static ip?



16086 posts

Uber Geek

Trusted
Subscriber

  #1478032 25-Jan-2016 08:32
Send private message

NonprayingMantis: Get a static ip?

 

It doesn't bother me quite that much.


 
 
 
 


  #1478041 25-Jan-2016 09:02
Send private message

Configure AWS to access connections from the whole 2 subnets 123.255.xx./16 & 111.69.x.x/16 (use whois to lookup the correct subnet sizes).

 

The chances that another 2Degrees customer in those subnets is going to try to break into your AWS is very low.

 

 


/dev/null
9384 posts

Uber Geek

Moderator
Trusted
Lifetime subscriber



16086 posts

Uber Geek

Trusted
Subscriber

  #1478048 25-Jan-2016 09:28
Send private message

BlueOwl:

 

Configure AWS to access connections from the whole 2 subnets 123.255.xx./16 & 111.69.x.x/16 (use whois to lookup the correct subnet sizes).

 

The chances that another 2Degrees customer in those subnets is going to try to break into your AWS is very low. 

 

Yes, that's true I guess, though I don't think I'll do that - I might piss off the wrong person ;)

 

 

 

michaelmurfy:

 

Just use Amazons API to change your security groups when your IP changes w/ Cron + Linux:

 

http://www.edwiget.name/2013/11/automatically-changing-dynamic-ips-in-aws-security-group/

 

Interesting solution thanks! I can't be bothered right now, plus I'm not sure I want my private key on an instance, but I might do that some time if changing IPs manually gets too annoying.


/dev/null
9384 posts

Uber Geek

Moderator
Trusted
Lifetime subscriber

  #1478167 25-Jan-2016 12:34
Send private message

timmmay:

BlueOwl:


Configure AWS to access connections from the whole 2 subnets 123.255.xx./16 & 111.69.x.x/16 (use whois to lookup the correct subnet sizes).


The chances that another 2Degrees customer in those subnets is going to try to break into your AWS is very low. 


Yes, that's true I guess, though I don't think I'll do that - I might piss off the wrong person ;)


 


michaelmurfy:


Just use Amazons API to change your security groups when your IP changes w/ Cron + Linux:


http://www.edwiget.name/2013/11/automatically-changing-dynamic-ips-in-aws-security-group/


Interesting solution thanks! I can't be bothered right now, plus I'm not sure I want my private key on an instance, but I might do that some time if changing IPs manually gets too annoying.



I personally just do it via my router (an edgerouter) however if you've got a Raspberry Pi hanging around then just script it up on that.




1191 posts

Uber Geek

Trusted

  #1479402 26-Jan-2016 22:00
Send private message

I switched over to 2D at the beginning of the month.

 

 

 

This is my list of notifications that the IP address has changed. Once a day is truly ridiculous.

 

Web address 163.47.220.157 - FRITZ!Box web address          03:26
Web address 163.47.220.157 - FRITZ!Box web address          25 Jan
Web address 163.47.220.157 - FRITZ!Box web address         24 Jan
Web address 123.255.21.215 - FRITZ!Box web address          23 Jan
Web address 123.255.21.215 - FRITZ!Box web address          22 Jan
Web address 123.255.23.51 - FRITZ!Box web address          21 Jan
Web address 163.47.220.101 - FRITZ!Box web address          20 Jan
Web address 163.47.220.101 - FRITZ!Box web address          19 Jan
Web address 111.69.225.113 - FRITZ!Box web address          18 Jan
Web address 123.255.27.119 - FRITZ!Box web address          17 Jan
Web address 123.255.23.174 - FRITZ!Box web address          16 Jan
Web address 123.255.23.174 - FRITZ!Box web address          15 Jan
Web address 123.255.23.174 - FRITZ!Box web address          14 Jan
Web address 123.255.25.228 - FRITZ!Box web address          13 Jan
Web address 111.69.217.2 - FRITZ!Box web address          13 Jan
Web address 123.255.22.176 - FRITZ!Box web address          12 Jan

 

 

 

Interestingly, my IPv6 address does stay static.





Please keep this GZ community vibrant by contributing in a constructive & respectful manner.


 
 
 
 


836 posts

Ultimate Geek

Trusted

  #1479765 27-Jan-2016 12:18
Send private message

My v4 address and v6 prefix only change if the PPP session renegotiates. I can reboot the modem, but the router still keeps its PPP session and just continues on from where it left off. Unless you have your equipment set to disconnect every so often, there may be something wrong with your line causing the PPP to drop, and hence IP change.

 

All of the above is assuming 2DG haven't changed the way their systems work recently.


1191 posts

Uber Geek

Trusted

  #1480291 27-Jan-2016 22:58
Send private message

Lorenceo: All of the above is assuming 2DG haven't changed the way their systems work recently.

 

With my previous ISP (no FritzBox) I had less than one disconnect a week. 2D seem to be doing it daily.





Please keep this GZ community vibrant by contributing in a constructive & respectful manner.


UHD

656 posts

Ultimate Geek
Inactive user


  #1480297 27-Jan-2016 23:38
Send private message

timmmay:

 

NonprayingMantis: Get a static ip?

 

It doesn't bother me quite that much.

 

 

 

 

/thread




16086 posts

Uber Geek

Trusted
Subscriber

  #1480360 28-Jan-2016 07:06
Send private message

UHD:

 

timmmay:

 

NonprayingMantis: Get a static ip?

 

It doesn't bother me quite that much.

 

 

 /thread

 

 

 

 

That's petty and uncalled for. I was wondering if there was some setting or technique that would reduce the frequency of changing IP address. It's not significant enough to me to spend money on a static IP, but why would that mean I wasn't still interested in learning if there was some kind of configuration that reduced the frequency of this?

 

Perhaps you should think a little harder before you post.


29023 posts

Uber Geek

Moderator
Trusted
Biddle Corp
Lifetime subscriber

  #1480369 28-Jan-2016 07:32
Send private message

IcI:

 

Lorenceo: All of the above is assuming 2DG haven't changed the way their systems work recently.

 

With my previous ISP (no FritzBox) I had less than one disconnect a week. 2D seem to be doing it daily.

 

 

There are a couple of options in the Fritz!box that will cause a nightly disconnect if enabled and a number of threads on here that discuss this. I'm assuming these are enabled on your router?

 

 


Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Menulog change colours as parent company merges with Dutch food delivery service
Posted 2-Jul-2020 07:53


Techweek2020 goes digital to make it easier for Kiwis to connect and learn
Posted 2-Jul-2020 07:48


Catalyst Cloud launches new Solutions Hub to support their kiwi Partners and Customers
Posted 2-Jul-2020 07:44


Microsoft to help New Zealand job seekers acquire new digital skills needed for the COVID-19 economy
Posted 2-Jul-2020 07:41


Hewlett Packard Enterprise introduces new HPE GreenLake cloud services
Posted 24-Jun-2020 08:07


New cloud data protection services from Hewlett Packard Enterprise
Posted 24-Jun-2020 07:58


Hewlett Packard Enterprise unveils HPE Ezmeral, new software portfolio and brand
Posted 24-Jun-2020 07:10


Apple reveals new developer technologies to foster the next generation of apps
Posted 23-Jun-2020 15:30


Poly introduces solutions for Microsoft Teams Rooms
Posted 23-Jun-2020 15:14


Lenovo launches new ThinkPad P Series mobile workstations
Posted 23-Jun-2020 09:17


Lenovo brings Linux certification to ThinkPad and ThinkStation Workstation portfolio
Posted 23-Jun-2020 08:56


Apple introduces new features for iPhone iOS14 and iPadOS 14
Posted 23-Jun-2020 08:28


Apple announces Mac transition to Apple silicon
Posted 23-Jun-2020 08:18


OPPO A72 a top mid-tier smartphone
Posted 19-Jun-2020 18:02


D-Link A/NZ launches new smart AX1500 Wi-Fi 6 Router
Posted 19-Jun-2020 15:03



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.