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.


timmmay

20858 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime 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
NonprayingMantis
6434 posts

Uber Geek
+1 received by user: 1528


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

Get a static ip?



timmmay

20858 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

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

NonprayingMantis: Get a static ip?

 

It doesn't bother me quite that much.


BlueOwl
87 posts

Master Geek
+1 received by user: 69

Lifetime subscriber

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

 

 




michaelmurfy
meow
13579 posts

Uber Geek
+1 received by user: 10910

Moderator
ID Verified
Trusted
Lifetime subscriber

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

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/

 

 





Michael Murphy | https://murfy.nz
Referral Links: Quic Broadband (use R122101E7CV7Q for free setup)

Are you happy with what you get from Geekzone? Please consider supporting us by subscribing.
Opinions are my own and not the views of my employer.


timmmay

20858 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime 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.


michaelmurfy
meow
13579 posts

Uber Geek
+1 received by user: 10910

Moderator
ID Verified
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.




Michael Murphy | https://murfy.nz
Referral Links: Quic Broadband (use R122101E7CV7Q for free setup)

Are you happy with what you get from Geekzone? Please consider supporting us by subscribing.
Opinions are my own and not the views of my employer.


 
 
 
 

Shop now on Samsung phones, tablets, TVs and more (affiliate link).
ANglEAUT
altered-ego
2436 posts

Uber Geek
+1 received by user: 841

Trusted
Lifetime subscriber

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


Lorenceo
904 posts

Ultimate Geek
+1 received by user: 336

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.


ANglEAUT
altered-ego
2436 posts

Uber Geek
+1 received by user: 841

Trusted
Lifetime subscriber

  #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

UHD
655 posts

Ultimate Geek
+1 received by user: 298
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


timmmay

20858 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime 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.


 
 
 

Stream your favourite shows now on Apple TV (affiliate link).
sbiddle
30853 posts

Uber Geek
+1 received by user: 9996

Retired Mod
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








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.