https://www.juniper.net/documentation/us/en/software/junos/bgp/topics/topic-map/bgp-peering-sessions.html
in the Example: Configuring External BGP Point-to-Point Peer Sessions.
local-address is not configured.
A&D:
NOTE: Although a BGP session can be established when only one of the paired routing devices has local-address configured, we strongly recommend that you configure local-address on both paired routing devices for IBGP and multihop EBGP sessions. The local-address statement ensures that deterministic fixed addresses are used for the BGP session end-points.
Correction: For that reasons if you omit the local-address from the configuration, Junos will take the default which is to take the egress ip interface to reach the peer which in this case is 10.1.1.28
In my opinion the correct answer is A & B. A for the obvious reasons of having different AS numbers. B because the ip address on the interface is 10.1.1.29/31 so it means the BGP is getting established on a point to point interface. For that reasons if you omit the local-address from the configuration, Junos will take the default which is to take the egress ip interface to reach the peer which in this case is ge-0/0/3. Therefore even if you omit it a the BGP session would form.
Its A for obvious reasons, local AS and peer AS are define. D is also correct if you read here:
https://www.juniper.net/documentation/us/en/software/junos/bgp/topics/ref/statement/local-address-edit-protocols-bgp.html
Correct answers are A & B.
I can see several valid arguments here (taken from Juniper's site), however the key configuration statements are 'peer-as' and 'local-as', not 'local-address'.
As soon as you have defined neighbors defined under this configuration, all of them will point to an eBGP peer since the local AS is explicitly defined (not to an iBGP peer).
Even when defining 'local-address' in both peer ends is a best practice, it is not totally necessary to form an Established BGP peering.
Although a BGP session can be established when only one of the paired routing devices has local-address configured, we strongly recommend that you configure local-address on both paired routing devices for IBGP and multihop EBGP sessions. The local-address statement ensures that deterministic fixed addresses are used for the BGP session end-points.
Specify the address of the local end of a BGP session. This address is used to accept incoming connections to the peer and to establish connections to the remote peer. When none of the operational interfaces are configured with the specified local address, a session with a BGP peer is placed in the idle state.
A and D is correct
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.
TT98
Highly Voted 3 years, 6 months agobokko123
Highly Voted 3 years, 5 months agoachon
Most Recent 1 year, 8 months agoachon
1 year, 8 months agoachon
1 year, 8 months agoachon
1 year, 8 months agoachon
1 year, 8 months agoyh511
2 years, 5 months agodonkey_12
2 years, 7 months agoPanadol
2 years, 9 months agoPanadol
2 years, 9 months agojacob267
2 years, 11 months agoRagnahardt
2 years, 11 months agomixeren
3 years, 3 months agoshaokan1
3 years, 3 months agoingamine
3 years, 4 months agoDIbyam
3 years, 4 months agododds
3 years, 6 months ago