PrepAway - Latest Free Exam Questions & Answers

Which command to find out the IP address assigned to the eth1 interface?

You are working on a server that has multiple ethernet network interfaces, and you wish to find out the IP address assigned to the eth1 interface.

Which of the following commands will print the necessary information?

A.
ipconfig /dev/eth1

B.
ethconfig -d eth1

C.
ifconfig eth1

D.
prntconf eth1

Explanation/Reference:
From the man pages:
       ifconfig – configure a network interface
       ifconfig [-v] [-a] [-s] [interface]


Leave a Reply