Network Helper (beta)
This new feature will automatically create a static networking configuration, for all of the IPv4 addresses assigned to the Linode (both public and private), and place the config onto your filesystem at boot time.
How does it work?
When enabled, each time you boot, if we can reliably determine your filesystem's distribution and version, we'll deposit a static networking configuration for all of your public and private IPs onto your filesystem. It also places a correct /etc/resolv.conf onto the filesystem.
IPv6 is not handled by this, since all Linodes get their native IPv6 address via SLAAC.
How is this helpful?
This new feature is very helpful for a number of reasons:
* Previously, adding a public IP or a local IP required you to manually switch from a DHCP-based networking config to a static config, something that can be error-prone and frustrating to do. Network Helper does it all for you.
Creating a new deploy and adding a local IP required manual intervention. Now you can deploy and have static networking config right out of the box - for all of your IPs.
This will 'heal' a Linode's networking config if you're deploying it from a copy of another Linode that has different IPs configured on it.
Cloning, restoring a backup, deploying from a Linode Images template, moving a Linode from one DC to another, or if IPs are changed - on first boot the networking config will be corrected.
This will 'heal' a Linode's networking config if you screw it up. In fact, if enabled, this will stomp over whatever config may be on your filesystem, on each boot.
What if I edit the generated file?
If the helper is enabled, say goodbye to your changes on the next boot. We do save a copy of: 1) the original version file the first time the helper ran, and 2) the last version of the file. These are saved to /path/to/.filename-linode-{orig,last}.
If you're doing advanced networking stuff, you'll likely want to turn the network helper off.
Where do I turn this on/off?
Turn it on or off in each Configuration Profile. Under each Linode Configuration Profile (the thing you select to boot), you'll notice a new helper labeled "Auto-configure Networking". When enabled, the helper runs. When disabled, well, it doesn't.
Does the Network Helper default to ON or OFF, or what?
It defaults to OFF, for everybody. This retains existing, expected behavior. After the beta ends, NEW customers will have it default to ON. You can change the default preference under a new Account Settings tab -
How can I help you guys?
We could really use your testing and feedback! Turn it on, reboot, and life should be better. Let us know how it goes.
Our Network Helper beta guide is located https://www.linode.com/docs/platform/network-helper
Thanks and enjoy!
-Chris
12 Replies
At the very least, would be cool if the criteria were listed, so that folks trying to figure out why it didn't like their system would have some things to go off of.
- Les
Thanks,
-Chris
Feature request: for Linodes with multiple IPs, could it be possible to give Network Helper some guidance as to what should be the default IP? I've been using one IP on my Linode for a decade. I recently added one to have a second SSL web server, and Network Manager makes the newer IP the default (…for outbound connection source IP…). This means that various hosts scattered across the Internet which have firewall rules trusting my original address now won't let me in
Let me know if I can provide more information or testing to help out.
Thanks,
gowen
Have just started using it, and have not seen any problems yet.
One suggestion - it might be useful to have an option for the hostname be auto configured based on the linode label. The hostname is another one of those 'manual' jobs when cloning etc. This would work perfectly for us, but not sure how other users' linode-labels and hostnames correlate.
@sosh:
… not sure how other users' linode-labels and hostnames correlate.
For us, they don't correlate at all.
Is there a way to set the distribution manually or spoof the mechanism so that Network Manager will at least run?
If you have one IPv4/6, you're already good to go. Otherwise:
IPv4 -
IPv6 -
What should I expect from Network Helper?
Thanks.
Lester
Network Helper is resetting your resolvers. Sounds like you have a handle on things so you may want to turn it off.
@rfeliciano:
Lester,
Network Helper is resetting your resolvers. Sounds like you have a handle on things so you may want to turn it off.
Hi. No, I had it off for quite a while, and I have been resetting the resolvers for quite some time.
Thanks for your reply.
Lester
@ingber:
@rfeliciano:Lester,
Network Helper is resetting your resolvers. Sounds like you have a handle on things so you may want to turn it off.
Hi. No, I had it off for quite a while, and I have been resetting the resolvers for quite some time.
Thanks for your reply.
Lester
Then it might be DHCP. You should be able to set the file as immutable to prevent it from being changed.