You are on page 1of 6

CONTOH KASUS SETTING ROUTER DENGAN DUA ROUTER

- Router 1 dari Jakarta Ip Network 172.203.10.0/30
IP Broadcast 172.203.10.2/30
Ip Host 192.189.60.0
- Router 2 dari Bogor IP Network 172.203.10.0/30
IP broadcast 172.203.10.1/30
iP HOST VLAN 10 – VLAN 50

Setting Switch di Jakarta :

Switch(config)#in
Switch(config)#interface vlan 1
Switch(config-if)#descr
Switch(config-if)#description IP SWITCH
Switch(config-if)#ip add
Switch(config-if)#ip address 192.189.60.3 255.255.255.0
Switch(config-if)#no shut

Switch(config-if)#ip de
Switch(config-if)#ip def
Switch(config-if)#ip defaul
Switch(config-if)#exi
Switch(config)#ip def
Switch(config)#ip default-gateway 192.189.60.1
Switch(config)#end

Setting router – By Dema

255.255.255.255.10.20.255.189.0 BOGOR(config-if)#Description LINK KE TL BOGOR(config-if)# ex BOGOR(config)#int fa1/0.10.2 Setting router – By Dema .255.30 BOGOR(config-if)# encapsulation dot1Q 30 BOGOR(config-if)# ip address 192.255.252 BOGOR (config-if) # description IP WAN BOGOR KONEKSI KE ROUTER JAKARTA BOGOR (config-if) # no shut BOGOR (config-if) # exi BOGOR(config) # int fa1/0 BOGOR(config-if) # description INTERFACE KE LAN BUAT SUBINTERFACE BOGOR(config-if) # no ip address BOGOR(config-if) # no shut BOGOR(config-if) #ex BOGOR(config)#int fa1/0.189.254 255.255.20 BOGOR(config-if)# encapsulation dot1Q 20 BOGOR(config-if)# ip address 192.0 BOGOR(config-if)#Description LINK KE SPV BOGOR(config-if)# ex Setting IP static di router Bogor : BOGOR(config)#ip route 192.0 BOGOR(config-if)#Description LINK KE ADMIN BOGOR(config-if)# ex BOGOR(config)#int fa1/0.189.0 BOGOR(config-if)#Description LINK KE QCO BOGOR(config-if)# ex BOGOR(config)#int fa1/0.254 255.40.255.252 172.10 BOGOR(config-if)# encapsulation dot1Q 10 BOGOR(config-if)# ip address 192.0 255.10.255.203.0 BOGOR(config-if)#Description LINK KE C4 BOGOR(config-if)# ex BOGOR(config)#int fa1/0.40 BOGOR(config-if)# encapsulation dot1Q 40 BOGOR(config-if)# ip address 192.255.254 255.0 172.203.255.189.255.254 255.50 BOGOR(config-if)# encapsulation dot1Q 50 BOGOR(config-if)# ip address 192.203.10.0 255.50.30.10.2 BOGOR(config)#ip route 172.189.60.255.SETTING ROUTER di BOGOR : BOGOR(config) # int fa0/0 BOGOR (config-if) #ip add 172.254 255.189.255.255.203.1 255.

[OK] Switch(config-if-range)#ex Switch(config)#int range fa0/15-18 Switch(config-if-range)#switchport access vlan 40 Setting router – By Dema .. Switch(config)#int fa0/1 Switch(config-if)#switchport mode trunk Switch(config-if)#ex Switch(config)#int range fa0/2-10 Switch(config-if-range)#swit Switch(config-if-range)#switchport access vlan 10 Switch(config-if-range)#do wr Building configuration... Config PORT switch di bogor : Switch#conf t Enter configuration commands. [OK] Switch(config-if-range)#ex Switch(config)#int range fa0/11-12 Switch(config-if-range)#switchport access vlan 20 Switch(config-if-range)#do wr Building configuration..... End with CNTL/Z..Setting VLAN di Switch : Switch(vlan)#vlan 10 name C4 VLAN 10 added: Name: C4 Switch(vlan)#vlan 20 name QCO VLAN 20 added: Name: QCO Switch(vlan)#vlan 30 name Admin VLAN 30 added: Name: Admin Switch(vlan)#vlan 40 name TL VLAN 40 added: Name: TL Switch(vlan)#vlan 50 name SPV VLAN 50 added: Name: SPV Switch(vlan)#exi APPLY completed. one per line. Exiting.. [OK] Switch(config-if-range)#ex Switch(config)#int range fa0/13-14 Switch(config-if-range)#switchport access vlan 30 Switch(config-if-range)#do wr Building configuration.

255.203.203.10.255.0 255. changed state to up JAKARTA(config-if)#do wr mem Building configuration.203.255.189. [OK] JAKARTA(config-if)#ex JAKARTA(config)#int fa1/0 JAKARTA(config-if)#ip add 192.189.30.1 JAKARTA(config)#ip route 192.10.0 172..0 172. changed state to up JAKARTA(config-if)#do wr mem JAKARTA(config-if)#eX SETTING IP STATIC di JAKARTA: JAKARTA(config)#ip route 192.255.255..1 JAKARTA(config)#ip route 192.1 JAKARTA(config)#172.0 255. [OK] Switch(config-if-range)#ex Switch(config)#do wr mem Building configuration.1 JAKARTA(config)#ip route 192.203.203.203.1 JAKARTA(config)#ip route 192.203.255.10.0 172.Switch(config-if-range)#do wr Building configuration.10.10.189..252 172.40.255.255.189.189..0 172.1 255..255.255.189. [OK] Switch(config)#exi ROUTER JAKARTA : Router(config)#hostname JAKARTA JAKARTA(config)#int fa0/0 JAKARTA(config-if)#ip add 172.0 255.0 255.252 JAKARTA(config-if)#description IP WAN JAKARTA KONEKSI KE ROUTER BOGOR JAKARTA(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet0/0.60. changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.255.20.2 255..10.10.0 255. [OK] Switch(config-if-range)#ex Switch(config)#int range fa0/19-20 Switch(config-if-range)#switchport access vlan 50 Switch(config-if-range)#do wr Building configuration.0 JAKARTA(config-if)#description LINK KE LAN JAKARTA JAKARTA(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet1/0.50.0 172.255.255.10.10.203.255.255.255. changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0...0 255.1 Setting router – By Dema .

cd80 ARPA GigabitEthernet2/2/0.709 is up. line protocol is up Hardware is GigEther SPA.CONTOH SETTING ROUTER UNTUK NOMER TIKET M.709 Internet 222.21d7 ARPA GigabitEthernet2/2/0.2611.161 . DLY 10 usec. rxload 18/255 Encapsulation 802. BW 2048 Kbit/sec. 216416444014 bytes Last clearing of "show interface" counters never PE-D1-PBR-INET#sh arp vrf Astinet-Conn GigabitEthernet2/2/0.163 84 fc5b.162 0 fc5b.709 Switch(vlan)#vlan 709 name TELKOM Switch(vlan)#exi Setting router – By Dema .9c6f. address is 0016.9.9c6f.2611.cd80) Description: ASTINET PT ASURANSI JIWA INHEALTH SUDIRMAN CITY SQUARE CID 1073709 SID 4701399-18990 Internet address is 222.124.cd80 (bia 0016.05671 PE-D1-PBR-INET#sh int GigabitEthernet2/2/0.1Q Virtual LAN.1021.709 Protocol Address Age (min) Hardware Addr Type Interface Internet 222. Vlan ID 709.709 Internet 222.124.161/29 MTU 1500 bytes.124.709 GigabitEthernet2/2/0.124.9c6f.0016. 625442044301 bytes 4763240851 packets output. reliability 255/255. ARP Timeout 04:00:00 Keepalive not supported 5004271517 packets input.21d7 ARPA GigabitEthernet2/2/0.9. ARP type: ARPA.9. txload 144/255.9.

255.Switch#conf t Enter configuration commands.161 255.124.709 PE-D1-PBR-INET (config-subif) #no shut PE-D1-PBR-INET (config-subif) # encapsulation dot1Q 709 PE-D1-PBR-INET (config-subif) # ip add 222. Switch(config)#interface fa0/1 Switch(config-if)#switchport mode trunk Switch(config-if)#exi Switch(config)#interface range fa0/2-3 Switch(config-if-range)#switchport access vlan 709 di router : PE-D1-PBR-INET (config) #int fa0/0. End with CNTL/Z.9. one per line.255.248 PE-D1-PBR-INET (config-subif) # description ASTINET PT ASURANSI JIWA INHEALTH SUDIRMAN CITY SQUARE CID 1073709 SID 4701399-18990 Setting router – By Dema .