Rochmad Nurul Hidayat

something isn't special

Konfigurasi Routing Protocol dengan BGP

Kali ini saya mendapat tugas dari Pak Dedi, pembimbing kerja praktek saya :D
Tugas membuat routing rotocol dengan menggunakan BGP
Topologinya adalah seperti gambar di bawah ini…
Sebelumnya minta maaf dulu karena masih trial eror ini postingan saya :D
maklum masih newbie saya :D *nyari bantuan google, sama simbah adit(khusus simbah adit buat konsultasi sama bantuin buka kamus)*

Image Hosting

Langkah pertama tentu seting IP address pada masing masing router

Pada router 1 (R1) untuk interface serial 1/0

R1>enable
R1#configure terminal
R1(config)#interface serial 1/0
R1(config-if)#ip address 20.20.20.1 255.255.255.252
R1(config-if)#clock rate 64000
R1(config-if)#no shutdown
Pada Router 1 (R1) untuk interface loopback 1 dan loopback 2
R1(config-if)#exit
R1(config)#interface loopback 1
R1(config-if)#ip address 1.0.0.1 255.0.0.0
R1(config-if)#exit
R1(config-if)#ip address 2.0.0.1 255.0.0.0

Pada Router 1 (R1) untuk interface serial 1/1

R1(config-if)#exit
R1(config)#interface serial 1/1
R1(config-if)#ip address 10.10.10.1 255.255.255.252
R1(config-if)#no shutdown

Sekarang kita setting IP address pada Router 2

R2>enable
R2#configure terminal
R2(config)#interface serial 1/0
R2(config-if)#ip address 20.20.20.2 255.255.255.252
R2(config-if)#no shutdown

Pada Router 3

R3>enable
R3#configure terminal
R3(config)#interface serial 1/0
R3(config-if)#ip address 10.10.10.2 255.255.255.252
R3(config-if)#no shutdown

IP pada masing masing router sudah terset, sekarang waktunya untuk konfigurasi masing masing routing protocol pada masing masing router

Konfugurasi routing protocol pada R1

R1>enable
R1#configure terminal
R1(config)#router bgp 300
R1(config-router)#network 1.0.0.0
R1(config-router)#network 2.0.0.0
R1(config-router)#neighbor 10.10.10.2 remote-as 300
R1(config-router)#neighbor 20.20.20.2 remote-as 200

Konfugurasi routing protocol pada R2

R2>enable
R2#configure terminal
R2(config)#router bgp 200
R2(config-router)#neighbor 20.20.20.1 remote-as 300

Konfigurasi routing protocol pada R3

R2>enable
R2#configure terminal
R2(config)#router bgp 300
R2(config-router)#neighbor 10.10.10.1 remote-as 300

Okay routing protocol BGP sudah terkonfigurasi di masing masing router. Untuk membuktikannya maka lakukan ping ke dari masing masing router ke semua interface, tapi sebelumnya kita cek running config pada R1, R2, R3. Dan jangan lupa juga menambahkan ip route pada masing masing router (ini saya dapat waktu googling)

    pada R1
    R1#configure terminal
    R1#ip route 0.0.0.0 0.0.0.0 10.10.10.0
    R1#ip route 0.0.0.0 0.0.0.0 20.20.20.0

    pada R2
    R2#configure terminal
    R2#ip route 0.0.0.0 0.0.0.0 20.20.20.0

    pada R3
    R3#configure terminal
    R3#ip route 0.0.0.0 0.0.0.0 10.10.10.0

    Running Config R1
    interface Loopback1
    ip address 1.0.0.1 255.0.0.0
    interface Loopback2
    ip address 2.0.0.1 255.0.0.0
    interface Serial1/0
    ip address 20.20.20.1 255.255.255.252
    no fair-queue
    serial restart-delay 0
    clock rate 64000
    no dce-terminal-timing-enable

    interface Serial1/1
    ip address 10.10.10.1 255.255.255.252
    serial restart-delay 0
    no dce-terminal-timing-enable

    router bgp 300
    no synchronization
    bgp log-neighbor-changes
    network 1.0.0.0
    network 2.0.0.0
    neighbor 10.10.10.1 remote-as 300
    neighbor 20.20.20.2 remote-as 200
    no auto-summary
    ip classless
    ip route 0.0.0.0 0.0.0.0 10.10.10.0
    ip route 0.0.0.0 0.0.0.0 20.20.20.0
    no ip http server
    no ip http secure-server
    logging alarm informational
    control-plane
    gatekeeper
    shutdown
    line con 0
    exec-timeout 0 0
    stopbits 1
    line aux 0
    stopbits 1
    line vty 0 4
    login
    end

    Running Config R2
    Running Config R2
    !
    interface Serial1/0
    ip address 10.10.10.2 255.255.255.0
    no fair-queue
    serial restart-delay 0
    clock rate 64000
    no dce-terminal-timing-enable
    !
    router bgp 300
    no synchronization
    bgp log-neighbor-changes
    neighbor 10.10.10.10 remote-as 300
    ip classless
    ip route 0.0.0.0 0.0.0.0 10.10.10.0
    no ip http server
    no ip http secure-server
    logging alarm informational
    control-plane
    gatekeeper
    shutdown
    !
    line con 0
    exec-timeout 0 0
    stopbits 1
    line aux 0
    stopbits 1
    line vty 0 4
    login

    End

    Running config R3

    interface Serial1/0
    ip address 10.10.10.2 255.255.255.0
    no fair-queue
    serial restart-delay 0
    clock rate 64000
    no dce-terminal-timing-enable
    interface Serial1/1
    no ip address
    shutdown
    serial restart-delay 0
    no dce-terminal-timing-enable
    router bgp 100
    no synchronization
    bgp log-neighbor-changes
    neighbor 10.10.10.1 remote-as 300
    ip classless
    ip route 0.0.0.0 0.0.0.0 10.10.10.0
    no ip http server
    no ip http secure-server
    logging alarm informational
    control-plane
    gatekeeper
    shutdown
    line con 0
    exec-timeout 0 0
    stopbits 1
    line aux 0
    stopbits 1
    line vty 0 4
    login
    End

Pada R1 coba lakukan langkah di bawah ini

    1 Ping interface serial 1/0 pada R2
    2 Ping interface serial 1/0 pada R3

Pada R2 coba lakukan langkah di bawah ini

    1 Ping interface loopback 1 pada R1
    2 Ping interface loopback 2 pada R1
    3 Ping interface serial 1/0 pada R1
    4 Ping interface serial 1/1 pada R1
    5 Ping interface serial 1/0 pada R3

Pada R3 coba lakukan langkah di bawah ini

    1 Ping interface loopback 1 pada R1
    2 Ping interface loopback 2 pada R1
    3 Ping interface serial 1/0 pada R1
    4 Ping interface serial 1/1 pada R1
    5 Ping interface serial 1/0 pada R2

Nah sekarang kita sudah coba pada router untuk melakukan ping dari tiap tiap interface. Preview gambar di bawah ini adalah preview dari masing masing router melakukan ping ke tiap interface router yang lain. :D

February 25, 2009 - Posted by | Belajar Cisco

10 Comments »

  1. weh mpu rochmad is the best lah

    kerenn kerenn ajarin donk………..

    Comment by Aditya Wicaksono | February 27, 2009 | Reply

  2. wah mpu simbah adit bisa aja
    saya kan belajar dari anda mpu simbah :D

    Comment by Rochmad Nurul Hidayat | February 27, 2009 | Reply

  3. apaan itu,???

    saya tidak mengerti….

    Comment by Dwira | February 27, 2009 | Reply

  4. wah mas wira bisa aja ini
    merendah ya mas ??
    eh nggak merendah dinkx tingginya mas wira kan 170 lebih ya :P

    Comment by Rochmad Nurul Hidayat | February 28, 2009 | Reply

  5. keren …

    dah mulai banyak orang indo yng ngerti ttng “routing bgp”
    kembangin truss …

    Comment by giat | June 7, 2009 | Reply

    • @giat

      baru belajar kok………….kalo bisa tolong ajarin saya dunks ;)
      thanks ya udah mampir, maaf baru sempet balas :)

      Comment by Rochmad Nurul Hidayat | June 20, 2009 | Reply

  6. kok aku ga bisa akses scrip bgp nya ya ?? mohon info nya mas ? :)

    contoh :
    Router(config)#router ?
    eigrp Enhanced Interior Gateway Routing
    Protocol (EIGRP)
    ospf Open Shortest Path First (OSPF)
    rip Routing Information Protocol (RIP)

    *script bgp nya ga ada ?? :(

    Comment by dery | January 13, 2011 | Reply

    • maaf baru balas sekarang, BGP itu bisa dicoba di GNS3 atau dynamips, kalo di packet tracer sepertinya belum ada BGP :)

      Comment by Rochmad Nurul Hidayat | August 3, 2011 | Reply

  7. nice share, sgt membantu

    Comment by putraokta | August 15, 2011 | Reply

    • terima kasih putraokta atas commentnya, semoga bermanfaat :)

      Comment by Rochmad Nurul Hidayat | August 16, 2011 | Reply


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 )

Connecting to %s

Follow

Get every new post delivered to your Inbox.