You are on page 1of 25

Laporan Praktikum

ANTAR JARINGAN

No NIM Nama Prodi


1. 13322030 Ronaldo Julius Siregar D3TK

1 Februari 2024

Institut Teknologi Del


Jl. Sisingamangaraja, Sitoluama, Laguboti
Kabupaten Toba, Sumatera Utara
DAFTAR ISI

DAFTAR ISI ............................................................................................................................................. i


DAFTAR GAMBAR ................................................................................................................................ ii
DAFTAR TABEL ................................................................................................................................... iii
BAB 1. BASIC ROUTER CONFIGURATION REVIEW ...................................................................... 1
Part 1: Configure Devices and Verify Connectivity ............................................................................ 2
Part 2: Display Router Information ...................................................................................................... 8
BAB 2. IP Static Routing........................................................................................................................ 13
2.1. Configure IPv4 and IPv6 and Default Routes ................................................................................. 13
Objective ................................................................................................................................................. 13
Background / Scenario ............................................................................................................................ 14
Instructions ............................................................................................................................................. 14
Part 1: Configure IPv4 Static and Floating Static Default Routes ..................................................... 14
Part 2: Configure IPv6 Static and Floating Static Default Routes ..................................................... 14
Part 3: Configure IPv4 Static and Floating Static Routes to the Internal LANs ................................ 15
Part 4: Configure IPv6 Static and Floating Static Routes to the Internal LANs. ............................... 15
Part 5: Configure Host Routes ........................................................................................................... 16
2.2. Troubleshoot Static and Default Routes .......................................................................................... 16
Objectives ............................................................................................................................................... 17
Background / Scenario ............................................................................................................................ 17
Instructions ............................................................................................................................................. 17
Step 1: Locate and document the problems. ...................................................................................... 17
Step 2: Repair the problems. .............................................................................................................. 21

i
DAFTAR GAMBAR
Gambar 1 Konfigurasi IP pada PC3 ......................................................................................................... 2
Gambar 2 Konfigurasi IP pada PC4 ......................................................................................................... 3
Gambar 3 Hasil satu set kunci kripto dengan modulus 1024 bit. ............................................................. 4
Gambar 4 Konfigurasi password .............................................................................................................. 4
Gambar 5 Penetapan kata sandi vty .......................................................................................................... 4
Gambar 6 Konfigurasi 4 antarmuka pada router ...................................................................................... 5
Gambar 7 Penyimpanan hasil konfigurasi ................................................................................................ 5
Gambar 8 Ping (pemanggilan) alamat IPv4 dan IPv6 untuk PC4. ........................................................... 6
Gambar 9 Ping alamat S0/1/1 R1 untuk IPv4 dan IPv6 Dari CLI pada R2.............................................. 6
Gambar 10 Ping alamat ISP dari PC3....................................................................................................... 7
Gambar 11 Ping ke alamat ISP untuk pengujian ...................................................................................... 7
Gambar 12 . Masuk sebagai SSHadmin dengan kata sandi 55Hadm!n. .................................................. 8
Gambar 13 Tampilan versi pada PC3 ....................................................................................................... 8
Gambar 14 Versi pada R2......................................................................................................................... 9
Gambar 15 Filter password ....................................................................................................................... 9
Gambar 16 Tampilan running-config ..................................................................................................... 10
Gambar 17 Tampilan IP Router .............................................................................................................. 10
Gambar 18 Tampilan IP antarmuka ........................................................................................................ 11
Gambar 19 Tampilan IPv6 yg di seting pada R2 .................................................................................... 11

ii
DAFTAR TABEL
No table of figures entries found.

iii
BAB 1. BASIC ROUTER CONFIGURATION
REVIEW

Device Interface IP Address / Prefix Default Gateway


R2 G0/0/0 10.0.4.1 /24 N/A
2001:db8:acad:4::1 /64
fe80::2:a
G0/0/1 10.0.5.1 /24
2001:db8:acad:5::1 /64
fe80::2:b
S0/1/0 10.0.3.2 /24
2001:db8:acad:3::2 /64
fe80::1:c
S0/1/1 209.165.200.225 /30
2001:db8:feed:224::1/64
fe80::1:d

PC1 NIC 10.0.1.10 /24 10.0.1.1


2001:db8:acad:1::10 /64 fe80::1:a
PC2 NIC 10.0.2.10 /24 10.0.2.1
2001:db8:acad:2::10 /64 fe80::1:b
PC3 NIC 10.0.4.10 /24 10.0.4.1
2001:db8:acad:4::10 /64 fe80::2:a
PC4 NIC 10.0.5.10 /24 10.0.5.1
2001:db8:acad:5::10 /64 fe80::2:b

Objectives
Part 1: Configure Devices and Verify Connectivity
• Assign static IPv4 and IPv6 addresses to the PC interfaces.
• Configure basic router settings.
• Configure the router for SSH.
• Verify network connectivity.

1
Part 2: Display Router Information
• Retrieve hardware and software information from the router.
• Interpret the startup configuration.
• Interpret the routing table.
• Verify the status of the interfaces.

Background / Scenario
This activity requires you to configure the R2 router using the settings from the Addressing Table and the
specifications listed. The R1 router and the devices connected to it have been configured. This is a comprehensive
review of previously covered IOS router commands. In Part 1, you will complete basic configurations and
interface settings on the router. In Part 2, you will use SSH to connect to the router remotely and utilize the IOS
commands to retrieve information from the device to answer questions about the router. For review purposes, this
lab provides the commands necessary for specific router configurations.

Instructions
Part 1: Configure Devices and Verify Connectivity
Step 1: Configure the PC interfaces.
a. Configure the IPv4 and IPv6 addresses on PC3 as listed in the Addressing Table.

Gambar 1 Konfigurasi IP pada PC3

2
b. Configure the IPv4 and IPv6 addresses on PC4 as listed in the Addressing Table.

Gambar 2 Konfigurasi IP pada PC4

Step 2: Configure the router.


Open configuration window
a. On the R2 router, open a terminal. Move to privileged EXEC mode

b. Enter configuration mode.

c. Assign a device name of R2 to the router.

d. Configure c1sco1234 as the encrypted privileged EXEC mode password.

e. Set the domain name of the router to ccna-lab.com.

f. Disable DNS lookup to prevent the router from attempting to translate incorrectly entered commands as
though they were host names.

g. Encrypt the plaintext passwords.

h. Configure the username SSHadmin with an encrypted password of 55Hadm!n.

3
i. Generate a set of crypto keys with a 1024 bit modulus.

Gambar 3 Hasil satu set kunci kripto dengan modulus 1024 bit.

j. Assign cisco as the console password, configure sessions to disconnect after six minutes of inactivity, and
enable login. To prevent console messages from interrupting commands, use the logging synchronous
command.

Gambar 4 Konfigurasi password

k. Assign cisco as the vty password, configure the vty lines to accept SSH connections only, configure
sessions to disconnect after six minutes of inactivity, and enable login using the local database.

Gambar 5 Penetapan kata sandi vty

l. Create a banner that warns anyone accessing the device that unauthorized access is prohibited. NOTE:
The banner motd must include the word WARNING to score correc

m. Enable IPv6 Routing.

n. Configure all four interfaces on the router with the IPv4 and IPv6 addressing information from the
addressing table above. Configure all four interfaces with descriptions. Activate all four interfaces.

4
Gambar 6 Konfigurasi 4 antarmuka pada router

o. Save the running configuration to the startup configuration file.

Gambar 7 Penyimpanan hasil konfigurasi

Close configuration window

5
Step 3: Verify network connectivity.
a. Using the command line at PC3, ping the IPv4 and IPv6 addresses for PC4.

Gambar 8 Ping (pemanggilan) alamat IPv4 dan IPv6 untuk PC4.

Question:
Were the pings successful?
Answer:
Yes
b. From the CLI on R2 ping the S0/1/1 address of R1 for both IPv4 and IPv6. The addresses assigned to the
S0/1/1 interface on R1 are:
IPv4 address = 10.0.3.1
IPv6 address = 2001:db8:acad:3::1

Gambar 9 Ping alamat S0/1/1 R1 untuk IPv4 dan IPv6 Dari CLI pada R2.

6
Question:
Were the pings successful?
Answer:
Yes

From the command line of PC3 ping the ISP address 209.165.200.226.

Gambar 10 Ping alamat ISP dari PC3

Question:
Were the pings successful?
Answer:
Ya, PC menggunakan gateway bawaan router untuk memajukan trafficnya.

From PC3 attempt to ping an address on the ISP for testing, 60.100.1.1.

Gambar 11 Ping ke alamat ISP untuk pengujian

Question:
Were the pings successful?
Answer:
Tidak, routing tidak dikonfigurasi. Hanya internet local yang dapat diakses. Tidak ada route bawaan
yang diatur pada R2

c. From the command line of PC3 open an SSH session to the R2 G0/0/0 IPv4 address and log in as
SSHadmin with the password 55Hadm!n.
C:\> ssh -l SSHadmin 10.0.4.1
Password: 55Hadm!n

7
Gambar 12 . Masuk sebagai SSHadmin dengan kata sandi 55Hadm!n.

Question:
Was remote access successful?
Answer:
Yes
Part 2: Display Router Information
In Part 2, you will use show commands from an SSH session to retrieve information from the router.
Step 1: Establish an SSH session to R2.
From the command line of PC3 open an SSH session to the R2 G0/0/0 IPv6 address and log in as SSHadmin
with the password 55Hadm!n.

Step 2: Retrieve important hardware and software information.


Open configuration window

a. Use the show version command to answer questions about the router.

Gambar 13 Tampilan versi pada PC3

8
Questions:
What is the name of the IOS image that the router is running?

How much non-volatile random-access memory (NVRAM) does the router have?

How much Flash memory does the router have?

b. The show commands often provide multiple screens of outputs. Filtering the output allows a user to
display certain sections of the output. To enable the filtering command, enter a pipe (|) character after a
show command, followed by a filtering parameter and a filtering expression. You can match the output to
the filtering statement by using the include keyword to display all lines from the output that contain the
filtering expression. Filter the show version command, using show version | include register to answer the
following question.

Gambar 14 Versi pada R2

Questions:
What is the boot process for the router on the next reload?
Answer:
Dapat beragam. Pada umumnya (0x2102), router akan menjalani boot normal, mengakses IOS dari
memori Flash, dan mengakses konfigurasi startup dari NVRAM jika tersedia. Jika config yang terdaftar
adalah 0x2142, maka router akan melewati pengaturan startup dan memulai command-prompt mode
pengguna. Jika boot awal gagal, router akan kembali ke mode ROMMON.
Step 3: Display the running configuration.
a. Use the show running-config command on the router to answer the following questions filtering for
lines containing the word “password”.

Gambar 15 Filter password

Question:
How are passwords presented in the output?
Answer:
Password dienkripsi karena perintah servis enkripsi-password.

9
b. Use the show running-config | begin vty command.

Gambar 16 Tampilan running-config

Question:
What is the result of using this command?
Answer:
Pengguna menerima hasil konfigurasi berjalan yang dimulai dengan perintah yang termasuk dalam
instansi pertama yang membatasi ekspresi.
Note:
A more specific command would be show running-config | section vty; however, the current version of
Packet Tracer does not support the section filtering command.

Step 4: Display the routing table on the router.


Use the show ip route command on the router to answer the following questions.

Gambar 17 Tampilan IP Router

10
Question:
What code is used in the routing table to indicate a directly connected network?
Answer:
Kode C yang ditunjuk untuk langsung tersambung ke subnet. L menunjuk tampilan lokal. Kedua jawaban
sama benar.

Question:
How many route entries are coded with a C code in the routing table?
Answer:
4

Step 5: Display a summary list of the interfaces on the router.


a. Use the show ip interface brief command on the router to answer the following question.

Gambar 18 Tampilan IP antarmuka

Question
What command changed the status of the Gigabit Ethernet ports from administratively down to up?
Answer:
no shutdown

Question:
What filtering command would you use to display only the interfaces with addresses assigned?
Answer:
show ip interface brief | exclude unassignednswers here.

b. Use the show ipv6 int brief command to verify IPv6 settings on R2.

Gambar 19 Tampilan IPv6 yg di seting pada R2

11
Question:
What is the meaning of the [up/up] part of the output?
Aswer:
Status [up/up\ mengartikan status Layer 1 dan Layer 2 dan tidak bergantung pada Layer 3 untuk status.

12
BAB 2. IP Static Routing
2.1. Configure IPv4 and IPv6 and Default Routes
Device Interface IP Address / Prefix
Edge_Router S0/0/0 10.10.10.2/30
2001:db8:a:1::2/64
S0/0/0
S0/0/1 10.10.10.6/30
2001:db8:a:2::2/64
S0/0/1
G0/0 192.168.10.17/28
2001:db8:1:10::1/64
G0/0
G0/1 192.168.11.33/27
2001:db8:1:11::1/64
G0/1
ISP1 S0/0/0 10.10.10.1/30

2001:db8:a:1::1/64
ISP1 S0/0/0
G0/0 198.0.0.1/24
ISP1
2001:db8:f:f::1/64
ISP1 G0/0
ISP2 S0/0/1 10.10.10.5/30
2001:db8:a:2::1/64
ISP2 S0/0/1
G0/0 198.0.0.2/24
ISP2 2001:db8:f:f::2/64
G0/0
ISP2
PC-A NIC 192.168.10.19/28 z

2001:db8:1:10::19/64
PC-A NIC
PC-B NIC 192.168.11.4/27
2001:db8:1:11::45
PC-B NIC
Customer Server NIC 198.0.0.10

2001:db8:f:f::10

Objective
In this Packet Tracer summary activity, you will configure static, default, and floating static routes for both the
IPv4 and IPv6 protocols.
• Configure IPv4 Static and Floating Static Default Routes.
• Configure IPv6 static and floating static default routes.
• Configure IPv4 static and floating static routes to internal LANs

13
• Configure IPv6 static and floating static routes to the internal LANS.
• Configure IPv4 host routes.
• Configure IPv6 host routes.

Background / Scenario
In this activity, you will configure IPv4 and IPv6 default static and floating static routes.
Note: The static routing approach that is used in this lab is used to assess your ability to configure different types
of static routes only. This approach may not reflect networking best practices.

Instructions
Part 1: Configure IPv4 Static and Floating Static Default Routes
The PT network requires static routes to provide internet access to the internal LAN users through the ISPs. In
addition, the ISP routers require static routes to reach the internal LANs. In this part of the activity, you will
configure an IPv4 static default route and a floating default route to add redundancy to the network.

Step 1: Configure an IPv4 static default route


On Edge_Router, configure a directly connected IPv4 default static route. This primary default route
should be through router ISP1.

Step 2: Configure an IPv4 floating static default route.


On Edge_Router, configure a directly connected IPv4 floating static default route. This default route should be
through router ISP2. It should have an administrative distance of 5.

Part 2: Configure IPv6 Static and Floating Static Default Routes


In this part of the activity, you will configure IPv6 static default and floating static default routes for IPv6
Step 1: Configure an IPv6 static default route.
On Edge_Router, configure a next hop static default route. This primary default route should be through router
ISP1.

Step 2: Configure an IPv6 floating static default route.


On Edge_Router, configure a next hop IPv6 floating static default route. The route should be via router ISP2. Use
an administrative distance of 5

14
Part 3: Configure IPv4 Static and Floating Static Routes to the Internal LANs
In this part of the lab you will configure static and floating static routers from the ISP routers to the internal LANs.
Step 1: Configure IPv4 static routes to the internal LANs.
a. On ISP1, configure a next hop IPv4 static route to the LAN 1 network through Edge_Router.
b. On ISP1, configure a next hop IPv4 static route to the LAN 2 network through Edge_Router

Step 2: Configure IPv4 floating static routes to the internal LANs.


a. On ISP1, configure a directly connected floating static route to LAN 1 through the ISP2 router. Use an
administrative distance of 5.
b. On ISP1, configure a directly connected floating static route to LAN 2 through the ISP2 router. Use an
administrative distance of 5.

Part 4: Configure IPv6 Static and Floating Static Routes to the Internal LANs.
Step 1: Configure IPv6 static routes to the internal LANs.
c. On ISP1, configure a next hop IPv6 static route to the LAN 1 network through Edge_Router.
d. On ISP1, configure a next hop IPv6 static route to the LAN 2 network through Edge_Router.

Step 2: Configure IPv6 floating static routes to the internal LANs


a. On ISP1, configure a next hop IPv6 floating static route to LAN 1 through the ISP2 router. Use an
administrative distance of 5.
b. On ISP1, configure a next hop IPv6 floating static route to LAN 2 through the ISP2 router. Use an
administrative distance of 5.

If your configuration has been completed correctly, you should be able to ping the Web Server from the hosts
on LAN 1 and LAN 2. In addition, if the primary route link is down, connectivity between the LAN hosts and
the Web Server should still exist.

15
Part 5: Configure Host Routes
Users on the corporate network frequently access a server that is owned by an important customer. In this part of
the activity, you will configure static host routes to the server. One route will be a floating static route to support
the redundant ISP connections.
Step 1: Configure IPv4 host routes
a. On Edge Router, configure an IPv4 directly connected host route to the customer server.
b. On Edger Router, configure an IPv4 directly connected floating host route to the customer sever. Use an
administrative distance of 5.

Step 2: Configure IPv6 host routes


a. On Edge Router, configure an IPv6 next hop host route to the customer server through the ISP1 router.
b. On Edger Router, configure an IPv6 directly connected floating host route to the customer sever through
the ISP2 router. Use an administrative distance of 5.

2.2. Troubleshoot Static and Default Routes


Device Interface IP Addresses
R1 G0/0 172.31.1.1/25
R1 G0/0
2001:DB8:1::1/64
S0/0/0 172.31.1.194/30
R1

S0/0/0
2001:DB8:2::194/64
R1

R2 G0/0 172.31.0.1/24

2001:DB8:3::1/64
R2 G0/0

S0/0/0 172.31.1.193/30
R2

2001:DB8:2::193/64
R2 S0/0/0

S0/0/1 172.31.1.197/30
R2

2001:DB8:4::197/64
R2 S0/0/1

R3 G0/0 172.31.1.129/26
R3 G0/0
2001:DB8:5::1/64
S0/0/1 172.31.1.198/30
R3

S0/0/1
2001:DB8:4::198/64
R3

PC1 NIC 172.31.1.126/25

2001:DB8:1::126/64
PC1 NIC

172.31.0.254/24

16
PC2 NIC 2001:DB8:3::254/64
PC2 NIC

Server NIC 172.31.1.190/26

2001:DB8:5::190/64

Objectives
In this activity you will troubleshoot static and default routes and repair any errors that you find.
• Troubleshoot IPv4 static routes.
• Troubleshoot IPv4 default routes.
• Troubleshoot IPv6 static routes.
• Configure IPv4 static routes.
• Configure IPv4 default routes.
• Configure IPv6 static routes.

Background / Scenario
A newly hired network technician is attempting to preconfigure a simple topology that will be delivered to a
customer. The technician has not been able to establish connectivity between the three LANs. You have been
asked to troubleshoot the topology and verify connectivity between the hosts on the three LANs over IPv4 and
IPv6.

Instructions
Step 1: Locate and document the problems.
Record your findings in a table like the one below.

17
• Router 1

18
• Router 2

19
• Router 3

Location Problem Solution


R1 IPv4 Default route next hop interface address is incorrect. Change next hop address to
172.31.1.193
R2 IPv6 route to LAN 1 has the wrong network address for Change destination address from
the destination network. 2001:DB6:1::/64 to 2001:DB8:1::/64
R2 The next hop addresses in the two IPv4 routes are Change the statements to ip route
reversed. 172.31.1.0 255.255.255.128
172.31.1.194 and ip route
172.31.1.128 255.255.255.192
172.31.1.198
R3 The IPv6 route to LAN 1 is missing. Configure a directly connected static
route to 2001:DB8:1::/64

20
R3 The IPv4 route to LAN 1 has the wrong mask for the Change the mask to 255.255.255.128
network.

Step 2: Repair the problems.


Configure the devices so that full connectivity exists between the hosts on the LANs over IPv4 and IPv6.
Note: Your task is to establish connectivity using the existing static route design. Changing the types of static
routes used will result in a loss of points.
• Router 1

• Router 2

• Router 3

21

You might also like