You are on page 1of 2

CR1

bgp 46019
peer 24.24.24.1 as-number 4761
peer 34.34.34.1 as-number 7713
#
ipv4-family unicast
undo synchronization
network 172.17.184.0 255.255.255.0
network 172.17.187.0 255.255.255.0
peer 24.24.24.1 enable
peer 24.24.24.1 route-policy AR2_OUT export
peer 34.34.34.1 enable
peer 34.34.34.1 route-policy AR3_OUT export
#
.
.
.
#
route-policy AR2_IN permit node 0
if-match ip-prefix 187_PREFIX
#
route-policy AR2_OUT permit node 0
if-match ip-prefix 184_PREFIX
#
route-policy AR2_OUT permit node 1
if-match ip-prefix 187_PREFIX
apply as-path 46019 additive
#
route-policy AR3_IN permit node 0
#
route-policy AR3_OUT permit node 0
if-match ip-prefix 187_PREFIX
#
ip ip-prefix ALL_PREFIX index 10 permit 172.17.184.0 21
ip ip-prefix 184_PREFIX index 10 permit 172.17.184.0 24
ip ip-prefix 185_PREFIX index 10 permit 172.17.185.0 24
ip ip-prefix 186_PREFIX index 10 permit 172.17.186.0 24
ip ip-prefix 187_PREFIX index 10 permit 172.17.187.0 24
ip ip-prefix 188_PREFIX index 10 permit 172.17.188.0 24
ip ip-prefix 189_PREFIX index 10 permit 172.17.189.0 24
ip ip-prefix 190_PREFIX index 10 permit 172.17.190.0 24
ip ip-prefix 191_PREFIX index 10 permit 172.17.191.0 24
#

Hasil traceroute dari Client 1 (8.8.8.8)


PC>tracert 172.17.187.2

traceroute to 172.17.187.2, 8 hops max


(ICMP), press Ctrl+C to stop
1 8.8.8.1 31 ms <1 ms 16 ms
2 13.13.13.2 32 ms 46 ms 47 ms
3 34.34.34.2 47 ms 62 ms 62 ms
4 172.17.188.1 94 ms 62 ms 110 ms
5 172.17.187.2 109 ms 93 ms 110 ms

PC>tracert 172.17.184.2

traceroute to 172.17.184.2, 8 hops max


(ICMP), press Ctrl+C to stop
1 8.8.8.1 16 ms <1 ms 16 ms
2 12.12.12.2 31 ms 32 ms 15 ms
3 24.24.24.2 62 ms 47 ms 62 ms
4 172.17.188.1 78 ms 94 ms 78 ms
5 172.17.184.2 78 ms 63 ms 109 ms

LOCAL PREFERENCE

sebelum
[CR1]dis bgp routing-table

BGP Local router ID is 172.17.188.3


Status codes: * - valid, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete

Total Number of Routes: 4


Network NextHop MED LocPrf PrefVal Path/Ogn

*> 8.8.8.0/24 24.24.24.1 0 4761 8888i


* 34.34.34.1 0 7713 8888i
*> 172.17.184.0/24 0.0.0.0 2 0 i
*> 172.17.187.0/24 0.0.0.0 2 0 i

[CR1]dis bgp routing-table peer 24.24.24.1 advertised-routes

BGP Local router ID is 172.17.188.3


Status codes: * - valid, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete

Total Number of Routes: 2


Network NextHop MED LocPrf PrefVal Path/Ogn

*> 172.17.184.0/24 24.24.24.2 2 0 46019i


*> 172.17.187.0/24 24.24.24.2 2 0 46019 46019i

[CR1]dis bgp routing-table peer 34.34.34.1 advertised-routes

BGP Local router ID is 172.17.188.3


Status codes: * - valid, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete

Total Number of Routes: 1


Network NextHop MED LocPrf PrefVal Path/Ogn

*> 172.17.187.0/24 34.34.34.2 2 0 46019i

sesudah

You might also like