Skip to content

Belajar mengkonfigurasi ospfv3 di router cisco

Belajar mengkonfigurasi ospfv3 di router cisco
topology yang digunakan adalah sebagai berikut:

                    (area0)       
    +------+                           +------+                            
    !(cnc2)! :1      11::11:/64      :2!(cnc3)!      
    !  R2  !---------------------------!  R3  !   
    !      ! f1/0                 f1/0 !      !          
    +------+                           +------+                                                                        
      :1!f0/0                            :1!f0/0       
        !                                  !
 (area2)!10::10:/64                 (area3)!12::12:/64
        !                                  !
      :2!f0/0                            :2!f0/0                
    +------+                            +------+
    !(cnc1)!                            !(cnc4)!
    !  R1  !                            !  R4  !
    !      !                            !      !
    +------+                            +------+
by:
-https://iwing.wordpress.com
-http://www.ittelkom.ac.id/pinguin

Langkah-langkahnya adalah sebagai berikut :
Di router 1 (cnc1)
---------------------------------------------
cnc1(config)#int f0/0
cnc1(config-if)#ipv6 add 10::10:2/64
cnc1(config-if)#no shut

cnc1(config)#ipv6 unicast-routing
cnc1(config)#ipv6 router ospf 1
cnc1(config-rtr)#router-id 1.1.1.1
cnc1(config-rtr)#exit
cnc1(config)#

cnc1(config)#int f0/0
cnc1(config-if)#ipv6 ospf 1 a 2
cnc1(config-if)#
---------------------------------------------
Di router 2 (cnc2)
---------------------------------------------
cnc2(config)#int f0/0
cnc2(config-if)#ipv6 add 10::10:1/64
cnc2(config-if)#no shut
cnc2(config-if)#
cnc2(config-if)#int f1/0
cnc2(config-if)#ipv6 add 11::11:1/64
cnc2(config-if)#no shut
cnc2(config-if)#exit

cnc2(config)#ipv6 unicast-routing
cnc2(config)#ipv6 router ospf 1
cnc2(config-rtr)#router-id 2.2.2.2
cnc2(config-rtr)#exit
cnc2(config)

cnc2(config)#int f0/0
cnc2(config-if)#ipv6 ospf 1 a 2
cnc2(config)#int f1/0
cnc2(config-if)#ipv6 ospf 1 a 0
cnc2(config-if)#
---------------------------------------------
Di router 3 (cnc3)
---------------------------------------------
cnc3(config)#int f1/0
cnc3(config-if)#ipv6 add 11::11:2/64
cnc3(config-if)#no shut
cnc3(config-if)#int f0/0
cnc3(config-if)#ipv6 add 12::12:1/64
cnc3(config-if)#no shut

cnc3(config)#ipv6 unicast-routing
cnc3(config)#ipv6 router ospf 1
cnc3(config-rtr)#router-id 3.3.3.3
cnc3(config-rtr)#exit
cnc3(config)#

cnc3(config)#int f1/0
cnc3(config-if)#ipv6 ospf 1 a 0
cnc3(config-if)#int f0/0
cnc3(config-if)#ipv6 ospf 1 a 3
cnc3(config-if)#
---------------------------------------------
Di router 3 (cnc4)
---------------------------------------------
cnc4(config)#int f0/0
cnc4(config-if)#ipv6 add 12::12:2/64
cnc4(config-if)#no shut

cnc4(config)#ipv6 unicast-routing
cnc4(config)#cnc4(config)#ipv6 router ospf 1
cnc4(config-rtr)#router-id 4.4.4.4
cnc4(config-rtr)#exit
cnc4(config)#
cnc4(config)#int f0/0
cnc4(config-if)#ipv6 ospf 1 a 3
cnc4(config-if)#
---------------------------------------------
how to check 1 (sh ipv6 ospf neighbor)
---------------------------------------------
cnc1#sh ipv6 ospf neighbor

Neighbor ID     Pri   State           Dead Time   Interface ID    Interface
2.2.2.2           1   FULL/BDR        00:00:34    4               FastEthernet0/0
cnc1#

cnc2#sh ipv6 ospf neighbor

Neighbor ID     Pri   State           Dead Time   Interface ID    Interface
3.3.3.3           1   FULL/BDR        00:00:36    5               FastEthernet1/0
1.1.1.1           1   FULL/DR         00:00:34    4               FastEthernet0/0
cnc2#

cnc3#sh ipv6 ospf neighbor

Neighbor ID     Pri   State           Dead Time   Interface ID    Interface
2.2.2.2           1   FULL/DR         00:00:36    5               FastEthernet1/0
4.4.4.4           1   FULL/BDR        00:00:30    4               FastEthernet0/0
cnc3#

cnc4#sh ipv6 ospf neighbor

Neighbor ID     Pri   State           Dead Time   Interface ID    Interface
3.3.3.3           1   FULL/DR         00:00:34    4               FastEthernet0/0
cnc4#
---------------------------------------------
how to check 2 (sh ipv6 route)
---------------------------------------------
cnc1#sh ipv6 route
IPv6 Routing Table - Default - 5 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
 B - BGP, M - MIPv6, R - RIP, I1 - ISIS L1
 I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
 EX - EIGRP external
 O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
 ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
C   10::/64 [0/0]
 via FastEthernet0/0, directly connected
L   10::10:2/128 [0/0]
 via FastEthernet0/0, receive
OI  11::/64 [110/2]
 via FE80::C801:DFF:FE8C:0, FastEthernet0/0
OI  12::/64 [110/3]
 via FE80::C801:DFF:FE8C:0, FastEthernet0/0
L   FF00::/8 [0/0]
 via Null0, receive
cnc1#

cnc2#sh ipv6 route
IPv6 Routing Table - Default - 6 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
 B - BGP, M - MIPv6, R - RIP, I1 - ISIS L1
 I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
 EX - EIGRP external
 O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
 ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
C   10::/64 [0/0]
 via FastEthernet0/0, directly connected
L   10::10:1/128 [0/0]
 via FastEthernet0/0, receive
C   11::/64 [0/0]
 via FastEthernet1/0, directly connected
L   11::11:1/128 [0/0]
 via FastEthernet1/0, receive
OI  12::/64 [110/2]
 via FE80::C802:CFF:FE24:1C, FastEthernet1/0
L   FF00::/8 [0/0]
 via Null0, receive
cnc2#

cnc3#sh ipv6 route
IPv6 Routing Table - Default - 6 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
 B - BGP, M - MIPv6, R - RIP, I1 - ISIS L1
 I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
 EX - EIGRP external
 O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
 ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
OI  10::/64 [110/2]
 via FE80::C801:DFF:FE8C:1C, FastEthernet1/0
C   11::/64 [0/0]
 via FastEthernet1/0, directly connected
L   11::11:2/128 [0/0]
 via FastEthernet1/0, receive
C   12::/64 [0/0]
 via FastEthernet0/0, directly connected
L   12::12:1/128 [0/0]
 via FastEthernet0/0, receive
L   FF00::/8 [0/0]
 via Null0, receive
cnc3#

cnc4#sh ipv6 route
IPv6 Routing Table - Default - 5 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
 B - BGP, M - MIPv6, R - RIP, I1 - ISIS L1
 I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
 EX - EIGRP external
 O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
 ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
OI  10::/64 [110/3]
 via FE80::C802:CFF:FE24:0, FastEthernet0/0
OI  11::/64 [110/2]
 via FE80::C802:CFF:FE24:0, FastEthernet0/0
C   12::/64 [0/0]
 via FastEthernet0/0, directly connected
L   12::12:2/128 [0/0]
 via FastEthernet0/0, receive
L   FF00::/8 [0/0]
 via Null0, receive
cnc4#
---------------------------------------------
how to check 3 (ping and treceroute)
---------------------------------------------
cnc1#ping ipv6
Target IPv6 address: 12::12:2
Repeat count [5]: 100
Datagram size [100]:
Timeout in seconds [2]:
Extended commands? [no]:
Type escape sequence to abort.
Sending 100, 100-byte ICMP Echos to 12::12:2, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success rate is 100 percent (100/100), round-trip min/avg/max = 164/312/452 ms
cnc1#

cnc1#traceroute 12::12:2

Type escape sequence to abort.
Tracing the route to 12::12:2

 1 10::10:1 548 msec 96 msec 316 msec
 2 11::11:2 160 msec 124 msec 64 msec
 3 12::12:2 244 msec 192 msec 132 msec
cnc1#

cnc4#ping ipv6
Target IPv6 address: 10::10:2
Repeat count [5]: 100
Datagram size [100]:
Timeout in seconds [2]:
Extended commands? [no]:
Type escape sequence to abort.
Sending 100, 100-byte ICMP Echos to 10::10:2, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!
!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!
Success rate is 98 percent (98/100), round-trip min/avg/max = 28/416/1844 ms
cnc4#

cnc4#traceroute 10::10:2

Type escape sequence to abort.
Tracing the route to 10::10:2

 1 12::12:1 328 msec 212 msec 164 msec
 2 11::11:1 260 msec 572 msec 236 msec
 3 10::10:2 1048 msec 1064 msec 596 msec
cnc4#

---------------------------------------------
sekarang belajar bagaimana agar di area 3 adalah
totally stub, langkah-langkahnya:
---------------------------------------------

cnc3(config)#ipv6 router ospf 1
cnc3(config-rtr)#area 3 stub no-summary
cnc3(config-rtr)#

cnc4(config)#ipv6 router ospf 1
cnc4(config-rtr)#area 3 stub
cnc4(config-rtr)#
---------------------------------------------
how to check....adakah perbedaannya ?
tentu ada...
---------------------------------------------

cnc4#sh ipv6 route
IPv6 Routing Table - Default - 4 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
 B - BGP, M - MIPv6, R - RIP, I1 - ISIS L1
 I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
 EX - EIGRP external
 O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
 ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
OI  ::/0 [110/2]
 via FE80::C802:CFF:FE24:0, FastEthernet0/0
C   12::/64 [0/0]
 via FastEthernet0/0, directly connected
L   12::12:2/128 [0/0]
 via FastEthernet0/0, receive
L   FF00::/8 [0/0]
 via Null0, receive
cnc4#

cnc4#ping 10::10:2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10::10:2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 184/268/328 ms
cnc4#

---------------------------------------------
---------------------------------------------

---------------------------------------------
ref: Cisco IOS IPv6 Configuration Guide
Release 12.4, url: http://www.cisco.com (mei 2010)
4 Comments leave one →
  1. ardiyan permalink
    20 April 2011 5:51 PM

    nice info mas,,,
    mau nanya nih mas,,,
    kalo mpls ipv6 (pakai routing ospfv3) itu settingannya seperti ipv4 (“#mpls label protocol ldp ” dan “#mpls ip”) atau beda mas??? ..

    mohon bantuannya ,,makasih mas

  2. ADi permalink
    15 October 2011 11:56 PM

    tutorial mas sangat bagus sekali, saya udh mengikuti langkah-langkah di atas namun saya masih bingung, knp saat saya sh ipv6 route tidak muncul routing OSPFv3, apa yang harus saya lakukan..

  3. cilla permalink
    21 October 2011 12:17 AM

    mw tanya dong.. kl di jaringan IPv6 mw pake OSPF sama EIGRP, OSPF nya harus yg OSPFv3 ya? bagaimana dgn EIGRPnya? makasih sebelumnya

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

%d bloggers like this: