Lab 3 - OSPF Standar Area
Topologi yang digunakan adalah sbb :
Skenarionya adalah bahwa all router dapat menerima routing dari router yang lain dengan menggunakan routing OSPF.
Konfigurasi R1 :
interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
interface Loopback1
ip address 100.100.100.1 255.255.255.255
!
interface Loopback2
ip address 100.100.100.2 255.255.255.255
!
interface Loopback3
ip address 100.100.100.3 255.255.255.255
!
interface Loopback4
ip address 100.100.100.4 255.255.255.255
!
interface Loopback5
ip address 100.100.100.5 255.255.255.255
!
interface Loopback6
ip address 100.100.100.6 255.255.255.255
!
interface Loopback7
ip address 100.100.100.7 255.255.255.255
!
interface Serial0/0
ip address 12.12.12.1 255.255.255.0
!
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
!
router ospf 1ip address 1.1.1.1 255.255.255.255
!
interface Loopback1
ip address 100.100.100.1 255.255.255.255
!
interface Loopback2
ip address 100.100.100.2 255.255.255.255
!
interface Loopback3
ip address 100.100.100.3 255.255.255.255
!
interface Loopback4
ip address 100.100.100.4 255.255.255.255
!
interface Loopback5
ip address 100.100.100.5 255.255.255.255
!
interface Loopback6
ip address 100.100.100.6 255.255.255.255
!
interface Loopback7
ip address 100.100.100.7 255.255.255.255
!
interface Serial0/0
ip address 12.12.12.1 255.255.255.0
!
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
!
router-id 1.1.1.1
log-adjacency-changes
redistribute eigrp 1 subnets
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
Konfigurasi R2 :
interface Loopback0
ip address 2.2.2.2 255.255.255.255
!
interface FastEthernet0/0
ip address 23.23.23.2 255.255.255.0
!
interface Serial0/0
ip address 12.12.12.2 255.255.255.0
!
ip address 2.2.2.2 255.255.255.255
!
interface FastEthernet0/0
ip address 23.23.23.2 255.255.255.0
!
interface Serial0/0
ip address 12.12.12.2 255.255.255.0
!
router ospf 2
router-id 2.2.2.2
log-adjacency-changes
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
router-id 2.2.2.2
log-adjacency-changes
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 :
interface Loopback0
ip address 3.3.3.3 255.255.255.255
!
interface FastEthernet0/0
ip address 23.23.23.3 255.255.255.0
!
ip address 3.3.3.3 255.255.255.255
!
interface FastEthernet0/0
ip address 23.23.23.3 255.255.255.0
!
router ospf 3
router-id 3.3.3.3
log-adjacency-changes
network 3.3.3.3 0.0.0.0 area 1
network 23.23.23.3 0.0.0.0 area 1
router-id 3.3.3.3
log-adjacency-changes
network 3.3.3.3 0.0.0.0 area 1
network 23.23.23.3 0.0.0.0 area 1
Hasil cek routing table pada all router :
R1#sh ip route
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
2.0.0.0/32 is subnetted, 1 subnets
O IA 2.2.2.2 [110/65] via 12.12.12.2, 00:13:56, Serial0/0
100.0.0.0/32 is subnetted, 7 subnets
C 100.100.100.4 is directly connected, Loopback4
C 100.100.100.5 is directly connected, Loopback5
C 100.100.100.6 is directly connected, Loopback6
C 100.100.100.7 is directly connected, Loopback7
C 100.100.100.1 is directly connected, Loopback1
C 100.100.100.2 is directly connected, Loopback2
C 100.100.100.3 is directly connected, Loopback3
3.0.0.0/32 is subnetted, 1 subnets
O IA 3.3.3.3 [110/75] via 12.12.12.2, 00:13:24, Serial0/0
23.0.0.0/24 is subnetted, 1 subnets
O IA 23.23.23.0 [110/74] via 12.12.12.2, 00:13:58, Serial0/0
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, Serial0/0
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
2.0.0.0/32 is subnetted, 1 subnets
O IA 2.2.2.2 [110/65] via 12.12.12.2, 00:13:56, Serial0/0
100.0.0.0/32 is subnetted, 7 subnets
C 100.100.100.4 is directly connected, Loopback4
C 100.100.100.5 is directly connected, Loopback5
C 100.100.100.6 is directly connected, Loopback6
C 100.100.100.7 is directly connected, Loopback7
C 100.100.100.1 is directly connected, Loopback1
C 100.100.100.2 is directly connected, Loopback2
C 100.100.100.3 is directly connected, Loopback3
3.0.0.0/32 is subnetted, 1 subnets
O IA 3.3.3.3 [110/75] via 12.12.12.2, 00:13:24, Serial0/0
23.0.0.0/24 is subnetted, 1 subnets
O IA 23.23.23.0 [110/74] via 12.12.12.2, 00:13:58, Serial0/0
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, Serial0/0
R2#sh ip route
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
O 1.1.1.1 [110/65] via 12.12.12.1, 00:14:19, Serial0/0
2.0.0.0/32 is subnetted, 1 subnets
C 2.2.2.2 is directly connected, Loopback0
100.0.0.0/32 is subnetted, 7 subnets
O E2 100.100.100.4 [110/20] via 12.12.12.1, 00:14:19, Serial0/0
O E2 100.100.100.5 [110/20] via 12.12.12.1, 00:14:19, Serial0/0
O E2 100.100.100.6 [110/20] via 12.12.12.1, 00:14:19, Serial0/0
O E2 100.100.100.7 [110/20] via 12.12.12.1, 00:14:19, Serial0/0
O IA 100.100.100.1 [110/65] via 12.12.12.1, 00:14:20, Serial0/0
O IA 100.100.100.2 [110/65] via 12.12.12.1, 00:14:20, Serial0/0
O IA 100.100.100.3 [110/65] via 12.12.12.1, 00:14:20, Serial0/0
3.0.0.0/32 is subnetted, 1 subnets
O 3.3.3.3 [110/11] via 23.23.23.3, 00:13:46, FastEthernet0/0
23.0.0.0/24 is subnetted, 1 subnets
C 23.23.23.0 is directly connected, FastEthernet0/0
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, Serial0/0
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
O 1.1.1.1 [110/65] via 12.12.12.1, 00:14:19, Serial0/0
2.0.0.0/32 is subnetted, 1 subnets
C 2.2.2.2 is directly connected, Loopback0
100.0.0.0/32 is subnetted, 7 subnets
O E2 100.100.100.4 [110/20] via 12.12.12.1, 00:14:19, Serial0/0
O E2 100.100.100.5 [110/20] via 12.12.12.1, 00:14:19, Serial0/0
O E2 100.100.100.6 [110/20] via 12.12.12.1, 00:14:19, Serial0/0
O E2 100.100.100.7 [110/20] via 12.12.12.1, 00:14:19, Serial0/0
O IA 100.100.100.1 [110/65] via 12.12.12.1, 00:14:20, Serial0/0
O IA 100.100.100.2 [110/65] via 12.12.12.1, 00:14:20, Serial0/0
O IA 100.100.100.3 [110/65] via 12.12.12.1, 00:14:20, Serial0/0
3.0.0.0/32 is subnetted, 1 subnets
O 3.3.3.3 [110/11] via 23.23.23.3, 00:13:46, FastEthernet0/0
23.0.0.0/24 is subnetted, 1 subnets
C 23.23.23.0 is directly connected, FastEthernet0/0
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, Serial0/0
R3#sh ip route
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
O IA 1.1.1.1 [110/75] via 23.23.23.2, 00:14:01, FastEthernet0/0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/11] via 23.23.23.2, 00:14:01, FastEthernet0/0
100.0.0.0/32 is subnetted, 7 subnets
O E2 100.100.100.4 [110/20] via 23.23.23.2, 00:14:01, FastEthernet0/0
O E2 100.100.100.5 [110/20] via 23.23.23.2, 00:14:01, FastEthernet0/0
O E2 100.100.100.6 [110/20] via 23.23.23.2, 00:14:01, FastEthernet0/0
O E2 100.100.100.7 [110/20] via 23.23.23.2, 00:14:02, FastEthernet0/0
O IA 100.100.100.1 [110/75] via 23.23.23.2, 00:14:02, FastEthernet0/0
O IA 100.100.100.2 [110/75] via 23.23.23.2, 00:14:02, FastEthernet0/0
O IA 100.100.100.3 [110/75] via 23.23.23.2, 00:14:02, FastEthernet0/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, FastEthernet0/0
12.0.0.0/24 is subnetted, 1 subnets
O IA 12.12.12.0 [110/74] via 23.23.23.2, 00:14:04, FastEthernet0/0
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
O IA 1.1.1.1 [110/75] via 23.23.23.2, 00:14:01, FastEthernet0/0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/11] via 23.23.23.2, 00:14:01, FastEthernet0/0
100.0.0.0/32 is subnetted, 7 subnets
O E2 100.100.100.4 [110/20] via 23.23.23.2, 00:14:01, FastEthernet0/0
O E2 100.100.100.5 [110/20] via 23.23.23.2, 00:14:01, FastEthernet0/0
O E2 100.100.100.6 [110/20] via 23.23.23.2, 00:14:01, FastEthernet0/0
O E2 100.100.100.7 [110/20] via 23.23.23.2, 00:14:02, FastEthernet0/0
O IA 100.100.100.1 [110/75] via 23.23.23.2, 00:14:02, FastEthernet0/0
O IA 100.100.100.2 [110/75] via 23.23.23.2, 00:14:02, FastEthernet0/0
O IA 100.100.100.3 [110/75] via 23.23.23.2, 00:14:02, FastEthernet0/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, FastEthernet0/0
12.0.0.0/24 is subnetted, 1 subnets
O IA 12.12.12.0 [110/74] via 23.23.23.2, 00:14:04, FastEthernet0/0
Terlihat bahwa pada masing - masing router sudah menerima routing dari router lain secara lengkap.
Kita coba cek ip ospf database di router R3 sebagai referensi :
R3#sh ip ospf database
OSPF Router with ID (3.3.3.3) (Process ID 3)
Router Link States (Area 1)
Link ID ADV Router Age Seq# Checksum Link count
2.2.2.2 2.2.2.2 928 0x80000003 0x00CAA3 23.3.3.3 3.3.3.3 927 0x80000003 0x00DB86 2
Net Link States (Area 1)
Link ID ADV Router Age Seq# Checksum
23.23.23.3 3.3.3.3 927 0x80000001 0x00B21F
Summary Net Link States (Area 1)
Link ID ADV Router Age Seq# Checksum
1.1.1.1 2.2.2.2 958 0x80000001 0x00AB44
12.12.12.0 2.2.2.2 968 0x80000001 0x001EB2
100.100.100.1 2.2.2.2 958 0x80000001 0x00B114
100.100.100.2 2.2.2.2 958 0x80000001 0x00A71D
100.100.100.3 2.2.2.2 958 0x80000001 0x009D26
Summary ASB Link States (Area 1)
Link ID ADV Router Age Seq# Checksum
1.1.1.1 2.2.2.2 958 0x80000001 0x00935C
Type-5 AS External Link States
Link ID ADV Router Age Seq# Checksum Tag
100.100.100.4 1.1.1.1 973 0x80000001 0x0083E7 0
100.100.100.5 1.1.1.1 973 0x80000001 0x0079F0 0
100.100.100.6 1.1.1.1 973 0x80000001 0x006FF9 0
100.100.100.7 1.1.1.1 973 0x80000001 0x006503 0
Tidak ada komentar:
Posting Komentar