Anda di halaman 1dari 10

<p style="text-align: justify; text-indent: .

5in;">Teknologi ATM dan Frame Relay bersifat connection-oriented, artinya setiap virtual circuit harus di setup den gan protocol persinyalan sebelum transmisi. IP bersifat connection-less, berarti protkol routing menentukan arah pengiriman paket dengan bertukar info routing. MPLS mewakili konvergensi kedua pendekatan ini.</p> <p style="text-align: justify; text-indent: .5in;">MPLS (Multi Protocol Label Sw itching) merupakan arsitektur network yang didefinisikan oleh IETF untuk memaduk an mekanisme, label swapping di layer dua dengan routing di layer tiga untuk mem percepat pengiriman pake. Arsitektur MPLS dipaparkan dalam RFC-3031.</p> <p style="text-align: justify; text-indent: .5in;">Network MPLS terdiri atas jal ur yang disebut Label Switched Path (LSP) yang menghubungkan titik-titik yang di sebut Label Switched Router (LSR). LSR pertama dan terakhir disebut Label Edge R outer atau ingress dan egress router. Setiap LSP dikaitkan dengan sebuah Forward ing Equivalence Class (FEC) yang merupakan kumpulan paket yang menerima perlakua n forwarding yang sama disebuah LSR. FEC diidentifikasikan dengan pemasangan lab el.</p> <p style="text-align: justify; text-indent: .5in;">Untuk membentu LSP, diperluka n suatu protocol persinyalan. Protokol ini menentukan forwarding berdasarkan lab el pada paket. Label yang pendek dan berukuran tetap mempercepat proses forwardi ng dan mempertinggi fleksibelitas pemilihan path. Hasilnya adalah network datagr am yang bersifat lebih connection oriented.</p> <p style="text-align: justify; text-indent: .5in;">Perhatikan gambar topologi ya ng akan kita gunakan untuk praktik. Buatlah topologi seperti pada gambar.</p> <a href="http://benetworker.files.wordpress.com/2011/12/18.jpg"><img class="alig ncenter wp-image-178" title="1" src="http://benetworker.files.wordpress.com/201 1/12/18.jpg" alt="" width="583" height="317" /></a> <p style="text-align: justify; text-indent: .5in;">Keterangan :</p> <p style="text-align: justify; text-indent: .5in;">PE_1 : Router LER 1</p> <p style="text-align: justify; text-indent: .5in;">PE_2 : Router LER 2</p> <p style="text-align: justify; text-indent: .5in;">CORE_1 : Router LSR 1</p> <p style="text-align: justify; text-indent: .5in;">CORE_2 : Router LSR 2</p> <p style="text-align: justify; text-indent: .5in;">Core_3 : Router LSR 3</p> <p style="text-align: justify; text-indent: .5in;">Bagian berwarna hijau muda me nunjukkan router yang dinamakan dengan LSR, router core yang bertugas untuk mela kukan labe-lookup dan label swap.</p> <p style="text-align: justify; text-indent: .5in;">Pastikan semua perangkat tela h menyala.</p> <ul> <li><strong>Konfigurasi IP fast-ethernet dan loopback0 pada setiap route r</strong></li> </ul> [sourcecode language="java"] Menentukan IP Address fast-ethernet PE_1 PE_1&amp;gt;enable PE_1#configure terminal PE_1(config)#interface fa1/0 PE_1(config-if)#ip address 192.168.1.1 255.255.255.0 PE_1(config-if)#no shutdown PE_1(config-if)#exit Menentukan IP Address Loopback0 (IP virtual) PE_1 PE_1&amp;gt;enable PE_1#configure terminal PE_1(config)#interface loopback0 PE_1(config-if)#ip address 10.10.10.1 255.255.255.0 PE_1(config-if)#no shutdown PE_1(config-if)#exit Menentukan IP Address fast-ethernet PE_2

PE_2&amp;gt;enable PE_2#configure terminal PE_2(config)#interface fa1/0 PE_2(config-if)#ip address 192.168.3.2 255.255.255.0 PE_2(config-if)#no shutdown PE_2(config-if)#exit Menentukan IP Address Loopback0 (IP virtual) PE_2 PE_2&amp;gt;enable PE_2#configure terminal PE_2(config)#interface loopback0 PE_2(config-if)#ip address 10.10.10.5 255.255.255.0 PE_2(config-if)#no shutdown PE_2(config-if)#exit Menentukan IP Address fast-ethernet CORE_1 CORE_1(config)#interface fa1/0 CORE_1(config-if)#ip address 192.168.1.2 255.255.255.0 CORE_1(config-if)#no shutdown CORE_1(config-if)#exit CORE_1&amp;gt;enable CORE_1#configure terminal CORE_1(config)#interface fa2/0 CORE_1(config-if)#ip address 192.168.2.1 255.255.255.0 CORE_1(config-if)#no shutdown CORE_1(config-if)#exit CORE_1&amp;gt;enable CORE_1#configure terminal CORE_1(config)#interface fa1/1 CORE_1(config-if)#ip address 192.168.4.1 255.255.255.0 CORE_1(config-if)#no shutdown CORE_1(config-if)#exit Menentukan IP Address Loopback0 (IP virtual) CORE_1 CORE_1&amp;gt;enable CORE_1#configure terminal CORE_1(config)#interface loopback0 CORE_1(config-if)#ip address 10.10.10.2 255.255.255.0 CORE_1(config-if)#no shutdown CORE_1(config-if)#exit Menentukan IP Address fast-ethernet CORE_2 CORE_2(config)#interface fa1/0 CORE_2(config-if)#ip address 192.168.4.2 255.255.255.0 CORE_2(config-if)#no shutdown CORE_2(config-if)#exit CORE_2&amp;gt;enable CORE_2#configure terminal CORE_2(config)#interface fa1/1 CORE_2(config-if)#ip address 192.168.5.2 255.255.255.0 CORE_2(config-if)#no shutdown CORE_2(config-if)#exit Menentukan IP Address Loopback0 (IP virtual) CORE_2 CORE_2&amp;gt;enable CORE_2#configure terminal CORE_2(config)#interface loopback0

CORE_2(config-if)#ip address 10.10.10.3 255.255.255.0 CORE_2(config-if)#no shutdown CORE_2(config-if)#exit Menentukan IP Address fast-ethernet Core_3 Core_3(config)#interface fa1/0 Core_3(config-if)#ip address 192.168.5.1 255.255.255.0 Core_3(config-if)#no shutdown Core_3(config-if)#exit Core_3&amp;gt;enable Core_3#configure terminal Core_3(config)#interface fa2/0 Core_3(config-if)#ip address 192.168.2.2 255.255.255.0 Core_3(config-if)#no shutdown Core_3(config-if)#exit Core_3&amp;gt;enable Core_3#configure terminal Core_3(config)#interface fa1/1 Core_3(config-if)#ip address 192.168.3.1 255.255.255.0 Core_3(config-if)#no shutdown Core_3(config-if)#exit Menentukan IP Address Loopback0 (IP virtual) Core_3 Core_3&amp;gt;enable Core_3#configure terminal Core_3(config)#interface loopback0 Core_3(config-if)#ip address 10.10.10.4 255.255.255.0 Core_3(config-if)#no shutdown Core_3(config-if)#exit [/sourcecode] <ul> <li><strong>Konfigurasi routing dinamis [OSPF] pada setiap router</stron g></li> </ul> [sourcecode language="java"] Konfigurasi PE_1 : PE_1&amp;gt;enable PE_1#configure terminal PE_1(config)#router ospf 100 PE_1(config-router)#network 192.168.1.0 0.0.0.255 area 100 PE_1(config-router)#network 10.10.10.1 0.0.0.0 area 100 PE_1(config-router)#end PE_1#copy running-config startup-config Konfigurasi PE_2 : PE_2&amp;gt;enable PE_2#configure terminal PE_2(config)#router ospf 100 PE_2(config-router)#network 192.168.3.0 0.0.0.255 area 100 PE_2(config-router)#network 10.10.10.5 0.0.0.0 area 100 PE_2(config-router)#end PE_2#copy running-config startup-config Konfigurasi CORE_1 : CORE_1&amp;gt;enable CORE_1#configure terminal CORE_1(config)#router ospf 100 CORE_1(config-router)#network 192.168.1.0 0.0.0.255 area 100

CORE_1(config-router)#network 192.168.2.0 0.0.0.255 area 100 CORE_1(config-router)#network 192.168.4.0 0.0.0.255 area 100 CORE_1(config-router)#network 10.10.10.2 0.0.0.0 area 100 CORE_1(config-router)#end CORE_1#copy running-config startup-config Konfigurasi CORE_2 : CORE_2&amp;gt;enable CORE_2#configure terminal CORE_2(config)#router ospf 100 CORE_2(config-router)#network 192.168.4.0 0.0.0.255 area 100 CORE_2(config-router)#network 192.168.5.0 0.0.0.255 area 100 CORE_2(config-router)#network 10.10.10.3 0.0.0.0 area 100 CORE_2(config-router)#end CORE_2#copy running-config startup-config Konfigurasi Core_3: Core_3&amp;gt;enable Core_3#configure terminal Core_3(config)#router ospf 100 Core_3(config-router)#network 192.168.2.0 0.0.0.255 area 100 Core_3(config-router)#network 192.168.5.0 0.0.0.255 area 100 Core_3(config-router)#network 192.168.3.0 0.0.0.255 area 100 Core_3(config-router)#network 10.10.10.4 0.0.0.0 area 100 Core_3(config-router)#end Core_3#copy running-config startup-config [/sourcecode] <ul> <li><strong>Konfigurasi BGP pada router PE_1 dan PE_2</strong></li> </ul> [sourcecode language="java"] Konfigurasi PE_1: PE_1&amp;gt;enable PE_1#configure terminal PE_1(config)#router bgp 100 PE_1(config-router)#no synchronization PE_1(config-router)#neighbor 10.10.10.5 remote-as 100 PE_1(config-router)#neighbor 10.10.10.5 update-source Loopback0 PE_1(config-router)#no auto_summary PE_1(config-router)#end PE_1#copy running-config startup-config Konfigurasi PE_2: PE_1&amp;gt;enable PE_2#configure terminal PE_2(config)#router bgp 100 PE_2(config-router)#no synchronization PE_2(config-router)#neighbor 10.10.10.1 remote-as 100 PE_2(config-router)#neighbor 10.10.10.1 update-source Loopback0 PE_2(config-router)#no auto_summary PE_2(config-router)#end PE_2#copy running-config startup-config [/sourcecode] <ul> <li><strong>Aktifkan MPLS</strong></li> </ul> [sourcecode language="java"] Konfigurasi PE_1: PE_1&amp;gt;enable PE_1#configure terminal

PE_1(config)#ip cef PE_1(config)#mpls label protocol ldp PE_1(config)#mpls ldp router-id loopback0 force PE_1(config)#interface fa1/0 PE_1(config-if)#ip address 192.168.1.1 255.255.255.0 PE_1(config-if)#mpls ip PE_1(config-if)#end PE_1#copy running-config startup-config Konfigurasi PE_2: PE_2&amp;gt;enable PE_2#configure terminal PE_2(config)#ip cef PE_2(config)#mpls label protocol ldp PE_2(config)#mpls ldp router-id loopback0 force PE_2(config)#interface fa1/0 PE_2(config-if)#ip address 192.168.3.2 255.255.255.0 PE_2(config-if)#mpls ip PE_2(config-if)#end PE_2#copy running-config startup-config Konfigurasi CORE_1: CORE_1&amp;gt;enable CORE_1#configure terminal CORE_1(config)#ip cef CORE_1(config)#mpls label protocol ldp CORE_1(config)#mpls ldp router-id loopback0 force CORE_1(config)#interface fa1/0 CORE_1(config-if)#ip address 192.168.1.2 255.255.255.0 CORE_1(config-if)#mpls ip CORE_1(config-if)#end CORE_1&amp;gt;enable CORE_1#configure terminal CORE_1(config)#ip cef CORE_1(config)#mpls label protocol ldp CORE_1(config)#mpls ldp router-id loopback0 force CORE_1(config)#interface fa2/0 CORE_1(config-if)#ip address 192.168.2.1 255.255.255.0 CORE_1(config-if)#mpls ip CORE_1(config-if)#end CORE_1&amp;gt;enable CORE_1#configure terminal CORE_1(config)#ip cef CORE_1(config)#mpls label protocol ldp CORE_1(config)#mpls ldp router-id loopback0 force CORE_1(config)#interface fa1/1 CORE_1(config-if)#ip address 192.168.4.1 255.255.255.0 CORE_1(config-if)#mpls ip CORE_1(config-if)#end CORE_1#copy running-config startup-config Konfigurasi CORE_2: CORE_2&amp;gt;enable CORE_2#configure terminal CORE_2(config)#ip cef CORE_2(config)#mpls label protocol ldp CORE_2(config)#mpls ldp router-id loopback0 force CORE_2(config)#interface fa1/0

CORE_2(config-if)#ip address 192.168.4.2 255.255.255.0 CORE_2(config-if)#mpls ip CORE_2(config-if)#end CORE_2&amp;gt;enable CORE_2#configure terminal CORE_2(config)#ip cef CORE_2(config)#mpls label protocol ldp CORE_2(config)#mpls ldp router-id loopback0 force CORE_2(config)#interface fa1/1 CORE_2(config-if)#ip address 192.168.5.2 255.255.255.0 CORE_2(config-if)#mpls ip CORE_2(config-if)#end CORE_2#copy running-config startup-config Konfigurasi Core_3: Core_3&amp;gt;enable Core_3#configure terminal Core_3(config)#ip cef Core_3(config)#mpls label protocol ldp Core_3(config)#mpls ldp router-id loopback0 force Core_3(config)#interface fa2/0 Core_3(config-if)#ip address 192.168.2.2 255.255.255.0 Core_3(config-if)#mpls ip Core_3(config-if)#end Core_3&amp;gt;enable Core_3#configure terminal Core_3(config)#ip cef Core_3(config)#mpls label protocol ldp Core_3(config)#mpls ldp router-id loopback0 force Core_3(config)#interface fa1/0 Core_3(config-if)#ip address 192.168.5.1 255.255.255.0 Core_3(config-if)#mpls ip Core_3(config-if)#end Core_3&amp;gt;enable Core_3#configure terminal Core_3(config)#ip cef Core_3(config)#mpls label protocol ldp Core_3(config)#mpls ldp router-id loopback0 force Core_3(config)#interface fa1/1 Core_3(config-if)#ip address 192.168.3.1 255.255.255.0 Core_3(config-if)#mpls ip Core_3(config-if)#end Core_3#copy running-config startup-config [/sourcecode] <ul> <li><strong>Mengamati daftar route dan MPLS</strong></li> </ul> [sourcecode language="java"] PE_1&amp;gt;enable PE_1#show ip bgp neighbor BGP neighbor is 10.10.10.5, remote AS 100, internal link BGP version 4, remote router ID 10.10.10.5 BGP state = Established, up for 00:33:55 Last read 00:00:26, last write 00:00:55, hold time is 180, keepalive interval is 60 seconds Neighbor capabilities: Route refresh: advertised and received(old &amp;amp; new)

Address family IPv4 Unicast: advertised and received Message statistics: InQ depth is 0 OutQ depth is 0 Sent Rcvd Opens: 1 1 Notifications: 0 0 Updates: 0 0 Keepalives: 35 36 Route Refresh: 0 0 Total: 36 37 Default minimum time between advertisement runs is 0 seconds For address family: IPv4 Unicast BGP table version 1, neighbor version 1/0 Output queue size: 0 Index 1, Offset 0, Mask 0x2 1 update-group member Sent Rcvd Prefix activity: ------Prefixes Current: 0 0 Prefixes Total: 0 0 Implicit Withdraw: 0 0 Explicit Withdraw: 0 0 Used as bestpath: n/a 0 Used as multipath: n/a 0 Outbound Inbound Local Policy Denied Prefixes: -------------Total: 0 0 Number of NLRIs in the update sent: max 0, min 0 Connections established 1; dropped 0 Last reset never Connection state is ESTAB, I/O status: 1, unread input bytes: 0 Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 255 Local host: 10.10.10.1, Local port: 64845 Foreign host: 10.10.10.5, Foreign port: 179 Connection tableid (VRF): 0 Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) Event Timers (current time is 0x35C2C0): Timer Starts Wakeups Next Retrans 38 0 0x0 TimeWait 0 0 0x0 AckHold 36 34 0x0 SendWnd 0 0 0x0 KeepAlive 0 0 0x0 GiveUp 0 0 0x0 PmtuAger 0 0 0x0 DeadWait 0 0 0x0 Linger 0 0 0x0 ProcessQ 0 0 0x0 iss: 1254274146 snduna: 1254274876 sndnxt: 1254274876 sndwnd: 15655 irs: 606649933 rcvnxt: 606650663 rcvwnd: 15655 delrcvwnd: 729 SRTT: 349 ms, RTTO: 675 ms, RTV: 326 ms, KRTT: 0 ms minRTT: 204 ms, maxRTT: 696 ms, ACK hold: 200 ms Status Flags: active open

Option Flags: nagle IP Precedence value : 6 Datagrams (max data segment is 1474 bytes): Rcvd: 70 (out of order: 0), with data: 36, total data bytes: 729 Sent: 75 (retransmit: 0, fastretransmit: 0, partialack: 0, Second Congestion: 0) , with data: 37, total data bytes: 729 Packets received in fast path: 0, fast processed: 0, slow path: 0 fast lock acquisition failures: 0, slow path: 0 [/sourcecode] [sourcecode language="java"] PE_1&amp;gt;enable PE_1#show ip bgp summary BGP router identifier 10.10.10.1, local AS number 100 BGP table version is 1, main routing table version 1 Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 10.10.10.5 4 100 39 38 1 0 0 00:36:00 0 [/sourcecode] [sourcecode language="java"] CORE_1&amp;gt;enable CORE_1#show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is not set C 192.168.4.0/24 is directly connected, FastEthernet1/1 O 192.168.5.0/24 [110/2] via 192.168.4.2, 00:00:33, FastEthernet1/1 [110/2] via 192.168.2.2, 00:00:33, FastEthernet2/0 10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks O 10.10.10.3/32 [110/2] via 192.168.4.2, 00:00:33, FastEthernet1/1 C 10.10.10.0/24 is directly connected, Loopback0 O 10.10.10.1/32 [110/2] via 192.168.1.1, 00:00:33, FastEthernet1/0 O 10.10.10.4/32 [110/2] via 192.168.2.2, 00:00:33, FastEthernet2/0 O 10.10.10.5/32 [110/3] via 192.168.2.2, 00:00:33, FastEthernet2/0 C 192.168.1.0/24 is directly connected, FastEthernet1/0 C 192.168.2.0/24 is directly connected, FastEthernet2/0 O 192.168.3.0/24 [110/2] via 192.168.2.2, 00:00:33, FastEthernet2/0 [/sourcecode] <p style="text-align: justify; text-indent: .5in;">Silahkan amati daftar route d i router yang lain dengan mengetikkan perintah yang sama.</p> <ul> <li><strong>Mengamati konfigurasi router</strong></li> </ul> [sourcecode language="java"] CORE_1&amp;gt;enable CORE_1#show running-config Building configuration... Current configuration : 1236 bytes ! version 12.4 service timestamps debug datetime msec

service timestamps log datetime msec no service password-encryption ! hostname Router ! boot-start-marker boot-end-marker ! ! no aaa new-model ip cef ! ! ! ! multilink bundle-name authenticated mpls label protocol ldp ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 ip address 10.10.10.2 255.255.255.0 ! interface FastEthernet0/0 no ip address shutdown duplex half ! interface FastEthernet1/0 ip address 192.168.1.2 255.255.255.0 duplex auto speed auto mpls ip ! interface FastEthernet1/1 ip address 192.168.4.1 255.255.255.0 duplex auto speed auto mpls ip ! interface FastEthernet2/0 ip address 192.168.2.1 255.255.255.0 duplex auto speed auto

mpls ip ! interface FastEthernet2/1 no ip address shutdown duplex auto speed auto ! router ospf 100 log-adjacency-changes network 10.10.10.2 0.0.0.0 area 100 network 192.168.1.0 0.0.0.255 area 100 network 192.168.2.0 0.0.0.255 area 100 network 192.168.4.0 0.0.0.255 area 100 ! no ip http server no ip http secure-server ! ! ! logging alarm informational ! ! mpls ldp router-id Loopback0 force ! control-plane ! ! ! ! ! ! gatekeeper shutdown ! ! line con 0 stopbits 1 line aux 0 line vty 0 4 ! ! end [/sourcecode] <p style="text-align: justify; text-indent: .5in;">Silahkan amati konfigurasi di router yang lain dengan mengetikkan perintah yang sama</p> <ul> <li><strong>Test koneksi jaringan (ping)</strong></li> </ul> [sourcecode language="java"] CORE_1&amp;gt;ping 192.168.3.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.3.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 28/52/84 ms [/sourcecode] <p style="text-align: justify; text-indent: .5in;">Silahkan lakukan ping dari si si yang berbeda untuk memastikan koneksi telah berjalan.</p>

Anda mungkin juga menyukai