Which of the following is a valid use of the network command in OSPF?

Group of answer choices

network 10.10.0.0 area 0

network 10.10.0.0 255.255.0.0 area 0

network 10.10.0.0 0.0.255.255 area 0

network 10.10.0.0

1 answer

In OSPF (Open Shortest Path First), the network command is used to specify which interfaces will participate in OSPF and the area to which those interfaces belong. The correct format includes the network address, optionally the wildcard mask, and the area.

Based on the provided options, the valid use of the network command in OSPF would be:

  1. network 10.10.0.0 area 0: This is valid, but it assumes a default wildcard mask of 0.0.255.255, which means it would encompass all addresses from 10.10.0.0 to 10.10.255.255.

  2. network 10.10.0.0 255.255.0.0 area 0: This is not valid because the mask should be in the form of a wildcard mask, not a subnet mask.

  3. network 10.10.0.0 0.0.255.255 area 0: This is valid. The wildcard mask indicates that any host in the 10.10.0.0/16 range (meaning addresses from 10.10.0.0 to 10.10.255.255) would be included in area 0.

  4. network 10.10.0.0: This is not valid because it does not specify the area.

Therefore, the correct answers for valid OSPF network commands from your options are:

  • network 10.10.0.0 area 0
  • network 10.10.0.0 0.0.255.255 area 0