1. Konfig router Bandung
Router>ena
Router#conf t
Router(config)#hostname BANDUNG -- Memberi nama Router
(config)# enable secret cisco --> utk set password utk masuk privileged mode (passwordnya : cisco)
(config)#no ip domain-lookup - untuk menghilangkan loading verifikasi sintaks yg salah
(config)# line vty 0 4 membrikan hnya 5 user yg blh akses Telnet pd saat bersamaan
(config-line)# password
(config-line)# login
(config-line)# exec-timeout 5 0 - session 5 menit 0 detik
(config-line)# logging synchronous --> agar prompt muncul lagi ketika ada logging
BANDUNG(config)#int f0/0 - interface ke arah WAN
BANDUNG(config-if)#ip add 172.10.1.1 255.255.255.252 - IP WAN BANDUNG
BANDUNG(config-if)#description KONEKSI KE ROUTER JAKARTA
BANDUNG(config-if)#no shut
BANDUNG(config-if)#ex
BANDUNG(config)#interface FastEthernet1/0
BANDUNG(config-if)#description LINK KE LAN BANDUNG
BANDUNG(config-if)#no ip address
BANDUNG(config-if)#no shut
BANDUNG(config)#interface FastEthernet1/0.10
BANDUNG(config-subif)#encapsulation dot1Q 10
BANDUNG(config-subif)#ip address 192.168.10.254 255.255.255.0
BANDUNG(config-subif)# description LINK KE C4
!
BANDUNG(config)#interface FastEthernet1/0.20
BANDUNG(config-subif)# encapsulation dot1Q 20
BANDUNG(config-subif)# ip address 192.168.20.254 255.255.255.0
BANDUNG(config-subif)# description LINK KE QOS
!
BANDUNG(config)#interface FastEthernet1/0.30
BANDUNG(config-subif)#encapsulation dot1Q 30
BANDUNG(config-subif)#ip address 192.168.30.254 255.255.255.0
BANDUNG(config-subif)# description LINK KE INFO PRODUK
Ket : dns-server : bisa juga di
isikan DNS Public
BANDUNG(config)#ip dhcp pool C4
BANDUNG(dhcp-config)#network
192.168.10.0 255.255.255.0
BANDUNG(dhcp-config)#dns-server
192.168.10.254
BANDUNG(dhcp-config)#default-router
192.168.10.254
BANDUNG(dhcp-config)#exit
BANDUNG(config)#ip dhcp pool QOS
BANDUNG(dhcp-config)#network
192.168.20.0 255.255.255.0
BANDUNG(dhcp-config)#dns-server
192.168.20.254
BANDUNG(dhcp-config)#default-router
192.168.20.254
BANDUNG(dhcp-config)#exit
BANDUNG(config)#
BANDUNG(config)#ip dhcp pool
PRODUK
BANDUNG(dhcp-config)#network
192.168.30.0 255.255.255.0
BANDUNG(dhcp-config)#dns-server
192.168.30.254
BANDUNG(dhcp-config)#default-router
192.168.30.254
BANDUNG(dhcp-config)#ex
BANDUNG(config)#
Lalu kita setting switchnya, langkah-langkahnya sebagai berikut :
Definisikan Vlan :
Switch#vlan database
Switch(vlan)#vlan 10 name C4
Switch(vlan)#vlan 20 name QOS
Switch(vlan)#vlan 30 name PRODUK
Delegasikan port untuk mengakses tiap-tiap Vlan yang sudah didefinisikan :
Switch>enable
Switch#configure terminal
Switch(config)#interface fa0/1
-> Menuju router
Switch(config-if)#switchport
mode trunk
Switch(config-if)#exit
Switch(config)#interface range
fa0/2-10 -> Menuju PC LAN C4
Switch(config-if-range)#switchport
access vlan 10
Switch(config-if-range)#exit
Switch(config)#interface range
fa0/11-17 -> Menuju PC LAN QOS
Switch(config-if-range)#switchport
access vlan 20
Switch(config-if-range)#exit
Switch(config)#interface range
fa0/18-24 -> Menuju PC LAN PRODUK
Switch(config-if-range)#switchport
access vlan 30
Switch(config-if-range)#exit
STATIC
ROUTE :
BANDUNG(config)#ip route
192.168.40.0 255.255.255.240 172.10.1.2
BANDUNG(config)#ip route
192.168.50.0 255.255.255.240 172.10.1.2
BANDUNG(config)#ip route
172.10.2.0 255.255.255.252 172.10.1.2
ROUTING RIP ROUTER BANDUNG
BANDUNG(config)#router rip
BANDUNG(config-router)#version 2
BANDUNG(config-router)#network 192.168.10.0
BANDUNG(config-router)#network 192.168.20.0
BANDUNG(config-router)#network 192.168.30.0
BANDUNG(config-router)#network 172.10.1.0
BANDUNG(config-router)#ex
2. Konfig
router Jakarta
Router>en
Router#conf t
Router(config)#hostname JAKARTA
JAKARTA(config)#int fa1/0
JAKARTA(config-if)#ip add 172.10.1.2 255.255.255.252
JAKARTA(config-if)#description LINK KE ROUTER BANDUNG
JAKARTA(config-if)#no shut
JAKARTA(config-if)#ex
JAKARTA(config)#int fa0/0
JAKARTA(config-if)#ip add 192.168.40.1 255.255.255.240
JAKARTA(config-if)#description LINK KE LAN JAKARTA
JAKARTA(config-if)#no shut
JAKARTA(config-if)#ex
JAKARTA(config)#int se0/0
JAKARTA(config-if)#ip add 172.10.2.1 255.255.255.252
JAKARTA(config-if)#no shut
JAKARTA(config-if)#clock rate 64000
JAKARTA(config-if)#description LINK TO ROUTER BOGOR
JAKARTA(config-if)#ex
JAKARTA(config)#ip route 192.168.10.0 255.255.255.0 172.10.1.1
JAKARTA(config)#ip route 192.168.20.0 255.255.255.0 172.10.1.1
JAKARTA(config)#ip route 192.168.30.0 255.255.255.0 172.10.1.1
JAKARTA(config)#ip route 192.168.50.0 255.255.255.240 172.10.2.2
JAKARTA(config)#ex
Routing RIP JAKARTA
JAKARTA(config)#router rip
JAKARTA(config-router)#version 2
JAKARTA(config-router)#network 172.10.2.0
JAKARTA(config-router)#network 192.168.50.0
SETTING SWITCH JAKARTA
Switch>ena
Switch#conf t
Switch(config)# enable secret cisco --> utk set password utk masuk privileged mode (passwordnya : cisco)
(config)# line vty 0 4
(config-line)# password telkom
(config-line)# login
(config-line)# exec-timeout 5 0
(config-line)# logging synchronous --> agar prompt muncul lagi ketika ada logging
### memberi IP address pada interface vlan 1 ###
(config)# interface vlan 1
(config-if)# description IP SW
(config-if)# ip address 192.168.40.3 255.255.255.240
(config-if)# no shutdown
(config-if)# exit
(config)# ip default-gateway 192.168.40.1 ==> set gateway pada switch
(config)# end
3. Konfig
router Bogor
Router>ena
Router#conf t
Router(config)#hostname BOGOR
BOGOR(config)#int se0/0
BOGOR(config-if)#ip add 172.10.2.2 255.255.255.252
BOGOR(config-if)#description LINK TO ROUTER JAKARTA
BOGOR(config-if)#no shut
BOGOR(config-if)#ex
BOGOR(config)#int fa0/0
BOGOR(config-if)#ip add 192.168.50.1 255.255.255.240
BOGOR(config-if)#description LINK TO LAN BOGOR
BOGOR(config-if)#no shut
BOGOR(config-if)#ex
BOGOR(config)#ip route 0.0.0.0 0.0.0.0 172.10.2.1 ----> default route
Routing RIP BOGOR
BOGOR(config)#router rip
BOGOR(config-router)#version 2
BOGOR(config-router)#network 172.10.2.0
BOGOR(config-router)#network 192.168.50.0
BOGOR(config-router)#ex
Tidak ada komentar:
Posting Komentar