[mythtv-users] OT: changing network addresses (was: Frontend can't connect to database)

Simon Hobson linux at thehobsons.co.uk
Thu Apr 9 07:44:28 UTC 2020


Richard Shaw <hobbes1069 at gmail.com> wrote:

> A couple of months ago I upgraded my router (to a Ubiquity UGS) which changed the default IP network from 192.168.0.x to 192.168.1.x, and I've been correcting all sorts of crap since then, e.g. nfs exports... Blah...

Too late to help now, but you could just change the new router to match the old one - even the cheapest crappiest ISP supplied router can generally* have any choice of 192.168.nnn subnet, and the UGS is far from being a bit of cheap crap. It's also worth changing away from using 192.168.0 and 192.168.1 if you ever move things between networks.
I usually use an RNG (/dev/urandom) to pick a random number for me.

Several reasons ...

1) It gets you away from the mindset that "all networks are 192.168.0.nnn or 192.168.1.nnn ;-) Also helps get away from the mindset that 192.168.1.0 and 192.168.0.255 cannot ever be valid IP addresses - you may need to think about that one for a minute, Netgear obviously didn't some years ago.

2) I've seen problems at work where some machines (Windoze of course) struggled when moving between a home network on 192.168.1.nnn and the work network on 192.168.1.nnn. Almost certainly fixed by now, but having a different subnet avoids those problems.

3) It confuses some people visiting your network (e.g. guests) - see 1 above :D

4) While most of us never will, if you ever want to create or use VPNs, it's a right PITA if the subnets are the same and all sorts of stuff breaks.

You may get the idea that I have a certain amount of disdain for crappy router manufacturers that artificially restrict their products in interesting ways - whether by design, or by ignorance, or just plain sloppy coding.

* Exception I know of is the crappy router provided by PlusNet. The DHCP service doesn't work if the subnet is changed - at least with the firmware mine is running.


Simon



More information about the mythtv-users mailing list