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.


13993 posts

Uber Geek
+1 received by user: 2498

Trusted
Subscriber

Topic # 191128 25-Jan-2016 08:05
One person supports this post
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.





AWS Certified Solution Architect Professional, Sysop Administrator Associate, and Developer Associate
TOGAF certified enterprise architect
Professional photographer


Create new topic
6434 posts

Uber Geek
+1 received by user: 1571


  Reply # 1478028 25-Jan-2016 08:13
4 people support this post
Send private message

Get a static ip?



13993 posts

Uber Geek
+1 received by user: 2498

Trusted
Subscriber

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

NonprayingMantis: Get a static ip?

 

It doesn't bother me quite that much.





AWS Certified Solution Architect Professional, Sysop Administrator Associate, and Developer Associate
TOGAF certified enterprise architect
Professional photographer


17 posts

Geek
+1 received by user: 6


  Reply # 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.

 

 


Meow
7538 posts

Uber Geek
+1 received by user: 3646

Moderator
Trusted
Lifetime subscriber

  Reply # 1478045 25-Jan-2016 09:17
Send private message


13993 posts

Uber Geek
+1 received by user: 2498

Trusted
Subscriber

  Reply # 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.





AWS Certified Solution Architect Professional, Sysop Administrator Associate, and Developer Associate
TOGAF certified enterprise architect
Professional photographer


Meow
7538 posts

Uber Geek
+1 received by user: 3646

Moderator
Trusted
Lifetime subscriber

  Reply # 1478167 25-Jan-2016 12:34
One person supports this post
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.




IcI

690 posts

Ultimate Geek
+1 received by user: 151

Trusted

  Reply # 1479402 26-Jan-2016 22:00
One person supports this post
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.


796 posts

Ultimate Geek
+1 received by user: 262

Trusted

  Reply # 1479765 27-Jan-2016 12:18
One person supports this post
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.


IcI

690 posts

Ultimate Geek
+1 received by user: 151

Trusted

  Reply # 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.


UHD

622 posts

Ultimate Geek
+1 received by user: 280


  Reply # 1480297 27-Jan-2016 23:38
2 people support this post
Send private message

timmmay:

 

NonprayingMantis: Get a static ip?

 

It doesn't bother me quite that much.

 

 

 

 

/thread




13993 posts

Uber Geek
+1 received by user: 2498

Trusted
Subscriber

  Reply # 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.





AWS Certified Solution Architect Professional, Sysop Administrator Associate, and Developer Associate
TOGAF certified enterprise architect
Professional photographer


26636 posts

Uber Geek
+1 received by user: 6141

Moderator
Trusted
Biddle Corp
Lifetime subscriber

  Reply # 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 »

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 »

Hawaiki Transpacific cable ready-for-service
Posted 20-Jul-2018 11:29


Microsoft Dynamics 365 Business Central launches
Posted 10-Jul-2018 10:40


Spark completes first milestone in voice platform upgrade
Posted 10-Jul-2018 09:36


Microsoft ices heated developers
Posted 6-Jul-2018 20:16


PB Technologies charged for its extended warranties and warned for bait advertising
Posted 3-Jul-2018 15:45


Almost 20,000 people claim credits from Spark
Posted 29-Jun-2018 10:40


Cove sells NZ's first insurance policy via chatbot
Posted 25-Jun-2018 10:04


N4L helping TAKA Trust bridge the digital divide for Lower Hutt students
Posted 18-Jun-2018 13:08


Winners Announced for 2018 CIO Awards
Posted 18-Jun-2018 13:03


Logitech Rally sets new standard for USB-connected video conference cameras
Posted 18-Jun-2018 09:27


Russell Stanners steps down as Vodafone NZ CEO
Posted 12-Jun-2018 09:13


Intergen recognised as 2018 Microsoft Country Partner of the Year for New Zealand
Posted 12-Jun-2018 08:00


Finalists Announced For Microsoft NZ Partner Awards
Posted 6-Jun-2018 15:12


Vocus Group and Vodafone announce joint venture to accelerate fibre innovation
Posted 5-Jun-2018 10:52


Kogan.com to launch Kogan Mobile in New Zealand
Posted 4-Jun-2018 14:34



Geekzone Live »

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



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.