Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

Proses Konfigurasi Yakni Routing Statis Dan Dinamis dengan paket CISCO Tracert

Swt-0
============
Switch>en
Switch#
Switch#config t
Switch(config)#hostname Swt-0
Swt-0(config)#end
Swt-1
=========
Switch>
Switch>en
Switch#
Switch#config t
Switch(config)#hostname Swt-0
Swt-0(config)#end
Router-0
=================
Router>
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
Router(config)#hostname Router-0
Router-0(config)#
Router-0(config)#end
Router-0#
Router-0#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router-0(config)#
Router-0(config)#int fa0/0
Router-0(config-if)#ip address 192.168.1.100 255.255.255.0
Router-0(config-if)#no shutdown
Router-0(config-if)#exit
Router-0(config)#
Router-0(config)#int se0/0
Router-0(config-if)#ip address 172.16.1.100 255.255.0.0
Router-0(config-if)#no shutdown
Router-0(config-if)#clock rate 128000
Router-0(config-if)#exit
Router-0(config)#
Router-0(config)#ip route 10.0.0.0 255.0.0.0 172.16.1.200
Router-0(config)#
Router-0(config)#end
Router-0#
Router-0#show ip route
Codes: C – connected, S – static, I – IGRP, R – RIP, M – mobile, B – BGP
D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
E1 – OSPF external type 1, E2 – OSPF external type 2, E – EGP
i – IS-IS, L1 – IS-IS level-1, L2 – IS-IS level-2, ia – IS-IS inter area
* – candidate default, U – per-user static route, o – ODR
P – periodic downloaded static route
Gateway of last resort is not set
S 10.0.0.0/8 [1/0] via 172.16.1.200
C 172.16.0.0/16 is directly connected, Serial0/0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
Router-0#

Router-1
=======================
Router>
Router>
Router>en
Router#
Router#config t
Router(config)#hostname Router-1
Router-1(config)#
Router-1(config)#end
Router-1#
Router-1#config t
Router-1(config)#int fa0/0
Router-1(config-if)#ip address 192.168.1.100 255.255.255.0
Router-1(config-if)#no shutdown
Router-1(config)#
Router-1(config)#interface FastEthernet0/0
Router-1(config-if)#ip address 10.10.10.100 255.0.0.0
Router-1(config-if)#no shutdown
Router-1(config-if)#exit
Router-1(config)#
Router-1(config)#
Router-1(config)#int se0/0
Router-1(config-if)#ip address 172.16.1.200 255.255.0.0
Router-1(config-if)#no shutdown
Router-1(config-if)#exit
Router-1(config)#
Router-1(config)#
Router-1(config)#
Router-1(config)#int se0/0
Router-1(config-if)#clock rate 128000
Router-1(config-if)#end
Router-1#
Router-1#
Router-1#config t
Router-1(config)#ip route 192.168.1.0 255.255.255.0 172.16.1.100
Router-1(config)#end
Router-1#
Router-1#
Router-1#show ip route
Codes: C – connected, S – static, I – IGRP, R – RIP, M – mobile, B – BGP
D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
E1 – OSPF external type 1, E2 – OSPF external type 2, E – EGP
i – IS-IS, L1 – IS-IS level-1, L2 – IS-IS level-2, ia – IS-IS inter area
* – candidate default, U – per-user static route, o – ODR
P – periodic downloaded static route
Gateway of last resort is not set
C 10.0.0.0/8 is directly connected, FastEthernet0/0
C 172.16.0.0/16 is directly connected, Serial0/0
S 192.168.1.0/24 [1/0] via 172.16.1.100
Router-1#
=====================================================================
===========================
Dinamis
=====================================================================
===========================
Router-0
======
Router-0#
Router-0#config t
Router-0(config)#no ip route 10.0.0.0 255.0.0.0 172.16.1.200
Router-0(config)#end
Router-0#
Router-0#
Router-0#sh ip route
Codes: C – connected, S – static, I – IGRP, R – RIP, M – mobile, B – BGP
D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
E1 – OSPF external type 1, E2 – OSPF external type 2, E – EGP
i – IS-IS, L1 – IS-IS level-1, L2 – IS-IS level-2, ia – IS-IS inter area
* – candidate default, U – per-user static route, o – ODR
P – periodic downloaded static route
Gateway of last resort is not set
C 172.16.0.0/16 is directly connected, Serial0/0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
Router-0#
Router-0#configure terminal
Router-0(config)#router rip
Router-0(config-router)#
Router-0(config-router)#exit
Router-0(config)#
Router-0(config)#
Router-0(config)#router rip
Router-0(config-router)#network 192.168.1.0
Router-0(config-router)#network 172.16.0.0
Router-0(config-router)#network 10.0.0.0
Router-0(config-router)#end
Router-0#
Router-0#
Router-0#show ip protocol
Routing Protocol is “rip”
Sending updates every 30 seconds, next due in 16 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: rip
Default version control: send version 1, receive any version
Interface Send Recv Triggered RIP Key-chain
FastEthernet0/0 1 2 1
Serial0/0 1 2 1
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
10.0.0.0
172.16.0.0
192.168.1.0
Passive Interface(s):
Routing Information Sources:
Gateway Distance Last Update
Distance: (default is 120)
Router-0#
Router-0#
Router-0#copy run start
Destination filename [startup-config]?
Building configuration…
[OK]
Router-0#
Router-1
==============
Router-1#
Router-1#configure terminal
Router-1(config)#no ip route 192.168.1.0 255.255.255.0 172.16.1.100
Router-1(config)#end
Router-1#
Router-1#
Router-1#show ip route
Codes: C – connected, S – static, I – IGRP, R – RIP, M – mobile, B – BGP
D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
E1 – OSPF external type 1, E2 – OSPF external type 2, E – EGP
i – IS-IS, L1 – IS-IS level-1, L2 – IS-IS level-2, ia – IS-IS inter area
* – candidate default, U – per-user static route, o – ODR
P – periodic downloaded static route
Gateway of last resort is not set
C 10.0.0.0/8 is directly connected, FastEthernet0/0
C 172.16.0.0/16 is directly connected, Serial0/0
Router-1#
Router-1#
Router-1#config t
Router-1(config)#router rip
Router-1(config-router)#network 10.0.0.0
Router-1(config-router)#network 172.16.0.0
Router-1(config-router)#net 192.168.1.0
Router-1(config-router)#end
Router-1#
Router-1#show ip protocol
Routing Protocol is “rip”
Sending updates every 30 seconds, next due in 18 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: rip
Default version control: send version 1, receive any version
Interface Send Recv Triggered RIP Key-chain
FastEthernet0/0 1 2 1
Serial0/0 1 2 1
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
10.0.0.0
172.16.0.0
192.168.1.0
Passive Interface(s):
Routing Information Sources:
Gateway Distance Last Update
172.16.1.100 120 00:00:14
Distance: (default is 120)
Router-1#
Router-1#copy run start
Destination filename [startup-config]?
Building configuration…
[OK]
Router-1#
Router-1#

Konfigurasi InterVLAN Routing Paket CISCO


Konfigurasi switch VLAN
Switch> en
Switch# configure terminal
Switch(config)# vlan 2
Switch(config-vlan)# name swt-2
Switch(config-vlan)# exit
Switch(config)# vlan 3
Switch(config-vlan)# name swt-2
Switch(config-vlan)# exit

Konfigurasi interface pada switch
Switch(config)# interface range fa0/1-3  
Switch(config-if-range)# switchport mode access
Switch(config-if-range)# switchport access vlan 2
Switch(config-if-range)# exit
Switch(config)# interface range fa0/4-6 
Switch(config-if-range)# switchport mode access
Switch(config-if-range)# switchport access vlan 3
Switch(config-if-range)# exit
Switch(config)# interface range fa0/7 
Switch(config-if-range)# switchport mode trunk
Switch(config-if-range)# exit

Konfigurasi router
Router> en
Router# configure terminal
Router(config)# interface fa0/0
Router(config-if)# no shutdown
Router(config-if)# interface fa0/0.2 
Router(config-subif)# encapsulation dot1Q 2 
Router(config-subif)# ip address 192.168.1.254 255.255.255.0 
Router(config-subif)# exit
Router(config-if)# interface fa0/0.3 
Router(config-subif)# encapsulation dot1Q 3 (Router(config-subif)# ip address 192.168.2.254
255.255.255.0 
Router(config-subif)# exit
Router(config)# exit

You might also like