For When You Can't Have The Real Thing
[ start | index | login ]
start > Fedora > Server > 28 > Example nmcli Commands

Example nmcli Commands

Created by dave. Last edited by dave, one year and 111 days ago. Viewed 981 times. #7
[diff] [history] [edit] [rdf]




Some recently discovered examples:

# nmcli con

# nmcli con show enp0s25 | grep dns

# nmcli con modify "System ens192" ipv4.dhcp-hostname "wiki2"

# nmcli con modify enp0s25 ipv4.dns-search klondike.xdroop.local
# nmcli con mod em1 ipv4.dns-search "domain1.local,domain2.local,domain3.local"

# nmcli con modify enp0s25 ipv4.dns

# nmcli con add con-name ens1-static ifname ens1 type ethernet ip4

# nmcli con add type vlan ifname enp4s0.2023 dev enp4s0 id 2023
# nmcli con delete vlan-enp4s0.2023

# nmcli con mod enp9s0 ipv4.method manual ipv4.addresses
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt