Lab 3. OSPF Standar Area
Lab 3. OSPF Standar Area
Pada Lab kali ini kita akan membuat beberapa area berbeda serta route lain selain ospf yakni EIGRP. Tujuannya untuk dapat mengetahui LSA tipe berapa saja yang ada dan digunakan oleh OSPF.
R1:R1(config)#int lo0
R1(config-if)#ip add 1.1.1.1 255.255.255.255
R1(config-if)#int lo1
R1(config-if)#ip add 100.100.100.1 255.255.255.255
R1(config-if)#int lo2
R1(config-if)#ip add 100.100.100.2 255.255.255.255
R1(config-if)#int lo3
R1(config-if)#ip add 100.100.100.3 255.255.255.255
R1(config-if)#int lo4
R1(config-if)#ip add 100.100.100.4 255.255.255.255
R1(config-if)#ex
R1(config)#
R1(config-if)#int lo5
R1(config-if)#ip add 100.100.100.5 255.255.255.255
R1(config-if)#ex
R1(config)#
R1(config-if)#int lo6
R1(config-if)#ip add 100.100.100.6 255.255.255.255
R1(config-if)#ex
R1(config)#
R1(config-if)#int lo7
R1(config-if)#ip add 100.100.100.7 255.255.255.255
R1(config-if)#ex
R1(config)#
R1(config)#int fa0/0
R1(config-if)#ip add 12.12.12.1 255.255.255.0
R1(config-if)#no sh
R1(config-if)#ex
R1(config)#
R1(config)#router ospf 1
R1(config-router)#router-id 1.1.1.1
R1(config-router)#network 1.1.1.1 0.0.0.0 area 0
R1(config-router)#network 100.100.100.1 0.0.0.0 area 100
R1(config-router)#network 100.100.100.2 0.0.0.0 area 100
R1(config-router)#network 100.100.100.3 0.0.0.0 area 100
R1(config-router)#network 12.12.12.1 0.0.0.0 area 0
R1(config-router)#redistribute eigrp 10 subnets
R1(config-router)#exit
R1(config)#
R1(config)#router eigrp 10
R1(config-router)#network 100.100.100.4 0.0.0.0
R1(config-router)#network 100.100.100.5 0.0.0.0
R1(config-router)#network 100.100.100.6 0.0.0.0
R1(config-router)#network 100.100.100.7 0.0.0.0
R1(config-router)#no auto-summary
R1(config-router)#exit
R2:
R2(config)#int lo0
R2(config-if)#ip add 2.2.2.2 255.255.255.255
R2(config-if)#exit
R2(config)#
R2(config)#int fa0/0
R2(config-if)#ip add 12.12.12.2 255.255.255.0
R2(config-if)#no sh
R2(config-if)#exit
R2(config)#
R2(config)#int g1/0
R2(config-if)#ip add 23.23.23.2 255.255.255.0
R2(config-if)#no sh
R2(config-if)#exit
R2(config)#
R2(config)#router ospf 2
R2(config-router)#router-id 2.2.2.2
R2(config-router)#network 2.2.2.2 0.0.0.0 area 1
R2(config-router)#network 12.12.12.2 0.0.0.0 area 0
R2(config-router)#network 23.23.23.2 0.0.0.0 area 1
R2(config-router)#exit
R3:
R3(config)#int lo0
R3(config-if)#ip add 3.3.3.3 255.255.255.255
R3(config-if)#int g1/0
R3(config-if)#ip add 23.23.23.3 255.255.255.0
R3(config-if)#no sh
R2(config-if)#exit
R2(config)#
R3(config)#router ospf 3
R3(config-router)#router-id 3.3.3.3
R3(config-router)#network 3.3.3.3 0.0.0.0 area 1
R3(config-router)#network 23.23.23.3 0.0.0.0 area 1
R3:
R3(config)#do sh ip route ospf
1.0.0.0/32 is subnetted, 1 subnets
O IA 1.1.1.1 [110/3] via 23.23.23.2, 00:16:30, GigabitEthernet1/0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/2] via 23.23.23.2, 00:27:45, GigabitEthernet1/0
12.0.0.0/24 is subnetted, 1 subnets
O IA 12.12.12.0 [110/2] via 23.23.23.2, 00:27:45, GigabitEthernet1/0
100.0.0.0/32 is subnetted, 7 subnets
O IA 100.100.100.1 [110/3] via 23.23.23.2, 00:16:30, GigabitEthernet1/0
O IA 100.100.100.2 [110/3] via 23.23.23.2, 00:16:30, GigabitEthernet1/0
O IA 100.100.100.3 [110/3] via 23.23.23.2, 00:16:30, GigabitEthernet1/0
O E2 100.100.100.4 [110/20] via 23.23.23.2, 00:16:25, GigabitEthernet1/0
O E2 100.100.100.5 [110/20] via 23.23.23.2, 00:16:25, GigabitEthernet1/0
O E2 100.100.100.6 [110/20] via 23.23.23.2, 00:16:25, GigabitEthernet1/0
O E2 100.100.100.7 [110/20] via 23.23.23.2, 00:16:25, GigabitEthernet1/0
* Perhatikan perbedaan Route Kode dilihat R3 di atas.
* Route 2.2.2.2 , itu muncul sebagai Tipe Route ‘O’ (Normal OSPF Route)
* Route 100.100.100.1 , ia muncul sebagai Tipe Route ‘OIA’ (OSPF Inter-Area Route)
* Route 100.100.100.4, ia muncul sebagai Tipe Route ‘0E2’ (OSPF External Route Type 2
R3:
R3(config)#do sh ip ospf database
OSPF Router with ID (3.3.3.3) (Process ID 3)
Router Link States (Area 1) → LSA Type 1
Link ID ADV Router Age Seq# Checksum Link count
2.2.2.2 2.2.2.2 1889 0x80000004 0x005E19 2
3.3.3.3 3.3.3.3 1877 0x80000003 0x004D1F 2
Net Link States (Area 1) → LSA Type 2
Link ID ADV Router Age Seq# Checksum
23.23.23.2 2.2.2.2 1889 0x80000001 0x00EAEB
Summary Net Link States (Area 1) → LSA Type 3
Link ID ADV Router Age Seq# Checksum
1.1.1.1 2.2.2.2 1211 0x80000001 0x0033FB
12.12.12.0 2.2.2.2 1006 0x80000002 0x00A36B
100.100.100.1 2.2.2.2 1211 0x80000001 0x0039CB
100.100.100.2 2.2.2.2 1211 0x80000001 0x002FD4
100.100.100.3 2.2.2.2 1211 0x80000001 0x0025DD
Summary ASB Link States (Area 1) --- > LSA Type 4
Link ID ADV Router Age Seq# Checksum
1.1.1.1 2.2.2.2 1211 0x80000001 0x001B14
Type-5 AS External Link States --- > LSA Type 5
Link ID ADV Router Age Seq# Checksum Tag
100.100.100.4 1.1.1.1 1347 0x80000002 0x0081E8 0
100.100.100.5 1.1.1.1 1347 0x80000002 0x0077F1 0
100.100.100.6 1.1.1.1 1347 0x80000002 0x006DFA 0
100.100.100.7 1.1.1.1 1347 0x80000002 0x006304 0
Komentar
Posting Komentar