Configure eBGP Neighborship and Network Advertisement

Answer Correct answer: D — Configure Router A with local AS 65001, neighbor 10.0.1.2 remote-as 65002, and network 10.0.2.0 255.255.255.0.

Refer to the exhibit. exhibit

  1. router bgp 65002 neighbor 10.0.1.2 remote-as 65002 network 10.0.2.0 255.255.255.0
  2. router bgp 65001 neighbor 10.0.1.2 remote-as 65002 redistribute static
  3. router bgp 65001 neighbor 10.0.1.2 remote-as 65002 network 10.0.1.0 255.255.255.0
  4. router bgp 65001 neighbor 10.0.1.2 remote-as 65002 network 10.0.2.0 255.255.255.0 Correct Answer

Community Votes

D
85%
A
15%

85% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.

Community Insight

Testing eBGP configuration requires matching the local AS to the configured router and the remote AS to the neighbor, while advertising the correct connected network.

This page resolves a tricky eBGP configuration question requiring the correct local AS, remote AS, neighbor IP, and network statement. It establishes why Option D is the correct configuration on Router A.

Choosing Option A because it advertises the correct network, but it uses the wrong local AS (65002) and wrong remote AS (65002), which would not form an eBGP peering.

Community Discussion (33 comments)

Nmk3216 👍 1 Selected: A
Non of the answer are correct. The correct answer should be as follows: router bgp 65002 neighbor 10.0.1.2 remote-as 65001 network 10.0.2.0 mask 255.255.255.0
studyguy42 👍 2 Selected: A
Considering that all of them are incorrect and there is no actual question in this one, the closest to correct is A: router bgp 65002 neighbor 10.0.1.2 remote-as 65002 network 10.0.2.0 255.255.255.0 Should be: router bgp 65002 neighbor 10.0.1.2 remote-as 65001 network 10.0.2.0 255.255.255.0
2b0c385 👍 1 Selected: A
Router A (ASN 65002) está configurando como vecino a Router B (10.0.1.2) con ASN 65001 (correcto). La red que queremos anunciar (10.0.2.0/24) sí está directamente conectada a Router A. El comando network 10.0.2.0 255.255.255.0 es válido y funcional, ya que existe en su RIB.
abdulwares123 👍 3 Selected: D
I am sure completely all options are wrong because we should login in router A and type the following commands for advertise the mentioned network: R-A(config)# router bgp 65002 R-A(config-router)# neighbor 10.0.1.2 remote-as 65001 R-A(config-router)# network 10.0.2.0 mask 255.255.255.0 R-A(config-router)# exit
GreaterZen 👍 1 Selected: B
For any future pass byers, please refer to KZM post below: " KZM 11 months, 2 weeks ago Router A (ASN: 65001) "10.0.1.1" <-----------------> "10.0.1.2" Router B (ASN: 65002) Router A G0/1 "10.0.2.1/24" Refer to the exhibit. An engineer must configure an eBGP neighborship to Router B on Router A. The network that is connected to G0/1 on Router A must be advertised to Router B. Which configuration should be applied? A. router bgp 65001 neighbor 10.0.1.2 remote-as 65002 network 10.0.1.0 255.255.255.0 B. router bgp 65001 neighbor 10.0.1.2 remote-as 65002 network 10.0.2.0 255.255.255.0 C. router bgp 65001 neighbor 10.0.1.2 remote-as 65002 redistribute static D. router bgp 65002 neighbor 10.0.1.2 remote-as 65002 network 10.0.2.0 255.255.255.0 Answer: C https://cloudeducation.com.hk/exam/350-401.pdf " Per KZM's link question 26 the diagram is the same and it has the actual question. For connivence KZM posted the question. Nonetheless, the answer there is C. However, exam topics answer "B" oddly looks the same. Therefore, shouldn't it be B?
chmacnp 👍 1 Selected: A
to configure router A, you must enter AS 65002. But the remote-as cannot also be 65002 for an eBGP neighbourship. whats the point, this is all wrong
Tim1992 👍 7
The diagram is wrong. Router A resides in AS 65001. Router B resides in AS 65002. Question: An engineer must configure an eBGP neighborship to Router B on Router A. The network that is connected to GO/1 on Router A must be advertised to Router B. Which configuration should be applied? Answer is D: router bgp 65001 neighbor 10.0.1.2 remote-as 65002 network 10.0.2.0 255.255.255.0
Rbrahmi 👍 1
Even D is not correct regarding the ASN mentioned, the network command is also not correct, we need mask key word here
Mohaned990_go 👍 2 Selected: C
Answer c
Shri_Fcb10 👍 1
is it a typo error? AS 65001 neighbor should be having 10.0.1.1
KZM 👍 2 Selected: B
The command should like that; router bgp 65001 neighbor 10.0.1.2 remote-as 65002 network 10.0.2.0 mask 255.255.255.0 If "mask" is missing in the network command, option D is incorrect. If it is not a typo, the answer may be B.
KZM 👍 2
Router A (ASN: 65001) "10.0.1.1" <-----------------> "10.0.1.2" Router B (ASN: 65002) Router A G0/1 "10.0.2.1/24" Refer to the exhibit. An engineer must configure an eBGP neighborship to Router B on Router A. The network that is connected to G0/1 on Router A must be advertised to Router B. Which configuration should be applied? A. router bgp 65001 neighbor 10.0.1.2 remote-as 65002 network 10.0.1.0 255.255.255.0 B. router bgp 65001 neighbor 10.0.1.2 remote-as 65002 network 10.0.2.0 255.255.255.0 C. router bgp 65001 neighbor 10.0.1.2 remote-as 65002 redistribute static D. router bgp 65002 neighbor 10.0.1.2 remote-as 65002 network 10.0.2.0 255.255.255.0 Answer: C https://cloudeducation.com.hk/exam/350-401.pdf
matass_md 👍 2
relax , all answers are wrong . When advertising a network in bgp syntax is: #(router-bgp)# network x.x.x.x mask y.y.y.y
M2013 👍 1
The questin is confusing me. as I understand the configuration should be done on router A not B. an engineer must configure a BGP neighborship to Router B on router A. the network that is connected to G0/1 on router A must be advertised to router B. which configuration should be applied
TroyMcLure 👍 2
The AS numbers are clearly inverted. Router A belongs to AS 65001 and Router B belongs to AS 65002. Considering that, the best option is D.
TroyMcLure 👍 4 Selected: D
The wording of the question is mising. It should have been as follows: "An engineer must configure an eBGP neighborship to Router B on Router A. The network that is connected to G0/1 on Router A must be advertised to Router B. Which configuration should be applied?" That makes D the correct answer, even though the keyword "mask" is missing from the network statement.
HarwinderSekhon 👍 3
remote as IP is wrong. D is not correct either
Leoveil 👍 1
let assume that Router A is AS65001(because .1 on interface 0/0 and g0/1) and Router B in AS65002, answer B would be correct if redistribute connected rather than static
Papins 👍 1
what is the question? the provided answer also is wrong? it could be C if my understanding on the diagram provided is correct :)
Papins 👍 2
sory.. i misread it C also is wrong... none of them is correct.
SAMAKEMM 👍 2
none of them is correct
owenshinobi 👍 3
What the question !!! No question, no correct answer.
Dataset 👍 2
Hi ! Admin, please fix the diagram... Regards
Shansab 👍 1
The diagram is not correct
MJane 👍 1
is also missing the mask keyword, so ABD not correct as of now
bendarkel 👍 3
No question, no correct answer.
Sammy3637 👍 2
Please fix this Admin ?
Jey117 👍 2
Admin fix it. It doesn´t even include the question and the answer makes no sense at all to guess it.
snarkymark 👍 26
Unless I am missing something here, none of these are right. Let me know if I am missing something.
borumas 👍 2
I agree there's a typo: D. router bgp 65001 neighbor 10.0.1.2 remote-as 65002 <-- all have that IP but R2 is 10.0.1.1 network 10.0.2.0 255.255.255.0
well123 👍 2
probably the diagram isn't correct AS should be interchanged for D to be correct!
KZM 👍 1
https://cloudeducation.com.hk/exam/350-401.pdf Yes, in this pdf, Router A's ASN is 65001 and Router B's ASN is 65002. If like that, the answer is router bgp 65001 neighbor 10.0.1.2 remote-as 65002 redistribute static
well123 👍 1
ip addresses should be interchanged not AS

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

Expert Analysis

Why the Answer Is Correct

Option D correctly specifies router bgp 65001 for Router A's local AS, neighbor 10.0.1.2 remote-as 65002 for Router B's IP and AS, and network 10.0.2.0 255.255.255.0 to advertise the network on Router A's G0/1 interface. This perfectly aligns with the requirement to configure eBGP on Router A and advertise its connected subnet.

Why the Other Options Are Wrong

Option A uses the wrong local AS (65002) and remote AS (65002), which would fail eBGP peering and represents Router B's perspective. Option B uses redistribute static instead of explicitly advertising the connected network with a network statement. Option C advertises the wrong network (10.0.1.0), which is the transit link, instead of the G0/1 connected network (10.0.2.0).

Community Comment Notes

Several commenters noted the question text was missing from the exhibit, but as Tim1992 pointed out, the full question asks to configure eBGP on Router A to peer with Router B and advertise G0/1. TroyMcLure confirmed this makes D correct despite the missing "mask" keyword in the network statement. abdulwares123 incorrectly suggested Router A is AS 65002, which would reverse the peering roles.

Exam Strategy

When facing BGP configuration questions, always identify the local router's AS first, then the neighbor's IP and AS. Finally, match the network statement to the specific interface subnet requested for advertisement.

Related Analysis

Practice All 350-401 Questions

Access 218 questions with complete answers and detailed explanations.

View Full 350-401 Practice Test →

← Back to 350-401 Study Guide