Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

feature request: interface RHEL based range support #349

Open
oniGino opened this issue Oct 1, 2021 · 2 comments
Open

feature request: interface RHEL based range support #349

oniGino opened this issue Oct 1, 2021 · 2 comments

Comments

@oniGino
Copy link

oniGino commented Oct 1, 2021

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

@JOJ0
Copy link

JOJ0 commented Oct 4, 2021

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.

@oniGino
Copy link
Author

oniGino commented Oct 4, 2021

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

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants