Page 1 of 1

Your Oracle Linux server has a network interface eth0 but the ifcfg-eth0 file is missing from the /etc/sysconfig/network

Posted: Sun Jun 11, 2023 3:56 pm
by answerhappygod
Your Oracle Linux server has a network interface eth0 but the ifcfg-eth0 file is missing from the /etc/sysconfig/network-scripts directly.To set the IP address for the interface, you run this command as root:[root@station1]# ifconfig eth0 192.168.0.1 upWhat is the effect of the command?

A. The IP address 192.168.0.1 is not assigned to eth0 because the netmask is not specified.
B. The IP address 192.168.0.1 is assigned to eth0, but the interface is not activated until the network service is reloaded.
C. The IP address 192.168.0.1 is assigned to eth0, but the interface is not activated until the network service is restarted.
D. The IP address 192.168.0.1 is assigned to echo with the default netmask for that address, and the interface is activated immediately.