Konfigurasi dasar iBGP Peering

ibgp-peering

Setting IP Address Router
 Router(config)# interface [nama-interface]
 Router(config-if)# ip address [ip] [mask]

R1
#interface Loopback0
#ip address 1.1.1.1 255.255.255.255
#interface FastEthernet0/0
#ip address 12.12.12.1 255.255.255.0

R2
#interface Loopback0
#ip address 2.2.2.2 255.255.255.255
#interface FastEthernet0/0
#ip address 12.12.12.2 255.255.255.0


Aktifkan Router BGP
 Router(config)# router bgp [ASN]

R1(config)#router bgp 12

R2(config)#router bgp 12


Setting neighbor
 Router(config-router)# neighbor [peer address] remote-as [ASN]

R1
 #neighbor 12.12.12.2 remote-as 12

R2
 #neighbor 12.12.12.1 remote-as 12


Advertise ip network ke dalam router bgp
 Router(config-router)# network [ip network] mask [mask]

R1 
 #network 1.1.1.1 mask 255.255.255.255

R2
 #network 2.2.2.2 mask 255.255.255.255


Lihat Status
 Router# show ip bgp

R1
 Network        Next Hop
 *> 1.1.1.1/32  0.0.0.0 
 *>i2.2.2.2/32  12.12.12.2

R2
Network          Next Hop  
 *>i1.1.1.1/32   12.12.12.1  
 *> 2.2.2.2/32   0.0.0.0  


Lihat Status
 Router# show ip bgp summary

R1
Neighbor    V  AS MsgRcvd MsgSent TblVer  InQ OutQ Up/Down  State/PfxRcd
12.12.12.2  4  12   34      34     3       0    0 00:30:26        1

R2
Neighbor    V  AS MsgRcvd MsgSent TblVer  InQ OutQ Up/Down  State/PfxRcd
12.12.12.1  4  12   33      33       3    0    0 00:29:35        1


Cek routing bgp
 Router# show ip route bgp

R1#sh ip route bgp
 2.0.0.0/32 is subnetted, 1 subnets
 B       2.2.2.2 [200/0] via 12.12.12.2, 00:28:30

R2#sh ip rout bgp
 1.0.0.0/32 is subnetted, 1 subnets
 B       1.1.1.1 [200/0] via 12.12.12.1, 00:29:55


Test Ping
 Router# ping [ip network destination]

R1#ping 2.2.2.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/12/16 ms

R2#ping 1.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/11/16 ms
Advertisements

Author: admin@khsnndzf

Good People

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