exam questions

Exam 350-401 All Questions

View all questions & answers for the 350-401 exam

Exam 350-401 topic 1 question 156 discussion

Actual exam question from Cisco's 350-401
Question #: 156
Topic #: 1
[All 350-401 Questions]


Refer to the exhibit. Which command must be applied to R2 for an OSPF neighborship to form?

  • A. network 20.1.1.2 255.255.0.0 area 0
  • B. network 20.1.1.2 0.0.0.0 area 0
  • C. network 20.1.1.2 255.255.255.255 area 0
  • D. network 20.1.1.2 0.0.255.255 area 0
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
pyrokar
Highly Voted 2 years, 11 months ago
This question is stupid. B, C and D all work. Tested on two 1941 routers running on IOS 15.1. This is due to the fact the network command just specifies interfaces that run OSPF and due to the wildcards all three options have 20.1.1.2 inside their range. B is a /32 and simpoly the IP C will be automaticly converted to 0.0.0.0 255.255.255.255 D will be automaticly converted to 20.1.0.0 0.0.255.255
upvoted 23 times
...
sheki2005
Most Recent 4 months, 3 weeks ago
Selected Answer: B
I think /32 is more specific compared to the rest
upvoted 1 times
zbeugene7
3 weeks, 4 days ago
I think so to, but for a diffirent reason, other three have incorrect mask for corresponfing subnet
upvoted 1 times
...
...
AbdullahMohammad251
10 months ago
Selected Answer: B
For OSPF routers to successfully establish a neighbor relationship, their directly connected interfaces must be in the same OSPF area. In this case, you only need to advertise the network 20.1.1.2/32 which corresponds to the interface FastEthernet 1/0, in the same area (Area 0) as Router R1. The command to use is: network 20.1.1.2 0.0.0.0 area 0
upvoted 3 times
...
[Removed]
1 year ago
Selected Answer: B
B is correct
upvoted 1 times
...
[Removed]
1 year, 11 months ago
Selected Answer: B
As stated by others, B, C, and D all work, but the question is asking to just form a neighborship. B is The one that specifically targets that directive and no more.
upvoted 2 times
...
Asymptote
2 years, 7 months ago
Selected Answer: B
From the security prospective, advertising just enough network is a good practise. B definitely the best among.
upvoted 4 times
...
Pudu_vlad
2 years, 9 months ago
B is correct
upvoted 2 times
...
KZM
2 years, 9 months ago
"B", "C", and "D" will work, I think. But "B" is more specific and best practice.
upvoted 1 times
...
tara38
3 years, 2 months ago
Selected Answer: B
Tested in GNS3 as seen below R2(config)#router ospf 2 R2(config-router)#network 20.1.1.2 0.0.0.0 area 0 R2(config-router)# *Mar 1 00:10:02.131: %OSPF-5-ADJCHG: Process 2, Nbr 1.1.1.1 on FastEthernet0/0 from LOADING to FULL, Loading Done R2(config-router)#end *Mar 1 00:10:07.555: %SYS-5-CONFIG_I: Configured from console by console R2#show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface 1.1.1.1 1 FULL/DR 00:00:38 20.1.1.1 FastEthernet0/0 R2# So B is correct!
upvoted 4 times
...
Eddgar0
3 years, 2 months ago
Selected Answer: B
Given answer is corrrect
upvoted 1 times
...
Mdorgham
3 years, 3 months ago
Answer should be C. Regardless on using Wildcard mask or not ,the subnets should match for neighbors to come up
upvoted 1 times
timtgh
3 years ago
No. The network command has nothing to do with the subnet matching. The IP addresses are both on the same subnet (20.1.0.0/24), so that requirement is met. Wildcard masks are a separate topic and have no effect on that rule. The wildcard masks on two routers don't have to match, as long as the result of the mask causes the correct interfaces to be included (on both sides).
upvoted 5 times
timtgh
3 years ago
Typo correction: the subnet is 20.1.1.0/24.
upvoted 1 times
...
...
...
maymaythar
3 years, 5 months ago
Selected Answer: B
Due to wildcard masks that OSPF use to be more specific which allow having OSPF hello packet to be synchronised between two routers
upvoted 2 times
...
Carl1999
3 years, 7 months ago
C. The network mask must exactly match the neighbor router in order to establish an OSPF neighbor.
upvoted 2 times
OhBee
3 years, 5 months ago
But OSPF uses wildcard masks, so 0.0.0.0 is more specific than 255.255.255.255. So B is the answer :)
upvoted 3 times
...
timtgh
3 years ago
No. The IP subnet (of the interface IP address) is what has to match. That has nothing to do with the wildcard mask in the "network" command. The routers don't see each other's wildcard mask, and they are not compared, and there is absolutely no rule saying they have to match.
upvoted 1 times
...
...
kthekillerc
3 years, 9 months ago
Provided answer is correct
upvoted 2 times
...
rpidcock
3 years, 9 months ago
I agree the B is correct. Because 20.1.1.2 is an individual IP vs. a /24 subnet like 21.1.1.0, then it would be appropriate to have an exact match wildcard mask (i.e. 0.0.0.0).
upvoted 3 times
...
[Removed]
4 years, 1 month ago
The given answer is correct
upvoted 2 times
...
Chkoupipi2
4 years, 1 month ago
I think it's more D isn't it ?
upvoted 1 times
AliMo123
4 years, 1 month ago
0.0.0.0 is more specific than 0.0.255.255
upvoted 2 times
...
AliMo123
4 years, 1 month ago
The network 20.0.0.0 0.0.0.255 area (” command on R2 did not cover the IP address of Fal/1 interface of R2 so OSPF did not run on this interface. Therefore we have to use the command “network 20.1.1.2 0.0.255.255 area 0” to turn on OSPF on this interface. Note: The command “network 20.1.1.2 0.0.255.255 area 0” can be used too so this answer is also correct but answer B is the best answer here.
upvoted 4 times
timtgh
3 years ago
If you use 0.0.255.255 for the mask, that is /16, so you would just put 20.1.0.0 for the address. Putting 20.1.1.2 with a /16 mask doesn't make sense. But it's harmless, and most Cisco routers will automatically zero out the unneeded bits, and change it to 20.1.0.0 in the running config.
upvoted 3 times
...
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...