I'm using CentOS 7 and I setup a new connection with nmcli. I set the gateway but it doesn't seem it took. When I check the connection with
nmcli con show conn-name
the gateway is listed as:
gw = 0.0.0.0
I can't find how you add/modify the gateway with nmcli.
Nothing is listed in
nmcli connection modify.
Can you edit/add the gateway address with nmcli after the connection has been added?
As a work around, I edited
/etc/sysconfig/network-scripts/ifcfg-connname and added
I'm assuming you can't update the gateway address from nmcli?