[FIX] networking – Configure static IP scope via nmcli

Question

I’m trying to setup a network bridge on a server using nmcli.
The bridge should have multiple configured static IP addresses with a scope link.

This is easily done via ip command like so: ip addr add 192.168.0.150/24 dev br0 scope link

But I can’t seem to find how to do this using nmcli only?
Adding a static IP goes like this:

nmcli connection modify br0 ipv4.addresses '192.168.0.150/24'

But how should I configure the scope here?

Click Here to see answer

0
payam 7 months 2022-03-15T17:14:46+00:00 0 Answers 3 views

Leave an answer

By answering, you agree to the Terms of Service and Privacy Policy.