Anda di halaman 1dari 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


SETTING ROUTER di BOGOR :
BOGOR(config) # int fa0/0
BOGOR (config-if) #ip add 172.203.10.1 255.255.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.10
BOGOR(config-if)# encapsulation dot1Q 10
BOGOR(config-if)# ip address 192.189.10.254 255.255.255.0

BOGOR(config-if)#Description LINK KE C4
BOGOR(config-if)# ex

BOGOR(config)#int fa1/0.20
BOGOR(config-if)# encapsulation dot1Q 20
BOGOR(config-if)# ip address 192.189.20.254 255.255.255.0
BOGOR(config-if)#Description LINK KE QCO
BOGOR(config-if)# ex

BOGOR(config)#int fa1/0.30
BOGOR(config-if)# encapsulation dot1Q 30
BOGOR(config-if)# ip address 192.189.30.254 255.255.255.0
BOGOR(config-if)#Description LINK KE ADMIN
BOGOR(config-if)# ex

BOGOR(config)#int fa1/0.40
BOGOR(config-if)# encapsulation dot1Q 40
BOGOR(config-if)# ip address 192.189.40.254 255.255.255.0
BOGOR(config-if)#Description LINK KE TL
BOGOR(config-if)# ex

BOGOR(config)#int fa1/0.50
BOGOR(config-if)# encapsulation dot1Q 50
BOGOR(config-if)# ip address 192.189.50.254 255.255.255.0
BOGOR(config-if)#Description LINK KE SPV
BOGOR(config-if)# ex

Setting IP static di router Bogor :


BOGOR(config)#ip route 192.189.60.0 255.255.255.0 172.203.10.2
BOGOR(config)#ip route 172.203.10.0 255.255.255.252 172.203.10.2

Setting router By Dema


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.
Exiting....

Config PORT switch di bogor :


Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
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...
[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...
[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...
[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-if-range)#do wr
Building configuration...
[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...
[OK]
Switch(config-if-range)#ex
Switch(config)#do wr mem
Building configuration...
[OK]
Switch(config)#exi
ROUTER JAKARTA :

Router(config)#hostname JAKARTA
JAKARTA(config)#int fa0/0
JAKARTA(config-if)#ip add 172.203.10.2 255.255.255.252
JAKARTA(config-if)#description IP WAN JAKARTA KONEKSI KE ROUTER BOGOR
JAKARTA(config-if)#no shut

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

JAKARTA(config-if)#do wr mem
Building configuration...
[OK]
JAKARTA(config-if)#ex
JAKARTA(config)#int fa1/0
JAKARTA(config-if)#ip add 192.189.60.1 255.255.255.0
JAKARTA(config-if)#description LINK KE LAN JAKARTA
JAKARTA(config-if)#no shut

%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up

JAKARTA(config-if)#do wr mem
JAKARTA(config-if)#eX
SETTING IP STATIC di JAKARTA:
JAKARTA(config)#ip route 192.189.10.0 255.255.255.0 172.203.10.1
JAKARTA(config)#ip route 192.189.20.0 255.255.255.0 172.203.10.1
JAKARTA(config)#ip route 192.189.30.0 255.255.255.0 172.203.10.1
JAKARTA(config)#ip route 192.189.40.0 255.255.255.0 172.203.10.1
JAKARTA(config)#ip route 192.189.50.0 255.255.255.0 172.203.10.1
JAKARTA(config)#172.203.10.0 255.255.255.252 172.203.10.1

Setting router By Dema


CONTOH SETTING ROUTER UNTUK NOMER TIKET M.1021.05671

PE-D1-PBR-INET#sh int GigabitEthernet2/2/0.709


GigabitEthernet2/2/0.709 is up, line protocol is up
Hardware is GigEther SPA, address is 0016.9c6f.cd80 (bia 0016.9c6f.cd80)
Description: ASTINET PT ASURANSI JIWA INHEALTH SUDIRMAN CITY SQUARE CID 1073709 SID
4701399-18990
Internet address is 222.124.9.161/29
MTU 1500 bytes, BW 2048 Kbit/sec, DLY 10 usec,
reliability 255/255, txload 144/255, rxload 18/255
Encapsulation 802.1Q Virtual LAN, Vlan ID 709.
ARP type: ARPA, ARP Timeout 04:00:00
Keepalive not supported
5004271517 packets input, 625442044301 bytes
4763240851 packets output, 216416444014 bytes
Last clearing of "show interface" counters never
PE-D1-PBR-INET#sh arp vrf Astinet-Conn GigabitEthernet2/2/0.709
Protocol Address Age (min) Hardware Addr Type Interface
Internet 222.124.9.161 - 0016.9c6f.cd80 ARPA GigabitEthernet2/2/0.709
Internet 222.124.9.162 0 fc5b.2611.21d7 ARPA GigabitEthernet2/2/0.709
Internet 222.124.9.163 84 fc5b.2611.21d7 ARPA GigabitEthernet2/2/0.709

Switch(vlan)#vlan 709 name TELKOM


Switch(vlan)#exi

Setting router By Dema


Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
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.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.124.9.161 255.255.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

Anda mungkin juga menyukai