puppet-network
puppet-network copied to clipboard
feature request: interface RHEL based range support
please add support for interface range files for interfaces to assign multiple IP
See here for more info
https://www.ducea.com/2006/07/15/linux-tips-how-to-quickly-bind-a-range-of-ips-on-redhat-based-systems/
Not sure if this feature or some equivalence exists outside of RHEL
I was not aware of this rhel ifcfg feature. Just wanted to point out that the thing you posted is 13 years old. I was just looking at the ifcfg docs in rhel8 but they are pretty limited by now: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/configuring_and_managing_networking/index#configuring-ip-networking-with-ifcfg-files_configuring-and-managing-networking
I guess even though NetworkManager is now the preferred way of managing interfaces, the feature you mentioned is still existing with ifcfg. Probably there is more to find in the mentioned manpage in the link I posted.
Actually I just opened the rhel docs to find out if this could be done using nmcli.
All this doesnt really help I guess but in the meantime configuring simple alias ips one by one is your best bet, but you probably are aware of that already. But I get that with ip ranges containing hundreds of ips this could get tedious quickly and your hiera yaml files pretty long.
oh yeah, the code still exists in ifcfg-aliases
im not aware of any equivalent methods for assigning sometimes hundreds of ips to an interface using networkmanager, networkmanager is largely configured and maintained as a desktop user app, it lacks allot of features when it comes to server configs