Saturday, February 09, 2013

OSPF Standar area

Biar ngerti cara kerja LSA 1-7
saatnya di lab kan :
buat interface loopback di R1 :
int l0
ip add 1.1.1.1 255.255.255.255
int l1
ip add 100.100.100.1 255.255.255.255
int l2
ip add 100.100.100.2 255.255.255.255
int l3
ip add 100.100.100.3 255.255.255.255
int l4
ip add 100.100.100.4 255.255.255.255



int l5
ip add 100.100.100.5 255.255.255.255

int l6
ip add 100.100.100.6 255.255.255.255
int l7
ip add 100.100.100.7 255.255.255.255


int f0/0
ip add 12.12.12.1 255.255.255.0
no sh
router ospf 1
router-id 1.1.1.1
network 1.1.1.1 0.0.0.0 area 0
network 12.12.12.1 0.0.0.0 area 0
network 100.100.100.1 0.0.0.0 area 100
network 100.100.100.2 0.0.0.0 area 100
network 100.100.100.3 0.0.0.0 area 100
redistribute eigrp 1 subnet

router eigrp 1
network 100.100.100.4 0.0.0.0
network 100.100.100.5 0.0.0.0
network 100.100.100.6 0.0.0.0
network 100.100.100.7 0.0.0.0

konfigurasi R2:
int l0
ip add 2.2.2.2 255.255.255.255
int f0/0
ip add 12.12.12.2 255.255.255.0
no sh
int s0/0
ip add 23.23.23.2 255.255.255.0
no sh
router ospf 2
network 2.2.2.2 0.0.0.0 area 1
network 12.12.12.2 0.0.0.0 area 0
network 23.23.23.2 0.0.0.0 area 1

Konfigurasi R3 :
int l0
ip add 3.3.3.3 255.255.255.255
int s0/0
ip add 23.23.23.3 255.255.255.0
no sh
router ospf 3
network 3.3.3.3 0.0.0.0 area 1
network 23.23.23.3 0.0.0.0 area 1

verifikasi :
R3:


R3(config-router)#do sh ip route
C    203.203.203.0/24 is directly connected, Tunnel2
     1.0.0.0/32 is subnetted, 1 subnets
O IA    1.1.1.1 [110/75] via 23.23.23.2, 00:00:03, Serial0/0
     2.0.0.0/32 is subnetted, 1 subnets
O       2.2.2.2 [110/65] via 23.23.23.2, 00:00:03, Serial0/0
     100.0.0.0/32 is subnetted, 7 subnets
O E2    100.100.100.4 [110/20] via 23.23.23.2, 00:00:03, Serial0/0
O E2    100.100.100.5 [110/20] via 23.23.23.2, 00:00:03, Serial0/0
O E2    100.100.100.6 [110/20] via 23.23.23.2, 00:00:03, Serial0/0
O E2    100.100.100.7 [110/20] via 23.23.23.2, 00:00:04, Serial0/0
O IA    100.100.100.1 [110/75] via 23.23.23.2, 00:00:04, Serial0/0
O IA    100.100.100.2 [110/75] via 23.23.23.2, 00:00:04, Serial0/0
O IA    100.100.100.3 [110/75] via 23.23.23.2, 00:00:04, Serial0/0
     3.0.0.0/32 is subnetted, 1 subnets
C       3.3.3.3 is directly connected, Loopback0
     23.0.0.0/24 is subnetted, 1 subnets
C       23.23.23.0 is directly connected, Serial0/0
     12.0.0.0/24 is subnetted, 1 subnets
O IA    12.12.12.0 [110/74] via 23.23.23.2, 00:00:20, Serial0/0


R3(config-router)#do sh ip ospf database

     
                Router Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum Link count
2.2.2.2         2.2.2.2         48          0x80000003 0x009A45 3
3.3.3.3         3.3.3.3         47          0x80000001 0x00C018 3

                Summary Net Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum
1.1.1.1         2.2.2.2         182         0x80000001 0x008D98
12.12.12.0      2.2.2.2         214         0x80000001 0x00FF07
100.100.100.1   2.2.2.2         204         0x80000001 0x009368
100.100.100.2   2.2.2.2         209         0x80000001 0x008971
100.100.100.3   2.2.2.2         209         0x80000001 0x007F7A
203.203.203.0   3.3.3.3         76          0x80000001 0x001526

                Summary ASB Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum
1.1.1.1         2.2.2.2         210         0x80000001 0x0075B0

                Type-5 AS External Link States

Link ID         ADV Router      Age         Seq#       Checksum Tag
100.100.100.4   1.1.1.1         438         0x80000001 0x0083E7 0
100.100.100.5   1.1.1.1         447         0x80000001 0x0079F0 0
100.100.100.6   1.1.1.1         447         0x80000001 0x006FF9 0
100.100.100.7   1.1.1.1         448         0x80000001 0x006503 0





No comments: