Fortinet white logo
Fortinet white logo

KVM Administration Guide

NetworkManager

NetworkManager

NetworkManager is the default tool in RHEL 8 for managing network service. For a best practice setup, you will configure NetworkManager to ignore the interfaces being configured for use with the FortiGate-VM:

[root@rhel-tiger-14-6 ~]# touch /etc/NetworkManager/conf.d/10-tiger.conf

[root@rhel-tiger-14-6 ~]# chown root:root /etc/NetworkManager/conf.d/10-tiger.conf

[root@rhel-tiger-14-6 ~]# chmod 644 /etc/NetworkManager/conf.d/10-tiger.conf

[root@rhel-tiger-14-6 ~]# cat /etc/NetworkManager/conf.d/10-tiger.conf
[keyfile]
unmanaged-devices=interface-name:ens4f0;interface-name:ens4f1;interface-name:ens4f2;interface-name:ens4f3;interface-name:ens5f0;interface-name:ens5f1;interface-name:ens5f2;interface-name:ens5f3

[root@rhel-tiger-14-6 ~]# systemctl reload NetworkManager

[root@rhel-tiger-14-6 ~]# nmcli device status
DEVICE      TYPE      STATE                   CONNECTION 
eno3        ethernet  connected               eno3       
virbr0      bridge    connected (externally)  virbr0     
eno1        ethernet  unavailable             --         
eno2        ethernet  unavailable             --         
eno4        ethernet  unavailable             --         
ens1f0      ethernet  unavailable             --         
ens1f1      ethernet  unavailable             --         
ens2f0      ethernet  unavailable             --         
ens2f1      ethernet  unavailable             --         
ens4f0      ethernet  unmanaged               --         
ens4f1      ethernet  unmanaged               --        
ens4f2      ethernet  unmanaged               --        
ens4f3      ethernet  unmanaged               --        
ens5f0      ethernet  unmanaged               --        
ens5f1      ethernet  unmanaged               --        
ens5f2      ethernet  unmanaged               --        
ens5f3      ethernet  unmanaged               --        
lo          loopback  unmanaged               --         
virbr0-nic  tun       unmanaged               -- 

NetworkManager

NetworkManager

NetworkManager is the default tool in RHEL 8 for managing network service. For a best practice setup, you will configure NetworkManager to ignore the interfaces being configured for use with the FortiGate-VM:

[root@rhel-tiger-14-6 ~]# touch /etc/NetworkManager/conf.d/10-tiger.conf

[root@rhel-tiger-14-6 ~]# chown root:root /etc/NetworkManager/conf.d/10-tiger.conf

[root@rhel-tiger-14-6 ~]# chmod 644 /etc/NetworkManager/conf.d/10-tiger.conf

[root@rhel-tiger-14-6 ~]# cat /etc/NetworkManager/conf.d/10-tiger.conf
[keyfile]
unmanaged-devices=interface-name:ens4f0;interface-name:ens4f1;interface-name:ens4f2;interface-name:ens4f3;interface-name:ens5f0;interface-name:ens5f1;interface-name:ens5f2;interface-name:ens5f3

[root@rhel-tiger-14-6 ~]# systemctl reload NetworkManager

[root@rhel-tiger-14-6 ~]# nmcli device status
DEVICE      TYPE      STATE                   CONNECTION 
eno3        ethernet  connected               eno3       
virbr0      bridge    connected (externally)  virbr0     
eno1        ethernet  unavailable             --         
eno2        ethernet  unavailable             --         
eno4        ethernet  unavailable             --         
ens1f0      ethernet  unavailable             --         
ens1f1      ethernet  unavailable             --         
ens2f0      ethernet  unavailable             --         
ens2f1      ethernet  unavailable             --         
ens4f0      ethernet  unmanaged               --         
ens4f1      ethernet  unmanaged               --        
ens4f2      ethernet  unmanaged               --        
ens4f3      ethernet  unmanaged               --        
ens5f0      ethernet  unmanaged               --        
ens5f1      ethernet  unmanaged               --        
ens5f2      ethernet  unmanaged               --        
ens5f3      ethernet  unmanaged               --        
lo          loopback  unmanaged               --         
virbr0-nic  tun       unmanaged               --