NMCLI

From Michael's Information Zone
Revision as of 14:54, 10 November 2019 by Michael.mast (talk | contribs) (Created page with "==Create Bridge Interface== <ref>https://www.cyberciti.biz/faq/how-to-add-network-bridge-with-nmcli-networkmanager-on-linux/</ref> <pre> [root@natasha ~]# nmcli con add type b...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Create Bridge Interface

[1]

[root@natasha ~]# nmcli con add type bridge ifname br0
[root@natasha ~]# nmcli con add type bridge-slave ifname eno1 master br0
[root@natasha ~]# nmcli con edit bridge-br0
nmcli> set ipv4.addresses 192.168.11.120/24
nmcli> set ipv4.gateway 192.168.11.1
nmcli> save
nmcli> quit
[root@natasha ~]# nmcli con up br0