Some questions about networking in Fedora Server

Hello,
I have some questions about networking in Fedora Server:

1- Fedora Server doesn’t have any system-config-network package?

2- When I use nmcli command to configuration my NIC and set IPv4.method manual, then why I have not any NIC configuration file under the /etc/sysconfig/network-scripts/ directory?

3- In a local network, can two systems have a same UUID for NIC? Can it make any conflict?

Thank you.

Apparently there is no system-config-network package but there is NetworkManager-tui for a terminal based interface and nm-connection-editor for a graphical interface to configure network connections.

In my Fedora 33 system, new network connections are saved under /etc/NetworkManager/system-connections/ directory. Did you check that directory for saved connections?

2 Likes

What do you mean by UUID for NIC, do you mean UUID of a network connection which is shown when you run nmcli connection show? If so, I think it won’t matter if 2 different hosts on the same network have connections which have same UUID’s because UUID’s are set internally by NetworkManager and aren’t exposed to the local network (but I am not sure on this one since I didn’t test it).

1 Like

Thanks.
That file looks like:

# cat /etc/NetworkManager/system-connections/enp0s3.nmconnection
[connection]
id=enp0s3
uuid=1f58d252-e9b9-335e-a2ff-68820e7afbea
type=ethernet
autoconnect-priority=-999
interface-name=enp0s3
permissions=
timestamp=1614947542

[ethernet]
mac-address-blacklist=

[ipv4]
dns-search=
method=auto

[ipv6]
addr-gen-mode=eui64
dns-search=
method=auto

[proxy]

I mean was a file like:

NM_CONTROLLED="yes"
DEVICE=enp0s3
ONBOOT=yes
IPADDR=192.168.1.3
NETMASK=255.255.255.0
DNS1=8.8.8.8
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
PREFIX=24
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=no
NAME="System enp0s3"
UUID=3c36b8c2-334b-57c7-91b6-4401f3489c69
BOOTPROTO=none

This is the old format (ifcfg-rh) used by NetworkManager before Fedora 33. Relevant change note on Fedora Wiki:

https://fedoraproject.org/wiki/Changes/NetworkManager_keyfile_instead_of_ifcfg_rh

1 Like