Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

57
Catatan Ujicoba Routing menggunakan cisco packet tracer Catatan 1: Routing static terhubung langsung (connection) Laptop Continue with configuration dialog? [yes/no]: no - Press RETURN to get started! - Router>enable (* mengaktifkan router*) Router#configure terminal (* menu konfigurasi*) Router(config)#interface fastEthernet 0/0 (*menu configurasi Interface*) Router(config-if)#no shutdown (*Enable Interface*) Router(config-if)#ip address 192.168.10.254 255.255.255.0 (* config ip address*) Router(config-if)#exit (* keluar menu konfig interface*) Router(config)#exit (* keluar menu konfigurasi*) Router# Router#copy running-config startup-config (* copy configurasi ke start up config*)

Transcript of Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

Page 1: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

Catatan Ujicoba Routing menggunakan cisco packet tracer

Catatan 1: Routing static terhubung langsung (connection)

Laptop

Continue with configuration dialog? [yes/no]: no-

Press RETURN to get started!-Router>enable (* mengaktifkan router*)Router#configure terminal (* menu konfigurasi*)Router(config)#interface fastEthernet 0/0 (*menu configurasi Interface*)Router(config-if)#no shutdown (*Enable Interface*)

Router(config-if)#ip address 192.168.10.254 255.255.255.0 (* config ip address*)Router(config-if)#exit (* keluar menu konfig interface*)Router(config)#exit (* keluar menu konfigurasi*)Router#

Router#copy running-config startup-config (* copy configurasi ke start up config*)Destination filename [startup-config]? (* nama file default tekan enter*)Building configuration...[OK]Router#show interfaces fastEthernet 0/0 (* menampilkan interface *)

Page 2: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

Mengaktifkan TelnetRouter#configure terminal

Router(config)#line vty 0 4 (*perintah menseting telnet- 4 user dalam suatu waktu*)

Router(config-line)#password manager (* setting password telnet*)

Router(config-line)#login (* Mengaktifkan password telnet*)

Router(config-line)#exit (* keluar konfigurasi telnet*)

Router(config)#

Router(config)#enable password manager (* enable password pada router*)

Router(config)#exit (* keluar menu konfigurasi*)

Router#copy running-config startup-config (* copy configurasi ke start up config*)Destination filename [startup-config]? (* nama file default tekan enter*)Building configuration...[OK]

PC0 (192.168.10.1)

PC>telnet 192.168.10.254Trying 192.168.10.254 ...OpenUser Access VerificationPassword: Router>enablePassword: Router#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)#interface fastEthernet 0/1Router(config-if)#ip address 192.168.11.254 255.255.255.0Router(config-if)#no shutdown

Router(config-if)#exitRouter(config)#ip route 192.168.11.0 255.255.255.0 fastEthernet 0/1Router(config)#exitRouter#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

Page 3: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

P - periodic downloaded static routeGateway of last resort is not setC 192.168.10.0/24 is directly connected, FastEthernet0/0C 192.168.11.0/24 is directly connected, FastEthernet0/1Router#copyRouter#copy ruRouter#copy running-config startRouter#copy running-config startup-config Destination filename [startup-config]? Building configuration...[OK]Router#

Catatan 2: Routing static router Next Hop

Laptop (cable console) Ke Router 1

Continue with configuration dialog? [yes/no]: yes

At any point you may enter a question mark '?' for help.Use ctrl-c to abort configuration dialog at any prompt.Default settings are in square brackets '[]'.

Basic management setup configures only enough connectivityfor management of the system, extended setup will ask youto configure each interface on the system

Would you like to enter basic management setup? [yes/no]: yesConfiguring global parameters:

Enter host name [Router]: elit1

The enable secret is a password used to protect access to

Page 4: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

privileged EXEC and configuration modes. This password, after entered, becomes encrypted in the configuration. Enter enable secret: password

The enable password is used when you do not specify an enable secret password, with some older software versions, and some boot images. Enter enable password: manager

The virtual terminal password is used to protect access to the router over a network interface. Enter virtual terminal password: managerConfigure SNMP Network Management? [no]:no

Current interface summary

Interface IP-Address OK? Method Status Protocol

FastEthernet0/0 unassigned YES manual administratively down down

FastEthernet0/1 unassigned YES manual administratively down down

Vlan1 unassigned YES manual administratively down down

Enter interface name used to connect to themanagement network from the above interface summary: FastEthernet0/0

Configuring interface FastEthernet0/0: Configure IP on this interface? [yes]: yes IP address for this interface: 192.168.10.254 Subnet mask for this interface [255.255.255.0] : 255.255.255.0

The following configuration command script was created:

!hostname elit1enable secret 5 $1$mERr$GvDaTJK9lhdXRUPWKA74O0enable password managerline vty 0 4password manager!interface Vlan1 shutdown no ip address!interface FastEthernet0/0 no shutdown ip address 192.168.10.254 255.255.255.0!interface FastEthernet0/1 shutdown no ip address!end

[0] Go to the IOS command prompt without saving this config.

Page 5: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

[1] Return back to the setup without saving this config.[2] Save this configuration to nvram and exit.

Enter your selection [2]: 2Building configuration...

%LINK-5-CHANGED: Interface Vlan1, changed state to up

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

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

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

%LINK-5-CHANGED: Interface Vlan1, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down

%SYS-5-CONFIG_I: Configured from console by console[OK]Use the enabled mode 'configure' command to modify this configuration.

Press RETURN to get started!

elit1>

Telnet dari PC0 (192.168.10.1)

PC>telnet 192.168.10.254Trying 192.168.10.254 ...Open

User Access Verification

Password: elit1>enablePassword: managerelit1#config terminalEnter configuration commands, one per line. End with CNTL/Z.elit1(config)#interface FastEthernet 0/1elit1(config-if)#no shutdown

elit1(config-if)#ip address 192.168.11.254 255.255.255.0elit1(config-if)#exitelit1(config)#exitelit1#show interfaces FastEthernet0/0 is up, line protocol is up (connected) Hardware is Lance, address is 0001.c7d1.8601 (bia 0001.c7d1.8601) Internet address is 192.168.10.254/24 MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set ARP type: ARPA, ARP Timeout 04:00:00, Last input 00:00:08, output 00:00:05, output hang never

Page 6: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

Last clearing of "show interface" counters never Input queue: 0/75/0 (size/max/drops); Total output drops: 0 Queueing strategy: fifo Output queue :0/40 (size/max) 5 minute input rate 93 bits/sec, 0 packets/sec 5 minute output rate 85 bits/sec, 0 packets/sec 156 packets input, 6727 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 0 input packets with dribble condition detected 136 packets output, 5812 bytes, 0 underruns 0 output errors, 0 collisions, 1 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped outFastEthernet0/1 is up, line protocol is down (disabled) Hardware is Lance, address is 0001.c7d1.8602 (bia 0001.c7d1.8602) Internet address is 192.168.11.254/24 MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set ARP type: ARPA, ARP Timeout 04:00:00, Last input 00:00:08, output 00:00:05, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0 (size/max/drops); Total output drops: 0 Queueing strategy: fifo Output queue :0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 0 input packets with dribble condition detected 0 packets output, 0 bytes, 0 underruns 0 output errors, 0 collisions, 2 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped outVlan1 is administratively down, line protocol is down Hardware is CPU Interface, address is 0000.0c72.1770 (bia 0000.0c72.1770) MTU 1500 bytes, BW 100000 Kbit, DLY 1000000 usec, reliability 255/255, txload 1/255, rxload 1/255

elit1#config terminalEnter configuration commands, one per line. End with CNTL/Z.elit1(config)#ip route 192.168.12.0 255.255.255.0 192.168.11.1elit1(config)#exitelit1#copy running-config startup-config Destination filename [startup-config]? EnterBuilding configuration...[OK]

Page 7: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

Laptop (cable console) Ke Router2

Continue with configuration dialog? [yes/no]: yes

At any point you may enter a question mark '?' for help.Use ctrl-c to abort configuration dialog at any prompt.Default settings are in square brackets '[]'.

Basic management setup configures only enough connectivityfor management of the system, extended setup will ask youto configure each interface on the system

Would you like to enter basic management setup? [yes/no]: yesConfiguring global parameters:

Enter host name [Router]: elit2

The enable secret is a password used to protect access to privileged EXEC and configuration modes. This password, after entered, becomes encrypted in the configuration. Enter enable secret: password

The enable password is used when you do not specify an enable secret password, with some older software versions, and some boot images. Enter enable password: manager

The virtual terminal password is used to protect access to the router over a network interface. Enter virtual terminal password: managerConfigure SNMP Network Management? [no]:

Current interface summary

Interface IP-Address OK? Method Status Protocol

FastEthernet0/0 unassigned YES manual administratively down down

FastEthernet0/1 unassigned YES manual administratively down down

Vlan1 unassigned YES manual administratively down down

Enter interface name used to connect to themanagement network from the above interface summary: fastEthernet0/1

Configuring interface FastEthernet0/1: Configure IP on this interface? [yes]: yes IP address for this interface: 192.168.12.254 Subnet mask for this interface [255.255.255.0] :

The following configuration command script was created:

!hostname elit2

Page 8: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

enable secret 5 $1$mERr$GvDaTJK9lhdXRUPWKA74O0enable password managerline vty 0 4password manager!interface Vlan1 shutdown no ip address!interface FastEthernet0/0 shutdown no ip address!interface FastEthernet0/1 no shutdown ip address 192.168.12.254 255.255.255.0!end

[0] Go to the IOS command prompt without saving this config.[1] Return back to the setup without saving this config.[2] Save this configuration to nvram and exit.

Enter your selection [2]: 2Building configuration...

%LINK-5-CHANGED: Interface Vlan1, changed state to up

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

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

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

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

%LINK-5-CHANGED: Interface Vlan1, changed state to administratively down

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

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

%SYS-5-CONFIG_I: Configured from console by console[OK]Use the enabled mode 'configure' command to modify this configuration.

Press RETURN to get started!

elit2>

Page 9: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

Telnet dari PC3 Ke Router2PC>telnet 192.168.12.254Trying 192.168.12.254 ...Open

User Access Verification

Password: managerelit2>enablePassword: managerelit2#configur terminalEnter configuration commands, one per line. End with CNTL/Z.elit2(config)#interface FastEthernet 0/0elit2(config-if)#ip address 192.168.11.1 255.255.255.0elit2(config-if)#no shutdown

elit2(config-if)#exitelit2(config)#exitelit2#config terminalEnter configuration commands, one per line. End with CNTL/Z.

elit2(config)#ip route 192.168.10.0 255.255.255.0 192.168.11.254elit2(config)#exitelit2#show ip routeCodes: 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 192.168.10.0/24 [1/0] via 192.168.11.254C 192.168.11.0/24 is directly connected, FastEthernet0/0C 192.168.12.0/24 is directly connected, FastEthernet0/1

Page 10: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

Routing Default

Continue with configuration dialog? [yes/no]: yes

At any point you may enter a question mark '?' for help.Use ctrl-c to abort configuration dialog at any prompt.Default settings are in square brackets '[]'.

Basic management setup configures only enough connectivityfor management of the system, extended setup will ask youto configure each interface on the system

Would you like to enter basic management setup? [yes/no]: yesConfiguring global parameters:

Enter host name [Router]: elit2

The enable secret is a password used to protect access to privileged EXEC and configuration modes. This password, after entered, becomes encrypted in the configuration. Enter enable secret: password

The enable password is used when you do not specify an enable secret password, with some older software versions, and some boot images. Enter enable password: manager

The virtual terminal password is used to protect access to the router over a network interface. Enter virtual terminal password: managerConfigure SNMP Network Management? [no]:No

Current interface summary

Interface IP-Address OK? Method Status Protocol

FastEthernet0/0 unassigned YES manual administratively down downFastEthernet0/1 unassigned YES manual administratively down downFastEthernet0/0/0 unassigned YES manual administratively down downFastEthernet0/0/1 unassigned YES manual administratively down downFastEthernet0/0/2 unassigned YES manual administratively down down

Page 11: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

FastEthernet0/0/3 unassigned YES manual administratively down downVlan1 unassigned YES manual administratively down down

Enter interface name used to connect to themanagement network from the above interface summary: FastEthernet0/0/0

Configuring interface FastEthernet0/0/0: Configure IP on this interface? [yes]: yes IP address for this interface: 192.168.12.254 Subnet mask for this interface [255.255.255.0] :

The following configuration command script was created:

!hostname elit2enable secret 5 $1$mERr$GvDaTJK9lhdXRUPWKA74O0enable password managerline vty 0 4password manager!interface Vlan1 shutdown no ip address!interface FastEthernet0/0 shutdown no ip address!interface FastEthernet0/1 shutdown no ip address!interface FastEthernet0/0/0 no shutdown ip address 192.168.12.254 255.255.255.0!interface FastEthernet0/0/1 shutdown no ip address!interface FastEthernet0/0/2 shutdown no ip address!interface FastEthernet0/0/3 shutdown no ip address!end

[0] Go to the IOS command prompt without saving this config.[1] Return back to the setup without saving this config.[2] Save this configuration to nvram and exit.

Enter your selection [2]: 2Building configuration...

Page 12: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

%LINK-5-CHANGED: Interface Vlan1, changed state to up%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up%LINK-5-CHANGED: Interface FastEthernet0/0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up%LINK-5-CHANGED: Interface FastEthernet0/0/1, changed state to up%LINK-5-CHANGED: Interface FastEthernet0/0/2, changed state to up%LINK-5-CHANGED: Interface FastEthernet0/0/3, changed state to up%LINK-5-CHANGED: Interface Vlan1, changed state to administratively down%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to administratively down%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down%LINK-5-CHANGED: Interface FastEthernet0/0/1, changed state to administratively down%LINK-5-CHANGED: Interface FastEthernet0/0/2, changed state to administratively down%LINK-5-CHANGED: Interface FastEthernet0/0/3, changed state to administratively down%SYS-5-CONFIG_I: Configured from console by console[OK]Use the enabled mode 'configure' command to modify this configuration.

Press RETURN to get started!

elit2>

Dynamic Routing RIPRouter elektro (configurasi IP)

Continue with configuration dialog? [yes/no]: yes

At any point you may enter a question mark '?' for help.Use ctrl-c to abort configuration dialog at any prompt.Default settings are in square brackets '[]'.

Basic management setup configures only enough connectivity

Page 13: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

for management of the system, extended setup will ask youto configure each interface on the system

Would you like to enter basic management setup? [yes/no]: yesConfiguring global parameters:

Enter host name [Router]: eektro

The enable secret is a password used to protect access to privileged EXEC and configuration modes. This password, after entered, becomes encrypted in the configuration. Enter enable secret: password

The enable password is used when you do not specify an enable secret password, with some older software versions, and some boot images. Enter enable password: manager

The virtual terminal password is used to protect access to the router over a network interface. Enter virtual terminal password: managerConfigure SNMP Network Management? [no]:

Current interface summary

Interface IP-Address OK? Method Status Protocol

FastEthernet0/0 unassigned YES manual administratively down down

FastEthernet0/1 unassigned YES manual administratively down down

Vlan1 unassigned YES manual administratively down down

Enter interface name used to connect to themanagement network from the above interface summary: FastEthernet0/0

Configuring interface FastEthernet0/0: Configure IP on this interface? [yes]: yes IP address for this interface: 192.168.1.254 Subnet mask for this interface [255.255.255.0] :

The following configuration command script was created:

!hostname eektroenable secret 5 $1$mERr$GvDaTJK9lhdXRUPWKA74O0enable password managerline vty 0 4password manager!interface Vlan1 shutdown no ip address!interface FastEthernet0/0 no shutdown

Page 14: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

ip address 192.168.1.254 255.255.255.0!interface FastEthernet0/1 shutdown no ip address!end

[0] Go to the IOS command prompt without saving this config.[1] Return back to the setup without saving this config.[2] Save this configuration to nvram and exit.

Enter your selection [2]: 2Building configuration...

%LINK-5-CHANGED: Interface Vlan1, changed state to up

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

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

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

%LINK-5-CHANGED: Interface Vlan1, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down

%SYS-5-CONFIG_I: Configured from console by console[OK]Use the enabled mode 'configure' command to modify this configuration.

Press RETURN to get started!

eektro>enablePassword: eektro#hoeektro#hoseektro#confieektro#configure tereektro#configure terminal Enter configuration commands, one per line. End with CNTL/Z.eektro(config)#hoeektro(config)#hostname elektroelektro(config)#interelektro(config)#interface Faelektro(config)#interface FastEthernet 0/1elektro(config-if)#no shutdown

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

elektro(config-if)#ip adelektro(config-if)#ip address 192.168.2.1 255.255.255.0elektro(config-if)#exit

Page 15: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

elektro(config)#exitelektro#%SYS-5-CONFIG_I: Configured from console by console

elektro#copy ruelektro#copy running-config staelektro#copy running-config startup-config Destination filename [startup-config]? Building configuration...[OK]elektro#show staelektro#show startup-config Using 570 bytes!version 12.4no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption

hostname elektroenable secret 5 $1$mERr$GvDaTJK9lhdXRUPWKA74O0enable password manager

elektro#

Router HeadofficePress RETURN to get started.

(Configure telnet)Router>enableRouter#config terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)#line ftRouter(config)#line vtRouter(config)#line vty 0 4Router(config-line)#passwoRouter(config-line)#password managerRouter(config-line)#loginRouter(config-line)#exitRouter(config)#enable password manager

(configure NIC0)Router(config)#interface ethernet Router(config)#interface ethernet 0/0/0Router(config-if)#no shut down

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

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

Router(config-if)#no shutdownRouter(config-if)#ip address 192.168.2.1 255.255.255.0Router(config-if)#exit

(configure NIC1)Router(config)#interface fastEthernet 0/0

Page 16: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

Router(config-if)#no shuRouter(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to upRouter(config-if)#ip address 192.168.5.1 255.255.255.0Router(config-if)#exit

(configure NIC2)Router(config)#interface fastEthernet 0/1Router(config-if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to upRouter(config-if)#ip address 192.168.3.2 255.255.255.0Router(config-if)#exitRouter(config)#exitRouter#%SYS-5-CONFIG_I: Configured from console by consoleRouter#copy running-config startup-config Destination filename [startup-config]? Building configuration...[OK]Router#confiRouter#configure terrminal ^% Invalid input detected at '^' marker.

Router#configur terrminal ^% Invalid input detected at '^' marker.

(configure hostname)Router#enableRouter#configure terminal Enter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname headofficeheadoffice(config)#exit

%SYS-5-CONFIG_I: Configured from console by consoleheadoffice#coheadoffice#copheadoffice#copy ruheadoffice#copy running-config staheadoffice#copy running-config startup-config Destination filename [startup-config]? Building configuration...[OK]headoffice#

Router SAINS(configure NIC0)Configure SNMP Network Management? [no]:

Current interface summary

Interface IP-Address OK? Method Status Protocol

FastEthernet0/0 unassigned YES manual administratively down down

Page 17: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

FastEthernet0/1 unassigned YES manual administratively down down

Vlan1 unassigned YES manual administratively down down

Enter interface name used to connect to themanagement network from the above interface summary: FastEthernet 0/1Invalid interfaceEnter interface name used to connect to themanagement network from the above interface summary: FastEthernet0/1

Configuring interface FastEthernet0/1: Configure IP on this interface? [yes]: yes IP address for this interface: 192.168.3.1 Subnet mask for this interface [255.255.255.0] :

The following configuration command script was created:

!hostname sainsenable secret 5 $1$mERr$GvDaTJK9lhdXRUPWKA74O0enable password managerline vty 0 4password manager!interface Vlan1 shutdown no ip address!interface FastEthernet0/0 shutdown no ip address!interface FastEthernet0/1 no shutdown ip address 192.168.3.1 255.255.255.0!end

[0] Go to the IOS command prompt without saving this config.[1] Return back to the setup without saving this config.[2] Save this configuration to nvram and exit.

Enter your selection [2]: 2Building configuration...

%LINK-5-CHANGED: Interface Vlan1, changed state to up

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

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

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

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

%LINK-5-CHANGED: Interface Vlan1, changed state to administratively down

Page 18: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

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

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

%SYS-5-CONFIG_I: Configured from console by console[OK]Use the enabled mode 'configure' command to modify this configuration.

Press RETURN to get started!(configure NIC1)sains(config)#interface fastEthernet 0/0sains(config-if)#no shutdown

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

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

sains(config-if)#ip address 192.168.10.254 255.255.255.0sains(config-if)#exitsains(config)#exit

%SYS-5-CONFIG_I: Configured from console by consolesains#copy running-config stasains#copy running-config startup-config Destination filename [startup-config]? Building configuration...[OK]sains#copy running-config startup-config

Router DataInfoContinue with configuration dialog? [yes/no]: yes

At any point you may enter a question mark '?' for help.Use ctrl-c to abort configuration dialog at any prompt.Default settings are in square brackets '[]'.

Basic management setup configures only enough connectivityfor management of the system, extended setup will ask youto configure each interface on the system

Would you like to enter basic management setup? [yes/no]: yesConfiguring global parameters:

Enter host name [Router]: datainfo

The enable secret is a password used to protect access to privileged EXEC and configuration modes. This password, after entered, becomes encrypted in the configuration. Enter enable secret: password

The enable password is used when you do not specify an enable secret password, with some older software versions, and some boot images. Enter enable password: manager

Page 19: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

The virtual terminal password is used to protect access to the router over a network interface. Enter virtual terminal password: managerConfigure SNMP Network Management? [no]:

Current interface summary

Interface IP-Address OK? Method Status Protocol

FastEthernet0/0 unassigned YES manual administratively down down

FastEthernet0/1 unassigned YES manual administratively down down

Ethernet0/0/0 unassigned YES manual administratively down down

Vlan1 unassigned YES manual administratively down down

Enter interface name used to connect to themanagement network from the above interface summary: FastEthernet 0/0Invalid interfaceEnter interface name used to connect to themanagement network from the above interface summary: FastEthernet0/0

Configuring interface FastEthernet0/0: Configure IP on this interface? [yes]: yes IP address for this interface: 192.168.5.2 Subnet mask for this interface [255.255.255.0] : 255.255.255.0

The following configuration command script was created:

!hostname datainfoenable secret 5 $1$mERr$GvDaTJK9lhdXRUPWKA74O0enable password managerline vty 0 4password manager!interface Vlan1 shutdown no ip address!interface FastEthernet0/0 no shutdown ip address 192.168.5.2 255.255.255.0!interface FastEthernet0/1 shutdown no ip address!interface Ethernet0/0/0 shutdown no ip address!end

Page 20: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

[0] Go to the IOS command prompt without saving this config.[1] Return back to the setup without saving this config.[2] Save this configuration to nvram and exit.

Enter your selection [2]: 2Building configuration...

%LINK-5-CHANGED: Interface Vlan1, changed state to up

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

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

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

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

%LINK-5-CHANGED: Interface Vlan1, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down

%LINK-5-CHANGED: Interface Ethernet0/0/0, changed state to administratively down

%SYS-5-CONFIG_I: Configured from console by console[OK]Use the enabled mode 'configure' command to modify this configuration.

Press RETURN to get started!

datainfo>enablePassword: datainfo#confidatainfo#configure terdatainfo#configure terminal Enter configuration commands, one per line. End with CNTL/Z.datainfo(config)#interface FastEthernet 0/1datainfo(config-if)#no shutdown

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

datainfo(config-if)#ip addatainfo(config-if)#ip address 192.168.6.1 255.255.255.0datainfo(config-if)#exitdatainfo(config)#interface ethernet 0/0/0datainfo(config-if)#no shutdown

datainfo(config-if)#%LINK-5-CHANGED: Interface Ethernet0/0/0, changed state to up

datainfo(config-if)#ip address 192.168.7.1 255.255.255.0datainfo(config-if)#exitdatainfo(config)#exitdatainfo#

Page 21: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

%SYS-5-CONFIG_I: Configured from console by console

datainfo#copy rudatainfo#copy running-config stadatainfo#copy running-config startup-config Destination filename [startup-config]? Building configuration...[OK]datainfo#datainfo#

Router OtomotifContinue with configuration dialog? [yes/no]: yes

At any point you may enter a question mark '?' for help.Use ctrl-c to abort configuration dialog at any prompt.Default settings are in square brackets '[]'.

Basic management setup configures only enough connectivityfor management of the system, extended setup will ask youto configure each interface on the system

Would you like to enter basic management setup? [yes/no]: yesConfiguring global parameters:

Enter host name [Router]: otomotif

The enable secret is a password used to protect access to privileged EXEC and configuration modes. This password, after entered, becomes encrypted in the configuration. Enter enable secret: password

The enable password is used when you do not specify an enable secret password, with some older software versions, and some boot images. Enter enable password: manager

The virtual terminal password is used to protect access to the router over a network interface. Enter virtual terminal password: managerConfigure SNMP Network Management? [no]:

Current interface summary

Interface IP-Address OK? Method Status Protocol

FastEthernet0/0 unassigned YES manual administratively down down

FastEthernet0/1 unassigned YES manual administratively down down

Vlan1 unassigned YES manual administratively down down

Enter interface name used to connect to themanagement network from the above interface summary: % No defaulting allowed

Page 22: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

Enter interface name used to connect to themanagement network from the above interface summary: Fastethernet 0/0Invalid interfaceEnter interface name used to connect to themanagement network from the above interface summary: FastEthernet0/0

Configuring interface FastEthernet0/0: Configure IP on this interface? [yes]: yes IP address for this interface: 192.168.8.254 Subnet mask for this interface [255.255.255.0] :

The following configuration command script was created:

!hostname otomotifenable secret 5 $1$mERr$GvDaTJK9lhdXRUPWKA74O0enable password managerline vty 0 4password manager!interface Vlan1 shutdown no ip address!interface FastEthernet0/0 no shutdown ip address 192.168.8.254 255.255.255.0!interface FastEthernet0/1 shutdown no ip address!end

[0] Go to the IOS command prompt without saving this config.[1] Return back to the setup without saving this config.[2] Save this configuration to nvram and exit.

Enter your selection [2]: 2Building configuration...

%LINK-5-CHANGED: Interface Vlan1, changed state to up

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

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

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

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

%LINK-5-CHANGED: Interface Vlan1, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down

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

Page 23: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

%SYS-5-CONFIG_I: Configured from console by console[OK]Use the enabled mode 'configure' command to modify this configuration.

Press RETURN to get started!

otomotif>enablePassword: otomotif#conotomotif#confiotomotif#configure terotomotif#configure terminal Enter configuration commands, one per line. End with CNTL/Z.otomotif(config)#interotomotif(config)#interface Faotomotif(config)#interface FastEthernet 0/1otomotif(config-if)#no shutdown

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

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

otomotif(config-if)#ip adotomotif(config-if)#ip address 192.168.7.2 255.255.255.0otomotif(config-if)#exitotomotif(config)#exit

%SYS-5-CONFIG_I: Configured from console by consoleotomotif#copy otomotif#copy ruotomotif#copy running-config staotomotif#copy running-config startup-config Destination filename [startup-config]? Building configuration...[OK]otomotif#

Router PUContinue with configuration dialog? [yes/no]: yes

At any point you may enter a question mark '?' for help.Use ctrl-c to abort configuration dialog at any prompt.Default settings are in square brackets '[]'.

Basic management setup configures only enough connectivityfor management of the system, extended setup will ask youto configure each interface on the system

Would you like to enter basic management setup? [yes/no]: yesConfiguring global parameters:

Page 24: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

Enter host name [Router]: PU

The enable secret is a password used to protect access to privileged EXEC and configuration modes. This password, after entered, becomes encrypted in the configuration. Enter enable secret: password

The enable password is used when you do not specify an enable secret password, with some older software versions, and some boot images. Enter enable password: manager

The virtual terminal password is used to protect access to the router over a network interface. Enter virtual terminal password: managerConfigure SNMP Network Management? [no]:no

Current interface summary

Interface IP-Address OK? Method Status Protocol

FastEthernet0/0 unassigned YES manual administratively down down

FastEthernet0/1 unassigned YES manual administratively down down

Vlan1 unassigned YES manual administratively down down

Enter interface name used to connect to themanagement network from the above interface summary: fastEthernet0/1

Configuring interface FastEthernet0/1: Configure IP on this interface? [yes]: yes IP address for this interface: 192.168.9.254 Subnet mask for this interface [255.255.255.0] :

The following configuration command script was created:

!hostname PUenable secret 5 $1$mERr$GvDaTJK9lhdXRUPWKA74O0enable password managerline vty 0 4password manager!interface Vlan1 shutdown no ip address!interface FastEthernet0/0 shutdown no ip address!interface FastEthernet0/1 no shutdown ip address 192.168.9.254 255.255.255.0!

Page 25: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

end

[0] Go to the IOS command prompt without saving this config.[1] Return back to the setup without saving this config.[2] Save this configuration to nvram and exit.

Enter your selection [2]: 2Building configuration...

%LINK-5-CHANGED: Interface Vlan1, changed state to up%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up%LINK-5-CHANGED: Interface Vlan1, changed state to administratively down%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to administratively down%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to down%SYS-5-CONFIG_I: Configured from console by console[OK]Use the enabled mode 'configure' command to modify this configuration.

Press RETURN to get started!

PU>enablePassword: PU#confiPU#configure terPU#configure terminal Enter configuration commands, one per line. End with CNTL/Z.PU(config)#inPU(config)#interface faPU(config)#interface fastEthernet 0/0PU(config-if)#no shuPU(config-if)#no shutdown

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

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

PU(config-if)#ip adPU(config-if)#ip address 192.168.6.2 255.255.255.0PU(config-if)#exitPU(config)#exit

%SYS-5-CONFIG_I: Configured from console by consolePU#coPU#copPU#copy ruPU#copy running-config staPU#copy running-config startup-config Destination filename [startup-config]? Building configuration...[OK]PU#

Page 26: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

Konfigurasi routing rip Elektroelektro(config)#router rip elektro(config-router)#network 192.168.1.0elektro(config-router)#network 192.168.2.0elektro(config-router)#exitelektro(config)#exit

Routing Protokol EIGRP

Konfigurasi Router R1Router R1 (interface Configuration)interface FastEthernet0/0 ip address 192.168.10.1 255.255.255.0 duplex auto speed auto!interface FastEthernet0/1 ip address 192.168.12.1 255.255.255.0 duplex auto speed auto!interface Ethernet0/0/0 ip address 192.168.1.254 255.255.255.0 duplex auto speed auto

Router R1 ( konfigure Protokol EIGRP) router eigrp 1 network 192.168.1.0 network 192.168.10.0 network 192.168.12.0

Page 27: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

Konfigurasi Router R2

Router R2 (interface Configuration)interface FastEthernet0/0 ip address 192.168.10.2 255.255.255.0 duplex auto speed auto!interface FastEthernet0/1 ip address 192.168.11.2 255.255.255.0 duplex auto speed auto!interface Ethernet0/0/0 ip address 192.168.8.254 255.255.255.0 duplex auto speed auto

Router R2 ( konfigure Protokol EIGRP) router eigrp 1 network 192.168.10.0 network 192.168.8.0 network 192.168.11.0

Konfigurasi Router R3Router R3 (interface Configuration)

interface FastEthernet0/0 ip address 192.168.11.1 255.255.255.0 duplex auto speed auto!interface FastEthernet0/1 ip address 192.168.12.2 255.255.255.0 duplex auto speed auto!interface Ethernet0/0/0 ip address 192.168.13.254 255.255.255.0 duplex auto speed auto

Router R2 ( konfigure Protokol EIGRP) router eigrp 1 network 192.168.11.0 network 192.168.12.0 network 192.168.13.0

Page 28: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

Routing Protokol OSPF

Konfigurasi Router ElektroKonfigurasi interfaceinterface FastEthernet0/0 ip address 192.168.1.254 255.255.255.0 duplex auto speed auto!interface FastEthernet0/1 ip address 192.168.2.1 255.255.255.0 duplex auto speed auto

Konfigurasi Protokol routing OSPF router ospf 1 log-adjacency-changes network 192.168.1.0 0.0.0.255 area 1 network 192.168.2.0 0.0.0.255 area 0

Page 29: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

Konfigurasi Router PUKonfigurasi interfaceinterface FastEthernet0/0 ip address 192.168.6.2 255.255.255.0 duplex auto speed auto!interface FastEthernet0/1 ip address 192.168.9.254 255.255.255.0 duplex auto speed auto!Konfigurasi Protokol routing OSPF router ospf 1 log-adjacency-changes network 192.168.9.0 0.0.0.255 area 1 network 192.168.6.0 0.0.0.255 area 0

Konfigurasi Router DataInfoKonfigurasi interfaceinterface FastEthernet0/0 ip address 192.168.5.2 255.255.255.0 duplex auto speed auto!interface FastEthernet0/1 ip address 192.168.6.1 255.255.255.0 duplex auto speed auto!interface Ethernet0/0/0 ip address 192.168.7.1 255.255.255.0 duplex auto speed auto!Konfigurasi Protokol routing OSPF router ospf 1 log-adjacency-changes network 192.168.6.0 0.0.0.255 area 0 network 192.168.7.0 0.0.0.255 area 0 network 192.168.5.0 0.0.0.255 area 0

Konfigurasi Router HeadOfficeKonfigurasi interfaceinterface FastEthernet0/0 ip address 192.168.5.1 255.255.255.0 duplex auto speed auto!interface FastEthernet0/1 ip address 192.168.3.2 255.255.255.0 duplex auto speed auto!

Page 30: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

interface Ethernet0/0/0 ip address 192.168.2.2 255.255.255.0 duplex auto speed auto

Konfigurasi Protokol routing OSPFrouter ospf 1 log-adjacency-changes network 192.168.5.0 0.0.0.255 area 0 network 192.168.2.0 0.0.0.255 area 0 network 192.168.3.0 0.0.0.255 area 0

Konfigurasi Router Otomotif

Konfigurasi interface

interface FastEthernet0/0 ip address 192.168.8.254 255.255.255.0 duplex auto speed auto!interface FastEthernet0/1 ip address 192.168.7.2 255.255.255.0 duplex auto speed auto

Konfigurasi Protokol routing OSPF

router ospf 1 log-adjacency-changes network 192.168.7.0 0.0.0.255 area 0 network 192.168.8.0 0.0.0.255 area 2

Konfigurasi Router Sains

interface FastEthernet0/0 ip address 192.168.10.254 255.255.255.0 duplex auto speed auto!interface FastEthernet0/1 ip address 192.168.3.1 255.255.255.0 duplex auto speed auto

Konfigurasi Protokol routing OSPFrouter ospf 1 log-adjacency-changes network 192.168.3.0 0.0.0.255 area 0 network 192.168.10.0 0.0.0.255 area 2

Page 31: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

Konfigurasi VLAN pada Switch dan Router

Konfigurasi switch1Mendaftarkan VLAN 2 dan 3Switch>enableSwitch#configure terSwitch#configure terminal Enter configuration commands, one per line. End with CNTL/Z.Switch(config)#vlan 2Switch(config-vlan)#name LAN1Switch(config-vlan)#exitSwitch(config)#vlan 3Switch(config-vlan)#name LAN3Switch(config-vlan)#exitMendaftarkan interface pada VLAN mode accessinterface fastEthernet 0/1

Switch(config)#interface fastEthernet 0/1Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 2Switch(config-if)#no shutdownSwitch(config-if)#exit

interface fastEthernet 0/2

Switch(config)#interface fastEthernet 0/2Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 2Switch(config-if)#exit

interface fastEthernet 0/3

Switch(config)#interface fastEthernet 0/3Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 2Switch(config-if)#no shutdownSwitch(config-if)#exit

Page 32: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

interface fastEthernet 0/4

Switch(config)#interface fastEthernet 0/4Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 3Switch(config-if)#no shutdown Switch(config-if)#exit

interface fastEthernet 0/5

Switch(config)#interface fastEthernet 0/5Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 3Switch(config-if)#no shutdown Switch(config-if)#exit

interface fastEthernet 0/6Switch(config)#interface fastEthernet 0/6Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 3Switch(config-if)#no shutdownSwitch(config-if)#exit

Mendaftarkan interface pada VLAN TrunkSwitch(config)#interface fastEthernet 0/7Switch(config-if)#switchport mode trunk Switch(config-if)#switchport trunk allowed Switch(config-if)#switchport trunk allowed vlan add 2Switch(config-if)#switchport trunk allowed vlan remove 2Switch(config-if)#switchport trunk allowed vlan remove 3Switch(config-if)#switchport trunk allowed vlan add 2Switch(config-if)#switchport trunk allowed vlan add 3Switch(config-if)#exitSwitch(config)#exit

Simpan KonfigurasiSwitch#copy running-config startup-config Destination filename [startup-config]? Building configuration...[OK]Switch#

Page 33: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

Konfigurasi Router

--- System Configuration Dialog ---

Continue with configuration dialog? [yes/no]: no

Press RETURN to get started!

Router>enable

Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z.Router(config)#interface fastEthernet 0/1Router(config-if)#no shutdown

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

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

Router(config-if)#exit

Menambahkan SUBINTERFACE 0/1.2Router(config)#interface fastEthernet 0/1.2

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

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1.2, changed state to upRouter(config-subif)#no shutdown Router(config-subif)#encapsulation dot1Q 2Router(config-subif)#ip address 192.168.1.254 255.255.255.0Router(config-subif)#exit

Menambahkan SUBINTERFACE 0/1.3

Router(config)#interface fastEthernet 0/1.3

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

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1.3, changed state to upRouter(config-subif)#encapsulation dot1Q 3Router(config-subif)#no shutdownRouter(config-subif)#ip address 192.168.10.254 255.255.255.0Router(config-subif)#exit

Membuat DHCP Server VLAN 2Router(config)#ip dhcp pool vlan2Router(dhcp-config)#default-router 192.168.1.254Router(dhcp-config)#network 192.168.1.0 255.255.255.0Router(dhcp-config)#exit

Page 34: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

Membuat DHCP Server VLAN 3

Router(config)#ip dhcp pool vlan3Router(dhcp-config)#default-router 192.168.10.254Router(dhcp-config)#network 192.168.10.0 255.255.255.0Router(dhcp-config)#exitRouter(config)#exit

Menyimpan Konfigurasi%SYS-5-CONFIG_I: Configured from console by consoleRouter#copy running-config startup-config Destination filename [startup-config]? Building configuration...[OK]Router#

Ujicoba Menggunakan Router Cisco

Router Port

Page 35: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

Kabel yang digunakan

Kabel console

Kabel UTP straight trought

A. Hubungkan Kabel Console pada port console di router cisco

B. Hubungkan ujung lain dari kabel console pada PC pada bagian port RS 232 untuk PC yang digunakan sebagai komputer konfigurasi

Page 36: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

C. Hubungkan Kabel UTP pertama pada Port Fastethernet 0/0 dan Kabel UTP kedua pada Port Fast Ethernet 0/1 pada router.

D. Hubungkan Ujung lainnya dari Kabel UTP pertama ke PC0 dan ujung lainnya dari kabel UTP kedua pada PC1

E. Pada PC yang digunakan sebagai konfigurasi jalankan perangkat aplikasi Hyper terminal

Page 37: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

Tekan Tombol OK untuk meneruskan konfigurasi router

Page 38: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

Default management router cisco adalah sebagai berikut:Username : ciscoPassword : cisco

Konfigurasi Router cisco seperti ujicoba diatas, sehingga hasil seperti dibawah :

router#configure terminal router(config)#interface fastEthernet 0/0 router(config-if)#no shutdown router(config-if)#ip address 192.168.10.254 255.255.255.0 router(config-if)#exit router(config)#interface fastEthernet 0/1 router(config-if)#no shutdown router(config-if)#ip address 192.168.11.254 255.255.255.0 router(config-if)#exit router(config)#ip route 192.168.11.0 255.255.255.0 fastEthernet 0/1router(config)#ip route 192.168.10.0 255.255.255.0 fastEthernet 0/0

router(config)#hostname elit1elit1(config)#exitelit1#copy running-config startup-configBuilding configuration...[OK]elit1#

Page 39: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

Ujicoba Koneksi

A. Konfigurasi jaringan untuk PC0 dengan alamat IP : 192.168.10.1/24 gateway 192.168.10.254

B. Konfigurasi jaringan untuk PC1 dengan alamat IP : 192.168.11.1/24 gateway 192.168.11.254

C. Ping dari PC1 ke gatway yaitu 192.168.11.254, 192.168.10.254 dan ping ke PC0 yaitu 192.168.10.1

Ujicoba Jaringan berbasis VLAN

Page 40: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

A. Konfigurasi VLAN 2 dan VLAN 3 pada Switch 3 com superstack3 switch 4200 Ketentuan Port 2,3 digunakan hanya untuk vlan 2 sehingga type port adalah untagged

(access) Disambung ke PC1 Ketentuan Port 4,5 digunakan hanya untuk vlan 3 sehingga type port adalah untagged

(access) Disambung ke PC2 Ketentuan Port 25 digunakan untuk vlan 1, dan mengirimkan / menrima VLAN 2 dan VLAN

3, type port adalah tagged vlan 2, vlan 3 (trunk) disambung ke Router Cisco FastEthernet 0/0

Ketentuan Port 8 digunakan untuk vlan 1, dan mengirimkan / menrima VLAN 2 dan VLAN 3, type port adalah tagged vlan 2, vlan 3 (trunk) disambung pada PC 3 dengan NIC yang mendukung VLAN

Langkah-langkah Ujicoba

1. 3com superstack3 switch 4200 28 port secara default memiliki alamat IP 169.254.100.100/16 2. Beri alamat IP computer dengan alamat jaringan yang sama dengan switch, kemudian ping ke

switch

3. Gunakan 3com device manager untuk konfigurasi switch

Page 41: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

4. Tekan icon open device akan mucul form open device , isi alamat IP dari swich : 169.254.100.100, label: 3com, tekan tombol OK

Page 42: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

5. Klik tanda + pada menu Vlan managemen sehingga muncul sub menu Layer 2

VLAN management.6. Tekan tombol Add dan tambahkan VLAN 2 dengan nama LAN1 seperti pada

gambar dibawah

7. Lakukan juga untuk VLAN 3 dengan nama LAN 2, sehingga hasilnya seperti gambar dibawah ini

Page 43: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

8. Pilih sub menu vlan hybrid, untuk konfigurasi switch port 2 dan 3 dengan type untagged VLAN 2

9. Konfigurasi juga switch port 3 dan 5 dengan type untagged VLAN 310.Konfigurasi juga switch port 8 dengan type taged VLAN 3 dan VLAN 2, untagged

VLAN1 sepeti gambar dibawah

Page 44: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

11.Konfigurasi juga switch port 25 dengan type taged VLAN 3 dan VLAN 2, untagged VLAN1

B. Konfigurasi Router Cisco 2800 Ketentuan Interface FastEthernet 0/0 dibuat 2 buah sub Interface

dengan nama :o FastEthernet 0/0 2 (VLAN 2) o FastEthernet 0/0 3 (VLAN 2)

Ketentuan IP address interface FastEthernet 0/0 2 : 192.168.1.254 Ketentuan IP address interface FastEthernet 0/0 3 : 192.168.10.254 Ketentuan DHCP server untuk VLAN 2 dengan network

192.168.1.0/24 Ketentuan DHCP server untuk VLAN 3 dengan network

192.168.10.0/24 Buat Router protocol static dari LAN 1 ke LAN 2

1. Hubungkan PC dengan router menggunakan Kabel console2. Konfigurasikan Router seperti pada perintah berikut :

Password:elit1#configure terminalEnter configuration commands, one per line. End with CNTL/Z.(konfigurasi sub Interface)elit1(config)#interface fastEthernet 0/0

Page 45: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

elit1(config-if)#no shutdown elit1(config-if)#exitelit1(config)#interface fastEthernet 0/0.2elit1(config-subif)#encapsulation dot1Q 2elit1(config-subif)#no shutdownelit1(config-subif)#exitelit1(config)#interface fastEthernet 0/0.3elit1(config-subif)#encapsulation dot1Q 3elit1(config-subif)#no shutdownelit1(config-subif)#exit

Konfigurasi IP address pada Sub Interfaceelit1(config)#interface fastEthernet 0/0.2elit1(config-subif)#ip address 192.168.1.254 255.255.255.0elit1(config-subif)#exitelit1(config)#interface fastEthernet 0/0.3elit1(config-subif)#ip address 192.168.10.254 255.255.255.0elit1(config-subif)#exitKonfigurasi DHCP Server pada VLAN 2 dan VLAN3elit1(config)#ip dhcp pool vlan2elit1(dhcp-config)#default-router 192.168.1.254elit1(dhcp-config)#network 192.168.1.0 255.255.255.0elit1(dhcp-config)#exitelit1(config)#ip dhcp pool vlan3elit1(dhcp-config)#default-router 192.168.10.254elit1(dhcp-config)#network 192.168.10.0 255.255.255.0elit1(dhcp-config)#exitelit1(config)#exitelit1#copy running-config staelit1#copy running-config startup-configDestination filename [startup-config]?Building configuration...[OK]elit1#

C. Ujicoba KoneksiUjicoba 1

1. Install Driver NIC dengan dukungan VLAN , contoh untuk Marvell Yukon Ethernet Controller

2. Pada Control Panel > network Connection terlihat nama nic adalah Marvell Yukon, Klik kanan dan pilih Propertis

Page 46: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

3. Pilih TAB menu VLAN dan buat 3 buah vlan yaitu vlan1,vlan2 dan Vlan3

Page 47: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

4. Cek IP address Pada VLAN 2 dan VLAN 3 Di PC3 (computer) dengan NIC yang telah dilengakapi vasilitas VLAN

Page 48: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

VLAN2 mendapat alamat IP 192.168.1.1

VLAN 3 mendapat alamat ip 192.168.10.1

Page 49: Catatan Ujicoba Routing Menggunakan Cisco Packet Tracer-Akhir

Catatan : Untuk Linux . tinggal install paket vlan lalu dapat langsung tulis konfigurasinya, menggunakan editor. Contoh pada ubuntu

Install VLAN package di computer:

sudo apt-get install vlan2. Edit your /etc/network/interfaces file so it would contain the following:

# The loopback network interfaceauto loiface lo inet loopback# This is a list of hotpluggable network interfaces.# They will be activated automatically by the hotplug subsystem.auto vlan2auto vlan3auto vlan101# VLAN 2iface vlan4 inet staticaddress 192.168.1.8netmask 255.255.255.0network 192.168.1.0broadcast 192.168.1.255mtu 1500vlan_raw_device eth0# VLAN 3iface vlan5 inet staticaddress 192.168.10.8netmask 255.255.255.0network 192.168.10.0broadcast 192.168.10.255mtu 1500vlan_raw_device eth0