200-301 exam dumps

200-301 practice question 357 of 506

Cisco Certified Network Associate. Free level, Cisco. Free question with the correct answer and a full explanation.

200-301 Question 357

Single answer

A network engineer is configuring a router to provide DHCP services for a small branch office. The DHCP server should assign IP addresses from the range 192.168.10.100 to 192.168.10.150 and set the default gateway as 192.168.10.1. Which command is necessary to configure the default gateway for DHCP clients on the router?

  1. A

    ip dhcp pool BRANCH

  2. B

    default-router 192.168.10.1

  3. C

    network 192.168.10.100 255.255.255.0

  4. D

    dns-server 8.8.8.8

  5. E

    lease 7

Show answer and explanation

Correct answer: B

Explanation

To configure a router's DHCP server to assign a default gateway to clients, the 'default-router' command must be used within the DHCP pool configuration. This ensures that clients receive the correct gateway IP address (192.168.10.1 in this case) along with their assigned IP addresses.

  • A. Incorrect.

    This command creates a DHCP pool named 'BRANCH', but it does not configure the default gateway. It is required to start the DHCP configuration but not sufficient for this task.

  • B. Correct.

    This command specifies the default gateway (192.168.10.1) for DHCP clients, which is a required parameter for DHCP configuration.

  • C. Incorrect.

    This command specifies the IP address range (subnet) for the DHCP pool but does not configure the default gateway.

  • D. Incorrect.

    This command specifies the DNS server address for DHCP clients, which is optional and not related to configuring the default gateway.

  • E. Incorrect.

    This command configures the lease time for IP addresses assigned by the DHCP server but does not set the default gateway.

Timed practice exam

Take a 200-301 practice test under exam conditions

75 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam