Re: Wrong gateway address in default squeeze setup (10.0.2.1 should be 10.0.0.1)
On Mittwoch, 4. Januar 2012, Petter Reinholdtsen wrote:
> Hi. I just discovered that the default setup in Squeeze do not use
> the first IP address in its subnet as the gateway address. This is a
> mistake I believe we need to fix.
well, we did this is on purpose. IIRC to have to do changes in less places and
also to make upgrades easier.
> The new and extended backbone network went from 10.0.2.0/23 to
> 10.0.0.0/8 earlier this year, but the server and gateway adressess
> where not moved from 10.0.2.0/23 to 10.0.0.0/8. I believe the gateway
> should change from 10.0.2.1 to 10.0.0.1. It might be a good idea to
> move tjener from 10.0.2.2 to 10.0.0.2 too, but that is not equally
I think just moving the gateway makes things easier (and the assumption that
the gateway is the first host in a network is indeed almost always right),
but then, it also feels like doing this move only half.
> Without this, a lot of third party packages will propose the wrong
> gateway address when configured to connect to the skolelinux backbone
what packages do you have in mind? So far we didnt notice anything like
> This change will require some testing,
and changes to the documentation and translations too :(
> so I suggest we do it first
> thing after beta2 is released this weekend.
If we go with this suggestion, which I would like to discuss and think about a
bit further first...
> As part of this fix, I
> plan to move the network configuration function from
> debian-edu-install to debian-edu-config, to get all the subnet related
> code in one package.
...I'm rather a lot against this change too. It's really not needed and has
quite some potential of additional breakage.
Could you imagine not doing this part of the change?