Score:0

Configure static IP scope via nmcli

cn flag

Like it was written here by MCFurry I haven't been able to find a way to configure scope link using nmcli.

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?

Has anybody found a way?

PersianGulf avatar
cn flag
According to your interface name, may be you have a bridge, Before you, a program set a bridge, such as firewall, or `Virtualbox`, or `VmWare Workstation`. Refer to them.
elysch avatar
cn flag
In fact you can create by hand the bridge between network namespaces. The question is about `scope link` in `nmcli`. Not sure how `VMWare` or `Virtualbox` guys could help.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.