Hi, > >> Typically NAME and DEVICE are the name of the device, like enp4s6, > >> but they don't exist in this config. Is that what is missing? > > > > Doubtful. > > > > I have a system with a ifcfg-enp0s3 file and NAME=LAN-1 and > > everthing works just fine. > > But "DEVICE=..." would have to be ""DEVICE=enp4s6" if the NIC is > "enp4s6", especially if there's no "HWADDR=...". I've added DEVICE=enp4s6 > If you set "DEVICE=enp4s6" in "ifcfg-foo", "enp4s6" will be configured > and brought up. The ifcfg file name isn't used. > > If you set "NAME=bar", you can run "if{up,down} bar" and "nmcli <cmd> > ... bar", but "ip {l,a,r}" will display "enp4s6". > > If I have "enp4s6", I set "DEVICE=enp4s6" and "NAME=enp4s6" in > "ifcfg-enp4s6", so that everything corresponds and "ip a sh enp4s6" > and "nmcli c sh enp4s6" are possible and correspond to the same NIC. I've also now added NAME=enp4s6, although I realize none of these changes are likely to be effective here. > Going back to OP's original query, do you have more than one NIC? Do > their ifcfg files both have "DEFROUTE=yes"? What's the output of "ip > r" (or "route") before you run "route add default gw 192.168.9.1 dev > enp4s6". No, prior to running the network config, the /etc/sysconfig/network-scripts directory was empty. After running it, only that one file with interface info was created. There is another interface on the system, but it is not configured. I wish this was better documented, but it seems to change with every release, even slightly. _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx