Alex writes:
« HTML content follows » Hi,I have a fedora36 system with a single static IP. I'd now like to add a /29 to it. Ideally, I'd like to create a bridge and associate all IPs with that.It used to be that I could edit the files in /etc/sysconfig/network-scripts, but I know I can't do that any longer. Now I have to use nmcli, but I was hoping someone could guide me through that process.It appears I need to create a profile, then activate it? But I want all 6 usable addresses from the /29 and the one /32 address to be active at the same time, much like we used to do with eth0 and eth0:0, eth0:1, etc.I've done quite a bit of reading of nmcli tutorials, and none seem to discuss how to not only add a /29 (+ipv4.addresses ?) but also have it active at the same time as the /32 I already have.
Network interfaces don't have entire subnets assigned to them. They have discrete IP addresses assigned to them.
What you /can/ do, though, is assign every one of the five usable IP addresses from your /29, one by one, to the same network interface.
Just follow anything you find in Google regarding adding an additional IP address to your existing network interface, and just repeat the same process, individually, for each IP address.
You will note that, as part of doing that, one of the things you will configure is each IP's netmask. That's going to be your entire /29.
Attachment:
pgpIo3R0t2wup.pgp
Description: PGP signature
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure