STIGUI
V-256048CAT III — Low severitySV-256048r991789_rule

The Arista BGP router must be configured to use its loopback address as the source address for iBGP peering sessions.

Rule version ARST-RT-000690 · STIG v2 · 2025-02-20

Discussion

Using a loopback address as the source address offers a multitude of uses for security, access, management, and scalability of the BGP routers. It is easier to construct appropriate ingress filters for router management plane traffic destined to the network management subnet since the source addresses will be from the range used for loopback interfaces instead of a larger range of addresses used for physical interfaces. Log information recorded by authentication and syslog servers will record the router's loopback address instead of the numerous physical interface addresses.

When the loopback address is used as the source for eBGP peering, the BGP session will be harder to hijack since the source address to be used is not known globally—making it more difficult for a hacker to spoof an eBGP neighbor. By using traceroute, a hacker can easily determine the addresses for an eBGP speaker when the IP address of an external interface is used as the source address. The routers within the iBGP domain should also use loopback addresses as the source address when establishing BGP sessions.

Check

Review the Arista router configuration to verify a loopback address has been configured.

Verify a loopback interface is used as the source address for all iBGP sessions.

Step 1: To verify the Loopback interface is defined, execute the command "sh run int loopback YY".

interface loopback 0 ip address 10.1.1.1/32

Step 2: To verify a loopback interface is used as the source address for all iBGP sessions, execute the command "sh run sec router bgp".

router bgp 65001 router-id 10.1.1.1 neighbor Peer_Leaf peer group neighbor Peer_Leaf remote-as 65001 neighbor Peer_Leaf update-source Loopback0 neighbor 10.2.2.2 peer group Peer_Leaf

If the Arista router does not use its loopback address as the source address for all iBGP sessions, this is a finding.

Fix

Ensure the Arista router's loopback address is used as the source address when originating traffic.

Step 1: Configure the Loopback interface.

LEAF-1A(config)#interface Loopback0 LEAF-1A(config-if-Lo0)#ip address 10.1.1.1/32

Step 2: Configure the loopback interface as source for all iBGP sessions.

router bgp 65001 LEAF-1A(config-router-bgp)# LEAF-1A(config-router-bgp)#neighbor Peer_Leaf peer group LEAF-1A(config-router-bgp)#Peer_Leaf remote-as 65001 LEAF-1A(config-router-bgp)#Peer_Leaf update-source Loopback0 LEAF-1A(config-router-bgp)#10.2.2.2 peer group Peer_Leaf

Identifiers

Group ID
V-256048
Group title
SRG-NET-000512-RTR-000001
Rule ID
SV-256048r991789_rule
Check ID
C-59724r882484_chk
Fix ID
F-59667r882485_fix