Capek dengan Manipulasi BGP ? :) next-hop-self !

Posted on November 9, 2006. Filed under: BGP |

Case :

Link Laser Cyber – GCC fully loaded.
Link Microwave masih sisa..

1. Set prefix-list MMA-ALCATEL (satu baris /23 le 32 mewakili seluruh IP).
2. Set prefix-list tambahan untuk IP ptp
3. Set next-hop-self di IX-2
Supaya ip ptp yang lain tidak perlu ditambah terus2an dalam prefix list misal 202.159.63.153.

ix-gw-1#sh ip bgp 202.53.230.0
BGP routing table entry for 202.53.230.0/25, version 56697
Paths: (3 available, best #1, table Default-IP-Routing-Table)
Advertised to non peer-group peers:
2A01:30:C000:2::19 202.53.225.206 202.53.234.102 202.53.251.126 202.53.251.172
202.53.251.178 202.53.251.210 202.53.251.245 202.159.5.130
Local
202.159.19.90 from 202.53.251.190 (202.53.251.196)
Origin IGP, metric 0, localpref 100, weight 6000, valid, internal, best
Originator: 202.53.251.197, Cluster list: 202.53.251.196
Local, (received-only)
202.159.19.90 from 202.53.251.190 (202.53.251.196)
Origin IGP, metric 0, localpref 100, weight 2500, valid, internal
Originator: 202.53.251.197, Cluster list: 202.53.251.196
Local, (received & used)
202.159.19.90 from 202.53.251.192 (202.53.251.196)
Origin IGP, metric 0, localpref 100, weight 5500, valid, internal
Originator: 202.53.251.197, Cluster list: 202.53.251.196
ix-gw-1#sh ip bgp 202.159.19.90
BGP routing table entry for 202.159.19.88/30, version 3551
Paths: (3 available, best #3, table Default-IP-Routing-Table)
Advertised to non peer-group peers:
2A01:30:C000:2::19 202.53.225.206 202.53.234.102 202.53.251.126 202.53.251.172
202.53.251.178 202.53.251.210 202.53.251.245 202.159.5.130
Local
202.159.63.153 from 202.53.251.190 (202.53.251.196)
Origin IGP, metric 0, localpref 100, weight 2500, valid, internal
Originator: 202.53.251.197, Cluster list: 202.53.251.196
Local, (received-only)
202.159.63.153 from 202.53.251.190 (202.53.251.196)
Origin IGP, metric 0, localpref 100, weight 2500, valid, internal
Originator: 202.53.251.197, Cluster list: 202.53.251.196
Local, (received & used)
202.159.63.153 from 202.53.251.192 (202.53.251.196)
Origin IGP, metric 0, localpref 100, weight 5500, valid, internal, best
Originator: 202.53.251.197, Cluster list: 202.53.251.196
ix-gw-1#sh run in
ix-gw-1#sh run include MMA-AL
ip prefix-list MMA-ALCATEL permit 202.53.230.0/23 le 32
ip prefix-list MMA-ALCATEL permit 202.53.232.0/23 le 32
match ip address prefix-list MMA-ALCATEL
ix-gw-1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
ix-gw-1(config)#ip pre
ix-gw-1(config)#ip prefix-list MMA-ALCATEL permit 202.159.19.88/27 le 32
ix-gw-1#clear ip bgp 202.53.251.190 soft in
ix-gw-1#wr
Building configuration…
[OK]
ix-gw-1#sh ip bgp 202.159.19.90
BGP routing table entry for 202.159.19.88/30, version 57111
Paths: (3 available, best #1, table Default-IP-Routing-Table)
Flag: 0x800
Advertised to non peer-group peers:
2A01:30:C000:2::19 202.53.225.206 202.53.234.102 202.53.251.126 202.53.251.172
202.53.251.178 202.53.251.210 202.53.251.245 202.159.5.130
Local
202.159.63.153 from 202.53.251.190 (202.53.251.196)
Origin IGP, metric 0, localpref 100, weight 6000, valid, internal, best
Originator: 202.53.251.197, Cluster list: 202.53.251.196
Local, (received-only)
202.159.63.153 from 202.53.251.190 (202.53.251.196)
Origin IGP, metric 0, localpref 100, weight 2500, valid, internal
Originator: 202.53.251.197, Cluster list: 202.53.251.196
Local, (received & used)
202.159.63.153 from 202.53.251.192 (202.53.251.196)
Origin IGP, metric 0, localpref 100, weight 5500, valid, internal
Originator: 202.53.251.197, Cluster list: 202.53.251.196
ix-gw-1#trac
ix-gw-1#traceroute 202.53.230.15

Type escape sequence to abort.
Tracing the route to dsl-53.230-15.indo.net.id (202.53.230.15)

1 202.53.252.2 12 msec 8 msec 12 msec
2 fe0-0-scnd-gw-ix-gw2-gcc.indo.net.id (202.159.63.153) 20 msec 12 msec 24 msec
3 mma-alcatel-remote.indo.net.id (202.159.19.90) 24 msec 12 msec 16 msec
4 * * *
5 *
ix-gw-1#sh ip bgp 202.159.63.153
BGP routing table entry for 202.159.63.152/29, version 3803
Paths: (3 available, best #3, table Default-IP-Routing-Table)
Advertised to non peer-group peers:
2A01:30:C000:2::19 202.53.225.206 202.53.234.102 202.53.251.126 202.53.251.172
202.53.251.178 202.53.251.210 202.53.251.245 202.159.5.130
Local
202.53.251.190 from 202.53.251.190 (202.53.251.196)
Origin IGP, metric 0, localpref 100, weight 2500, valid, internal
Local, (received-only)
202.53.251.190 from 202.53.251.190 (202.53.251.196)
Origin IGP, metric 0, localpref 100, weight 2500, valid, internal
Local, (received & used)
202.53.251.192 from 202.53.251.192 (202.53.251.196)
Origin IGP, metric 0, localpref 100, weight 5500, valid, internal, best

Make a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Liked it here?
Why not try sites on the blogroll...

%d bloggers like this: