Which CLI command assigns the IP address 192.168.88.1/24 to interface ether2?

Study for the MTCNA Foundation Exam. Prepare with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your certification!

Multiple Choice

Which CLI command assigns the IP address 192.168.88.1/24 to interface ether2?

Explanation:
This tests how to assign a specific IPv4 address to an interface using the RouterOS CLI. To set an IP on an interface, you use the /ip address add command, providing the address in CIDR notation and the interface name. For the required IP, 192.168.88.1/24 must be assigned to ether2. The correct command is: /ip address add address=192.168.88.1/24 interface=ether2. This creates a new address entry binding that host IP to that interface within the 192.168.88.0/24 network. Why the other options don’t fit: using 192.168.88.0/24 would attempt to assign the network address, which is not used as a host IP on an interface. using set would modify an existing entry rather than create the new binding you need. using 192.168.88.2/24 assigns a different host IP instead of the requested one.

This tests how to assign a specific IPv4 address to an interface using the RouterOS CLI. To set an IP on an interface, you use the /ip address add command, providing the address in CIDR notation and the interface name.

For the required IP, 192.168.88.1/24 must be assigned to ether2. The correct command is: /ip address add address=192.168.88.1/24 interface=ether2. This creates a new address entry binding that host IP to that interface within the 192.168.88.0/24 network.

Why the other options don’t fit: using 192.168.88.0/24 would attempt to assign the network address, which is not used as a host IP on an interface. using set would modify an existing entry rather than create the new binding you need. using 192.168.88.2/24 assigns a different host IP instead of the requested one.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy