SOURCECODEBD.NET

Live Experience

6.  ORIGIN ATTRIBUTE

HOW TO ORIGIN ATTRIBUTE CONFIGURATION
 
Interface IP Address Configuration 
 
R1 
 
Interface  IP Address   Subnet Mask 
S 0/2/0    1.1.1.1            255.0.0.0 
E 0         10.1.1.1          255.0.0.0 
 
R2 
 
Interface  IP Address   Subnet Mask 
S 0            1.1.1.2          255.0.0.0 
S 1            2.2.2.1          255.0.0.0 
E 0            20.1.1.1       255.0.0.0 
 
R3 
 
Interface  IP Address   Subnet Mask 
S 0            2.2.2.2          255.0.0.0 
E 0           30.1.1.1        255.0.0.0 
 
Task 1: 
 
Configure BGP on all the three routers. Do not advertise network 30.0.0.0 on R3 in BGP, 
instead create static route on R2 to reach 30.0.0.0 via 2.2.2.2 and redistribute this static 
route into BGP. 
 
R1 
 
 
Router bgp 100 
Neighbor 1.1.1.2 remote-as 200 
Network 1.0.0.0 
Network 10.0.0.0 
No synchronization 
 
R2 
 
ip route 30.1.1.1 255.0.0.0 2.2.2.2 
 
Router bgp 200 
Neighbor 2.2.2.2 remote-as 200 
Neighbor 1.1.1.1 remote-as 100 
Network 1.0.0.0 
Network 2.0.0.0 
Network 20.0.0.0 
Redistribute static 
No synchronization
 
R3 
 
Router bgp 200 
Neighbor 2.2.2.1 remote-as 200 
Network 2.0.0.0 
No synchronization 
 
Verification: 
 
R1#show ip bgp
 
R1 reaches 2.0.0.0 via ‘200 i’ means that the next AS path is 200 and the origin of the 
route is IGP. 
R1 also reaches 30.0.0.0 via ‘200 ?’, means that the next AS is 200 and that the origin is 
incomplete and is a redistributed static route. 
You are here: Home / BGP / HOW TO ORIGIN ATTRIBUTE CONFIGURATION