Catatan Dan Sharing Information

Tuesday, November 22, 2016

Konfigurasi Redistribute Ospf Static - Cisco Packet Tracer

RBJ
Title
Konfigurasi Redistribute Ospf Static
Issue Date
22 November 2016
Prepare by
Agung Ma’ruf
Teacher
Suyatno, S.Kom 
SMK AL-BAHRI KOTA BEKASI 

A. Tujuan Lab :
  1. Setiap device dapat terhubung dengan yang lainnya.
  2. Setiap PC/Laptop dapat membuka Domain yang telah di setting DNSnya, dengan DNSnya adalah agung.com
B. Topologi :

Konfigurasinya dapat diperhatikan seperti dibawah ini.


·         Router 1 :
1.      Mengkonfigurasi Ip Address
interface FastEthernet0/0
ip address 20.0.0.1 255.255.255.240
no shutdown
interface FastEthernet0/1
ip address 10.0.0.1 255.255.255.240
no shutdown
interface FastEthernet1/0
ip address 8.8.8.7 255.255.255.240
no shutdown
2.      Mengkonfigurasi Router Ospf
router ospf 1
network 20.0.0.0 0.0.0.15 area 0
network 10.0.0.0 0.0.0.15 area 0
network 8.8.8.0 0.0.0.15 area 0

·         Router 2 :
1.      Mengkonfigurasi Ip Address
interface FastEthernet0/0
ip address 20.0.0.2 255.255.255.240
no shutdown
interface FastEthernet0/1
ip address 40.0.0.1 255.255.255.240
no shutdown
2.      Mengkonfigurasi Router Ospf Dan Meredistribute
router ospf 1
redistribute static subnets
network 20.0.0.0 0.0.0.15 area 0
network 40.0.0.0 0.0.0.15 area 0
3.      Mengkonfigurasi Routing Static
ip route 192.168.10.0 255.255.255.240 40.0.0.2
ip route 192.168.20.0 255.255.255.240 40.0.0.2
ip route 192.168.30.0 255.255.255.240 40.0.0.2

·         Router 0 :
1.      Mengkonfigurasi Ip Address
interface FastEthernet0/0
ip address 10.0.0.2 255.255.255.240
no shutdown
interface FastEthernet0/1
ip address 30.0.0.1 255.255.255.240
no shutdown

2.      Mengkonfigurasi Router Ospf Dan Meredistribute
router ospf 1
redistribute static subnets
network 10.0.0.0 0.0.0.15 area 0
network 30.0.0.0 0.0.0.15 area 0
3.      Mengkonfigurasi Routing Static
ip route 192.168.1.0 255.255.255.240 30.0.0.2
ip route 192.168.2.0 255.255.255.240 30.0.0.2
ip route 192.168.3.0 255.255.255.240 30.0.0.2

·         Multilayer – switch 0 :
1.      Mengkonfigurasi DHCP
Sebelum konfigurasi ini kita terlebih dahulu membuat dan memberi nama vlan.
ip dhcp pool vlan10
network 192.168.1.0 255.255.255.240
default-router 192.168.1.1
dns-server 8.8.8.8
ip dhcp pool vlan20
network 192.168.2.0 255.255.255.240
default-router 192.168.2.1
dns-server 8.8.8.8
ip dhcp pool vlan30
network 192.168.3.0 255.255.255.240
default-router 192.168.3.1
dns-server 8.8.8.8
2.      Memberi Ip Routing
ip routing
3.      Mengkonfigurasi Ip Address
interface FastEthernet0/1
no switchport
ip address 30.0.0.2 255.255.255.240
no shutdown
4.      Memberi Access Vlan Pada Interface
interface FastEthernet0/2
switchport access vlan 10
switchport mode access
interface FastEthernet0/3
switchport access vlan 10
switchport mode access
interface FastEthernet0/4
switchport access vlan 20
switchport mode access
interface FastEthernet0/5
switchport access vlan 20
switchport mode access
interface FastEthernet0/6
switchport access vlan 30
switchport mode access
interface FastEthernet0/7
switchport access vlan 30
switchport mode access
5.      Memberi Ip Address Pada Vlan
interface Vlan10
ip address 192.168.1.1 255.255.255.240
interface Vlan20
ip address 192.168.2.1 255.255.255.240
interface Vlan30
ip address 192.168.3.1 255.255.255.240

6.      Mengkonfigurasi Routing Static
ip route 0.0.0.0 0.0.0.0 30.0.0.1

Berikut Hasil DHCP Multilayer - Switch0 :




·         Multilayer – switch 1 :
1.      Mengkonfigurasi DHCP
ip dhcp pool vlan10
network 192.168.10.0 255.255.255.240
default-router 192.168.10.1
dns-server 8.8.8.8
ip dhcp pool vlan20
network 192.168.20.0 255.255.255.240
default-router 192.168.20.1
dns-server 8.8.8.8
ip dhcp pool vlan30
network 192.168.30.0 255.255.255.240
default-router 192.168.30.1
dns-server 8.8.8.8
2.      Memberi Ip Routing
ip routing
3.      Mengkonfigurasi Ip Address
interface FastEthernet0/1
no switchport
ip address 40.0.0.2 255.255.255.240
4.      Memberi Access Vlan Pada Interface
interface FastEthernet0/2
switchport access vlan 10
switchport mode access
interface FastEthernet0/3
switchport access vlan 20
switchport mode access
interface FastEthernet0/4
switchport access vlan 30
switchport mode access
interface FastEthernet0/5
switchport access vlan 30
switchport mode access
interface FastEthernet0/6
switchport access vlan 20
switchport mode access
interface FastEthernet0/7
switchport access vlan 10
switchport mode access
5.      Memberi Ip Address Pada Vlan
interface Vlan10
ip address 192.168.10.1 255.255.255.240
interface Vlan20
ip address 192.168.20.1 255.255.255.240
interface Vlan30
ip address 192.168.30.1 255.255.255.240

6.      Mengkonfigurasi Routing Static
ip route 0.0.0.0 0.0.0.0 40.0.0.1

Berikut Hasil DHCP Multilayer - Switch1 :




·         Mensetting pada server :
Pada Desktop – Ip Configuration :
Ip Address : 8.8.8.8
Subnet Mask : 255.255.255.240
Default Gateway : 8.8.8.7
Dns Server : 8.8.8.8

Pada Services – Dns :
Name : namamu.com (agung.com)
Address : 8.8.8.8

Berikut ini adalah hasil dari semua konfigurasi di atas :