What is the effect of the command?

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: [[email protected]]# ifconfig eth0 192.168.0.1 upWhat is the effect of the command?

Question:

What is the effect of the command?

Options:

The IP address 192.168.0.1 is not assigned to eth0 because the netmask is not specified.

The IP address 192.168.0.1 is assigned to eth0, but the interface is not activated until the network service is reloaded.

The IP address 192.168.0.1 is assigned to eth0, but the interface is not activated until the network service is restarted.

The IP address 192.168.0.1 is assigned to echo with the default netmask for that address, and the interface is activated immediately.

Correct Answer

The Correct Answer for this Question is

The IP address 192.168.0.1 is assigned to echo with the default netmask for that address, and the interface is activated immediately.

Leave a Comment