Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
remove gateway requirements for manual interface configuration #1520
@tomtom13, thanks for this. Please help me understand this better, I have a few questions.
Closed network is colloquial for network that is physically connected to internet by not a single device in this network is not aware how to access outside world (or any other network) because they don't know what is a gateway. Do not mistake it for private network - private network is a network with private addressing space that knows / doesn't know how to access outside networks. Security in closed networks is achieved by means that any outsider (without overtaking an equipment inside of your network) is not aware of it, can't physically send any data (because other equipment doesn't know this network exists and how to reach it) and equipment on that network can't reply back because they don't know how to send data outside of this closed network (lack of gateway).
so for example:
0.0.0.0 gateway .... a very bad idea. Newer, under any circumstances provide a phony gateway. Fist, you end up with 2 routes to outside world, second all IP timeouts and TTL actually get fucked up by this because your machine if it can't access something will try some weird trick on other gateway - behaviour is unpredictable, third if your 0.0.0.0 gateway gets higher priority than your real gateway - you machine won't be able to talk to outside world on other interfaces.
static IP configurations are not useless without gateway - it all depends what you are trying to chive. Technically speaking if we qualify usefulness of link without gateway, it's equally useless nowadays without DNS - how will you access update server if you can't resolve name to ip ? :)
Finally - the Ethernet interface is NOT technically required a IP address at all ... IPX comes to mind :)
Seriously no problem. From standpoint of NAS - Network is a first letter of NAS ... so it's rather important and I would rather move it slowly and have as many eyes watching changes / testing / criticizing. To much at stake here, and we all (specially me) make errors.