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.




16206 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?



16206 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
9448 posts

Uber Geek

Moderator
Trusted
Lifetime subscriber



16206 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
9448 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.




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


1211 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




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


29119 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




News »

Freeview On Demand app launches on Sony Android TVs
Posted 6-Aug-2020 13:35


UFB hits more than one million connections
Posted 6-Aug-2020 09:42


D-Link A/NZ extends COVR Wi-Fi EasyMesh System series with new three-pack
Posted 4-Aug-2020 15:01


New Zealand software Rfider tracks coffee from Colombia all the way to New Zealand businesses
Posted 3-Aug-2020 10:35


Logitech G launches Pro X Wireless gaming headset
Posted 3-Aug-2020 10:21


Sony Alpha 7S III provides supreme imaging performance
Posted 3-Aug-2020 10:11


Sony introduces first CFexpress Type A memory card
Posted 3-Aug-2020 10:05


Marsello acquires Goody consolidating online and in-store marketing position
Posted 30-Jul-2020 16:26


Fonterra first major customer for Microsoft's New Zealand datacentre
Posted 30-Jul-2020 08:07


Everything we learnt at the IBM Cloud Forum 2020
Posted 29-Jul-2020 14:45


Dropbox launches native HelloSign workflow and data residency in Australia
Posted 29-Jul-2020 12:48


Spark launches 5G in Palmerston North
Posted 29-Jul-2020 09:50


Lenovo brings speed and smarter features to new 5G mobile gaming phone
Posted 28-Jul-2020 22:00


Withings raises $60 million to enable bridge between patients and healthcare
Posted 28-Jul-2020 21:51


QNAP integrates Catalyst Cloud Object Storage into Hybrid Backup solution
Posted 28-Jul-2020 21:40



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.