Md Nadeem Akhtar (19bcs052)
Md Nadeem Akhtar (19bcs052)
Md Nadeem Akhtar (19bcs052)
o A single IP address can contain information about the network and its sub-
network and ultimately the host.
o This scheme enables IP Address to be hierarchical where a network can have
many subnetworks which in turn can have many hosts.
• Classification of IP address
As show in figure we teach how the ip addresses are classified and when they are
used.
∙ Subnet Mask:
The 32-bit IP address contains information about the host and its network. It is
very necessary to distinguish the both.
For this, routers use Subnet Mask, which is as long as the size of the network
address in the IP address. Subnet Mask is also 32 bits long. If the IP address in
binary is ANDed with its Subnet Mask, the result yields the Network address.
For example, say the IP Address 192.168.1.152 and the Subnet Mask is
255.255.255.0 then
Experiment-4
Aim: Connect the computers in Local Area Network.
Procedure: On the host computer
On the host computer, follow these steps to share the Internet connection:
1. Log on to the host computer as Administrator or as Owner.
2. Click Start, and then click Control Panel.
3. Click Network and Internet Connections.
4. Click Network Connections.
5. Right-click the connection that you use to connect to the Internet. For
example, if you connect to the Internet by using a modem, right-click the
connection that you want under Dial-up / other network available.
6. Click Properties.
7. Click the Advanced tab.
8. Under Internet Connection Sharing, select the Allow other network users to
connect through this computer's Internet connection check box.
9. If you are sharing a dial-up Internet connection, select the Establish a dial-up
connection whenever a computer on my network attempts to access the Internet
check box if you want to permit your computer to automatically connect to the
Internet.
10. Click OK. You receive the following message: When Internet Connection
Sharing is enabled, your LAN adapter will be set to use IP address 192.168.0. 1.
Your computer may lose connectivity with other computers on your network. If
these other computers have static IP addresses, it is a good idea to set them to
obtain their IP addresses automatically. Are you sure you want to enable Internet
Connection Sharing?
11. Click Yes. The connection to the Internet is shared to other computers on the
local area network (LAN). The network adapter that is connected to the LAN is
configured with a static IP address of 192.168.0. 1 and a subnet mask of
255.255.255.0 On the client computer
To connect to the Internet by using the shared connection, you must confirm the
LAN adapter IP configuration, and then configure the client computer. To confirm
the LAN adapter IP configuration, follow these steps:
1. Log on to the client computer as Administrator or as Owner
2. Click Start, and then click Control Panel.
3. Click Network and Internet Connections.
4. Click Network Connections.
5. Right-click Local Area Connection and then click Properties.
6. Click the General tab, click Internet Protocol (TCP/IP) in the connection uses
the following items list, and then click Properties.
7. In the Internet Protocol (TCP/IP) Properties dialog box, click Obtain an IP
address automatically (if it is not already selected), and then click OK. Note:
You can also assign a unique static IP address in the range of 192.168.0.2 to
254. For example, you can assign the following static IP address, subnet mask,
and default gateway:
8. IP Address 192.168.31.202
9. Subnet mask 255.255.255.0
10. Default gateway 192.168.31.1
11. In the Local Area Connection Properties dialog box, click OK.
12. Quit Control Panel.
Experiment-5
Aim: Study of basic network command and Network configuration commands.
Apparatus (Software): Command Prompt And Packet Tracer.
Procedure: For this EXPERIMENT- follows these steps:
In this EXPERIMENT- we have to understand basic networking commands e.g
ping, tracert etc. All commands related to Network configuration which includes
how to switch to privilege mode and normal mode and how to configure router
interface and how to save this configuration to flash memory or permanent
memory. This command includes
• Configuring the Router commands
• General Commands to configure network
• Privileged Mode commands of a router
• Router Processes & Statistics
• IP Commands
• Other IP Commands e.g. show ip route etc.
ping:
ping (8) sends an ICMP ECHO_REQUEST packet to the specified host. If the host
responds, you get an ICMP packet back. Sound strange? Well, you can “ping” an
IP address to see if a machine is alive. If there is no response, you know
something is wrong.
Traceroute:
Tracert is a command which can show you the path a packet of information
taken from your computer to one you specify. It will list all the routers it passes
through until it reaches its destination, or fails to and is discarded. In addition to
this, it will tell you how long each 'hop' from router to router takes .
nslookup:
Displays information from Domain Name System (DNS) name servers.
NOTE: If you write the command as above it shows as default your pc's server
name firstly
pathping:
A better version of tracert that gives you statics about packet lost and latency.
Experiment-6
Performing an Initial Switch Configuration
Objectives
∙ Perform an initial configuration of a Cisco Catalyst 2960 switch.
Background / Preparation In this activity, you will configure these settings on the
customer Cisco Catalyst 2960 switch:
∙ Host name
∙ Console password
∙ vty password
∙ Privileged EXEC mode password
∙ Privileged EXEC mode secret
∙ IP address on VLAN1 interface
∙ Default gateway
Note: Not all commands are graded by Packet Tracer.
Step 1: Configure the switch host name.
a. From the Customer PC, use a console cable and terminal emulation
software to connect to the console of the customer Cisco Catalyst 2960
switch.
b. Set the host name on the switch to CustomerSwitch using these commands.
Switch>enable
Switch#configure terminal
Switch(config)#hostname CustomerSwitch
Step 2: Configure the privileged mode password and secret.
a. From global configuration mode, configure the password as cisco.
CustomerSwitch(config)#enable password cisco
b. From global configuration mode, configure the secret as cisco123.
CustomerSwitch(config)#enable secret cisco123
Step 3: Configure the console password.
a. From global configuration mode, switch to configuration mode to configure
the console line. CustomerSwitch(config)#line console 0
b. From line configuration mode, set the password to cisco and require the
password to be entered at login.
CustomerSwitch(config-line)#password cisco
CustomerSwitch(config-line)#login
CustomerSwitch(config-line)#exit
Step 4: Configure the vty password.
a. From global configuration mode, switch to the configuration mode for the vty
lines 0 through 15.
CustomerSwitch(config)#line vty 0 15
b. From line configuration mode, set the password to cisco and require the
password to be entered at login
CustomerSwitch(config-line)#password cisco
CustomerSwitch(config-line)#login
CustomerSwitch(config-line)#exit
Step 5: Configure an IP address on interface VLAN1.
Experiment-7
Performing an Initial Router Configuration
Objectives
∙ Configure the router host name.
∙ Configure passwords.
∙ Configure banner messages.
∙ Verify the router configuration.
Background / Preparation In this activity, you will use the Cisco IOS CLI to apply
an initial configuration to a router, including host name, passwords, a message-
of-the-day (MOTD) banner, and other basic settings.
Note: Some of the steps are not graded by Packet Tracer.
Step 1: Configure the router host name.
a. On Customer PC, use the terminal emulation software to connect to the
console of the customer Cisco 1841 ISR.
Set the host name on the router to
CustomerRouter by using these commands.
Router>enable
Router#configure terminal Router(config)#hostname CustomerRouter
a. Currently, the line passwords and the enable password are shown in clear
text when you show the running configuration. Verify this now by entering
the show running-config command.
To avoid the security risk of someone looking over your shoulder and reading
the passwords, encrypt all clear text passwords.
CustomerRouter(config)#service password-encryption
Use the show running-config command again to verify that the passwords are
encrypted.
To provide a warning when someone attempts to log in to the router, configure
a MOTD banner.
CustomerRouter(config)#banner motd $Authorized Access Only!$
Test the banner and passwords. Log out of the router by typing the exit
command twice. The banner displays before the prompt for a password. Enter
the password to log back into the router. You may have noticed that when you
enter a command incorrectly at the user or privileged EXEC prompt, the router
pauses while trying to locate an IP address for the mistyped word you entered.
For example, this output shows what happens when the enable command is
mistyped.
CustomerRouter>emable Translating "emable"...domain server
(255.255.255.255)
To prevent this from happening, use the following command to stop all DNS
lookups from the router CLI.
CustomerRouter(config)#no ip domain-lookup
Save the running configuration to the startup configuration.
CustomerRouter(config)#end
CustomerRouter#copy run start
Step 6: Verify the configuration.
a. Log out of your terminal session with the Cisco 1841 customer router.
b. Log in to the Cisco 1841 Customer Router. Enter the console password when
prompted.
c. Navigate to privileged EXEC mode. Enter the privileged EXEC password when
prompted.
d. Click the Check Results button at the bottom of this instruction window to
check your work.
Experiment-8
Configuring and Troubleshooting a Switched Network
Objectives
∙ Establish console connection to the switch.
∙ Configure the host name and VLAN1.
∙ Use the help feature to configure the clock.
∙ Configure passwords and console/Telnet access.
∙ Configure login banners.
∙ Configure the router.
∙ Solve duplex and speed mismatch problems.
∙ Configure port security.
∙ Secure unused ports.
∙ Manage the switch configuration file.
c. Check results
Your completion percentage should be 100%. If not, click Check Results to see
which required components are not yet completed.
Experiment-9
Connecting a Switch
Objectives
∙ Connect a switch to the network.
∙ Verify the configuration on the switch.
Background / Preparation In this activity, you will verify the configuration on the
customer Cisco Catalyst 2960 switch. The switch is already configured with all the
basic necessary information for connecting to the LAN at the customer site. The
switch is currently not connected to the network. You will connect the switch to
the customer workstation, the customer server, and customer router. You will
verify that the switch has been connected and configured successfully by pinging
the LAN interface of the customer router.
Step 1: Connect the switch to the LAN.
a. Using the proper cable, connect the FastEthernet0/0 on Customer Router to
the FastEthernet0/1 on Customer Switch.
b. Using the proper cable, connect the Customer PC to the Customer Switch on
port FastEthernet0/2.
c. Using the proper cable, connect the Local Server to the Customer Switch on
port FastEthernet0/3.
Step 2: Verify the switch configuration.
a. From the Customer PC, use the terminal emulation software to connect to the
console of the customer Cisco Catalyst 2960 switch.
b. Use the console connection and terminal utility on the Customer PC to verify
the configurations. Use cisco as the console password.
c. Enter privileged EXEC mode and use the show running-config command to
verify the following configurations. The password is cisco123.
a. VLAN1 IP address = 192.168.1.5
b. Subnet mask = 255.255.255.0
c. Password required for console access
d. Password required for vty access
e. Password enabled for privileged EXEC mode
f. Secret enabled for privileged EXEC mode
d. Verify IP connectivity between the Cisco Catalyst 2960 switch and the Cisco
1841 router by initiating a ping to 192.168.1.1 from the switch CLI.
e. Click the Check Results button at the bottom of this instruction window to
check your work.
Experiment-10
Configuring WEP on a Wireless Router
Objectives
∙ Configure WEP security between a workstation and a Linksys wireless router.
Background / Preparation You have been asked to go back to a business customer
and install a new Linksys wireless router for the customer office. The company
has some new personnel who will be using wireless computers to save money on
adding additional wired connections to the building. The business is concerned
about the security of the network because they have financial and highly
classified data being transmitted over the network. Your job is to configure the
security on the router to protect the data. In this activity, you will configure WEP
security on both a Linksys wireless router and a workstation.
Step 1: Configure the Linksys wireless router to require WEP.
a. Click the Customer Wireless Router icon. Then, click the GUI tab to access the
router web management interface.
b. Click the Wireless menu option and change the Network Name (SSID) from
Default to CustomerWireless. Leave the other settings with their default options.
c. Click the Save Settings button at the bottom of the Basic Wireless Settings
window.
d. Click the Wireless Security submenu under the Wireless menu to display the
current wireless security parameters.
e. From the Security Mode drop-down menu, select WEP.
f. In the Key1 text box, type 1a2b3c4d5e. This will be the new WEP pre-shared
key to access the wireless network.
g. Click the Save Settings button at the bottom of the Wireless Security window.
Step 2: Configure WEP on the customer wireless workstation.
a. Click the Customer Wireless Workstation.
b. Click the Config tab.
c. Click the Wireless button to display the current wireless configuration settings
on the workstation.
d. Change the SSID to CustomerWireless.
e. Change the Security Mode to WEP. Enter 1a2b3c4d5e in the Key text box, and
then close the window.
Step 3: Verify the configuration.
After you configure the correct WEP key and SSID on the customer wireless
workstation, notice that there is a wireless connection between the workstation
and the wireless router.
a. Click the Customer Wireless Workstation.
b. Click the Desktop tab to view the applications that are available.
c. Click on the Command Prompt application to bring up the command prompt.
d. Type ipconfig /all and press Enter to view the current network configuration
settings.
e. Type ping 192.168.2.1 to verify connectivity to the LAN interface of the
customer wireless router.
f. Close the command prompt window.
g. Open a web browser.
h. In the address bar of the web browser window, type http://192.168.1.10. Press
Enter. The Intranet web page that is running on the customer server appears. You
have just verified that the customer wireless workstation has connectivity to the
rest of the customer network.
i. Click the Check Results button at the bottom of this instruction window to check
your work.
Experiment-11
Using the Cisco IOS Show Commands
Objectives ∙ Use the Cisco IOS show commands.
Background / Preparation The Cisco IOS show commands are used extensively
when working with Cisco equipment. In this activity, you will use the show
commands on a router that is located at an ISP.
Step 1: Connect to the ISP Cisco 1841 router.
Use the terminal emulation software on ISP PC to connect to the Cisco 1841
router. The ISPRouter> prompt indicates that you are in user EXEC mode. Now
type enable at the prompt. The ISPRouter# prompt indicates that you are in
privileged EXEC mode.
Step 2: Explore the show commands. Use the information displayed by these
show commands to answer the questions in the Reflection section.
a. Type show arp.
b. Type show flash.
c. Type show ip route.
d. Type show interfaces.
e. Type show protocols.
f. Type show users.
g. Type show version.
Experiment-12
Examining WAN Connections
Objective The show commands are very powerful commands for troubleshooting
and monitoring networks. They give a static image of the network at a given time.
The use of a variety of show commands will give a clear picture of how the
networking is communicating and transferring data.
Background / Preparation The physical topology of the network has been
designed using Frame Relay. To test the network connectivity, use a variety of
show commands. Required file: Examining WAN Connections.pka
Step 1: Examine the configuration of Branch1 and Branch2.
a. Click on Branch1 and use various show commands to view the connectivity to
the network.
b. Use the show running-configuration command to view the router
configuration.
c. Use the show ip interface brief command to view the status of the interfaces.
d. Use the various show frame-relay map, show frame-relay pvc, and show frame-
relay lmi commands to see the status of the Frame-relay circuit.
e. Click on Branch 2 and use various show commands to view the connectivity to
the network.
f. Use the show running-configuration command to view the router configuration.
g. Use the show ip interface brief command to view the status of the interfaces.
h. Use the various show frame-relay map, show frame-relay pvc, and show frame-
relay lmi commands to see the status of the Frame-relay circuit.
Step 2: Examine the configuration of Main.
a. Click on Main and use a variety of show commands to view the connectivity to
the network.
b. Use the show running-configuration command to view the router
configuration.
c. Use the show ip interface brief command to view the status of the interfaces.
d. To view the status of the frame-relay configurations use the show frame-relay
lmi, show frame- relay map, and show frame-relay pvc commands.
Experirment-13
Interpreting Ping and Traceroute Output
Objectives
∙ Distinguish the difference between successful and unsuccessful ping attempts.
∙ Distinguish the difference between successful and unsuccessful traceroute
attempts.
Background / Preparation
In this activity, we will test end-to-end connectivity using ping and traceroute. At
the end of this activity, you will be able to distinguish the difference between
successful and unsuccessful ping and traceroute attempts.
Note: Before beginning this activity, make sure that the network is converged. To
converge the network quickly, switch between Simulation mode and Realtime
mode until all the link lights turn green.
Step 1: Test connectivity using ping from a host computer and a router.
Click N-Host, click the Desktop tab, and then click Command Prompt. From the
Command Prompt window, ping the Cisco server at www.cisco.com.
Packet Tracer PC Command Line 1.0
PC>ping www.cisco.com
Pinging 64.100.1.185 with 32 bytes of data:
Request timed out.
Reply from 64.100.1.185: bytes=32 time=185ms TTL=123
Reply from 64.100.1.185: bytes=32 time=281ms TTL=123
Reply from 64.100.1.185: bytes=32 time=287ms TTL=123
Ping statistics for 64.100.1.185:
Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
Minimum = 185ms, Maximum = 287ms, Average = 251ms
PC>
From the output, you can see that N-Host was able to obtain an IP address for the
Cisco server. The IP address was obtained using (DNS). Also notice that the first
ping failed. This failure is most likely due to lack of ARP convergence between the
source and destination. If you repeat the ping, you will notice that all pings
succeed.
From the Command Prompt window on N-Host, ping E-Host at 192.168.4.10. The
pings fail. If you do not want to wait for all four unsuccessful ping attempts, press
Ctrl+C to abort the command, as shown below.
PC>ping 192.168.4.10
Pinging 192.168.4.10 with 32 bytes of data:
Request timed out.
Request timed out.
Ping statistics for 192.168.4.10:
Packets: Sent = 3, Received = 0, Lost = 3 (100% loss),
Control-C
^C
PC>
Click the N-Branch router, and then click the CLI tab.
Press Enter to get the router prompt. From the router prompt, ping the Cisco
server at www.cisco.com.
N-Branch>ping www.cisco.com
Translating "www.cisco.com"...domain server (64.100.1.242)
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 64.100.1.185, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 210/211/213 ms
N-Branch> As you can see, the ping output on a router is different from a PC host.
Notice that the N-Branch router resolved the domain name to the same IP
address that N-Host used to send its pings. Also notice that the first ping fails,
which is indicated by a period (.), and that the next four pings succeed, as shown
with an exclamation point (!).
From the CLI tab on N-Branch, ping E-Host at 192.168.4.10. Again, the pings fail.
To not wait for all the failures, press Ctrl+C.
N-Branch>ping 192.168.4.10 Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.4.10, timeout is 2 seconds: ... Success
rate is 0 percent (0/4)
N-Branch>
Step 2: Test connectivity using traceroute from a host computer and a router.
a. Click N-Host, click the Desktop tab, and then click Command Prompt. From
the Command Prompt window, trace the route to the Cisco server at
www.cisco.com.
PC>tracert www.cisco.com
Tracing route to 64.100.1.185 over a maximum of 30 hops:
1 92 ms 77 ms 86 ms 192.168.1.1
2 91 ms 164 ms 84 ms 64.100.1.101
3 135 ms 168 ms 151 ms 64.100.1.6
4 185 ms 261 ms 161 ms 64.100.1.34
Experirment-14
Demonstrating Distribution Layer Functions
Objective
∙ Demonstrate the functions performed by the Distribution Layer devices.
Background / Preparation
VLANs can be added to a network for security purposes and traffic control.
Devices on separate VLANs are unable to communicate unless a router has been
configured to help with this communication. Observe how packet filtering and
route summarization traverse the network using simulation mode.
Required file: Demonstrating Distribution Layer Functions
Step 1: Setup Simulation filters to capture routing protocols
a. Enter simulation mode in Packet Tracer.
b. Click on the edit filters button.
c. Select EIGRP
d. Click on the Reset Simulation button.
e. Click Auto Capture/Play
f. Observe the EIGRP updates
Step 2: Test connectivity between the network devices using Realtime mode.
a. From PC0 ping PC1, PC2, PC3, and PC4.
b. From PC1 ping PC0, PC2, PC4, PC3
Step 3: Test connectivity between the network devices using Simulation mode
a. Switch from Realtime mode to Simulation mode.
b. Create a simple PDU from PC0 to PC1. Click Capture/Forward until the PDU has
made the complete trip to PC1 and back.
c. In the event list view the PDU events.
d. Create another PDU from PC0 to PC2.
Experirment-15
Placing ACLs
Objectives
∙ Verify network connectivity
∙ Examine the Access Control Lists (ACLs) that are configured on the routers
∙ Determine the appropriate interface to apply the ACLs
∙ Examine the effects of the ACL
Background / Preparation
This activity demonstrates how the flow of network traffic is affected by applying
an ACL to permit or deny traffic in the network. The network administrator has
decided that all external web traffic goes only to the Web server. Also, in order to
protect the data of their employees, the HR server is only accessible to HR
employees. Therefore, ACLs will need to be implemented on the network.
Another network technician has already configured the necessary ACLs on both
the Gateway and Distribution2 routers. However, the ACLs have not been applied
to an interface. You have been asked to apply the ACLs and verify that the
appropriate traffic is permitted or denied.
Required file: Placing ACLs
Step 1: Verify network connectivity
a. Verify that all of the PCs can communicate with each other and with the
servers.
b. Verify that the Internet Host can access the Web server (192.168.0.3), Sales
server (192.168.10.2) and HR server (192.168.40.2) using the browser.
Step 2: Examine the Access Control Lists that are configured on the routers
a. Access the Distribution1 router. Use the following commands to view the
ACL that has been configured on the Distribution1 router:
∙ show running-config
∙ show access-lists 1
b. Access the Gateway router. Use the following commands to view the ACL
that has been configured on the Gateway router:
∙ show running-config
Experirment-16
Exploring Different LAN Switch Options
Objectives
∙ Determine the cable types to use to connect all devices to the switch.
∙ Add appropriate modules to switches and routers.
∙ Connect the devices to the switch using the appropriate cable types.
Background / Preparation
The results of a site survey for an ISP customer indicate that the customer needs
to upgrade the LAN to include a new standalone switch. The network has an
existing router (Router0) and a Linksys 300N router. It is necessary to determine
which interfaces are needed on the new switch to provide connectivity to the
router, the Linksys device, and the customer PCs. The customer wants to use
copper cabling.
Note: Links created with the switch may take a minute to change from amber to
green. Switch between Simulation mode and Realtime mode to speed up this
process.
Step 1: Determine the required connectivity options.
a. Click Router0. Using the information in the Physical Device View window on
the Physical tab, determine what type of interface is available on the router
to connect to the new switch.
Step 2: Configure the new switch with the required options.
a. Click Switch0.
On the Physical tab, explore each switch module available under the Modules
option. Choose the appropriate interfaces to connect to Router0 and the
Linksys 300N router. Choose the appropriate interfaces to connect to the
existing PCs. Power down the switch using the power button in the Physical
Device View window on the Physical tab. Choose the appropriate modules for
the switch. Add the four necessary interfaces to the switch. Power up the
switch using the power button shown in the Physical Device View window on
the Physical tab. Click the Config tab. Select each interface and ensure that the
On box is checked.
Step 3: Connect the router to the switch.
a. Using the appropriate cable, connect the router port to the first available
switch port. Click the Config tab on the router. Select the interface and ensure
that the On box is checked.
b. Verify connectivity. A green light appears on each end of the link if the
cabling is correct.
Step 4: Connect the Linksys 300N to the switch.
a. Using the appropriate cable, connect the Linksys 300N to the second
available port on the new switch. Verify connectivity. A green light appears
on each end of the link if the cabling is correct.
Step 5: Connect the PCs to the switch.
a. Using the appropriate cable, connect the existing PCs to the new switch.
b. Verify connectivity. A green light appears on each end of the links if the
cabling is correct.
c. Click the Check Results button at the bottom of this instruction window to
check your work.
Experirment-17
Implementing an IP Addressing Scheme
Objectives
∙ Subnet an address space based on the host requirements.
∙ Assign host addresses to devices.
∙ Configure devices with IP addressing.
∙ Verify the addressing configuration.
Background / Preparation
In this activity, we will subnet the private address space 192.168.1.0/24 to
provide enough host addresses for the two LANs attached to the router. we will
then assign valid host addresses to the appropriate devices and interfaces. Finally,
you will test connectivity to verify your IP address implementation.
Step 1: Subnet an address space based on the host requirements.
a. You are given the private address space 192.168.1.0/24. Subnet this
address space based on the following requirements:
∙ LAN-A needs enough addresses for 50 hosts.
∙ LAN-B needs enough addresses for 40 hosts.
Step 2: Assign host addresses to devices.
What is the subnet address for subnet 0?
What is the subnet address for subnet 1?
Assign subnet 0 to LAN-A, and assign subnet 1 to LAN-B.
What is the first address in subnet 0?
This address is assigned the FastEthernet0/0 interface on Customer Router.
What is the first address in subnet 1?
This address is assigned the FastEthernet0/1 interface on Customer Router.
What is the last address in subnet 0?
This address is assigned to HostA.
What is the last address in subnet 1?
This address is assigned to HostB.
Step 3: Configure devices with IP addressing.
Configure HostA and HostB with IP addressing, including the subnet mask and
default gateway.
a. Click HostA. On the Desktop tab, choose IP Configuration. Enter the correct
addressing for HostA according to your answers in Step 1 and Step 2.
b. Click HostB. On the Desktop tab, choose IP Configuration. Enter the correct
addressing for HostB according to your answers in Step 1 and Step 2.
c. Check results. On the Assessment Items tab, your configurations for HostA
and HostB should have green checkmarks. If not, read the provided feedback
for a hint on how to correct the problem.
Note: If you cannot see all the feedback, place your mouse pointer over the
right side of the Activity Results window. When the cursor turns into a double-
headed arrow, click and drag to resize the window until you can see all the
feedback text.)
Configure the LAN interfaces on Customer Router with IP addresses and a
subnet mask.
a. Click Customer Router. Click the Config tab.
b. On the left side under Interface, click FastEthernet0/0. Enter the IP address
and subnet mask, and then set the Port Status to On.
c. On the left side under Interface, click FastEthernet0/1. Enter the IP address
and subnet mask, and then set the Port Status to On.
d. Notice in the Equivalent IOS Commands window that your actions produced
actual commands. You can scroll through the command window. In the next
chapter, you will learn how to enter these commands directly into the router
instead of using the Config tab. For a better view of the commands, you can
increase the size of the window. To resize the window, place your mouse
pointer over the bottom border of the window. When the cursor turns into a
double- headed arrow, click and drag.
Check results. On the Assessment Items tab, your configurations for Customer
Router should have green checkmarks. If not, read the provided feedback for a
hint on how to correct the problem.
Step 4: Verify the addressing configuration.
a. Test connectivity between HostA, HostB, ISP Workstation, and ISP Server.
You can use the Add Simple PDU tool to create pings between the devices. You
can also click HostA or HostB, then the Desktop tab, and then Command
Prompt. Use the ping command to test connectivity to other devices. To
obtain the IP address of another device, place your mouse pointer over the
device.
b. Check results. On the Connectivity Tests tab, the status of each test should
be successful.
Experirment-18
Examining Network Address Translation (NAT)
Objectives
∙ Examine NAT processes as traffic traverses a NAT border router.
Background / Preparation
In this activity, we will use Packet Tracer Simulation mode to examine the
contents of the IP header as traffic crosses the NAT border router.
Step 1: Prepare the network for Simulation mode.
Verify that the network is ready to send and receive traffic. All the link lights
should be green. If some link lights are still amber, you can switch between
Simulation and Realtime mode several times to force the lights to turn green
faster. Switch to Simulation mode before going to the next step.
Step 2: Send an HTTP request from an inside host to an outside web server.
Click Customer PC. Click the Desktop tab and then Web Browser. In the URL field,
type the web address for the ISP server (www.ispserver.com). Make sure that you
are in Simulation mode, and then click Go.
Step 3: Send an HTTP request from an outside host to an inside web server.
Customer Server provides web services to the public (outside addresses) through
the domain name www.customerserver.com. Follow a process similar to Step 2 to
observe an HTTP request on ISP Workstation.
a. Click ISP Workstation. Click the Desktop tab, and then Web Browser. In the URL
field, type the Customer Server web address (www.customerserver.com). Make
sure that you are in Simulation mode, and then click Go.
b. You can either click Auto Capture/Play or Capture/Forward to step through
each stage of the process. The same ARP and DNS processes occur before the ISP
Workstation can formulate an HTTP request.
Experirment-19
Observing Static and Dynamic Routing
Objective
Observe the network behavior using static and default routing only and compare
it to the behavior of dynamic routing.
Background / Preparation
In this exercise, we will observe what the adaptability of dynamic routing
compared to static and default routing. The Ticket Sales Office network is
currently configured using static and default routing.
Step 1: Test Connectivity Using Static and Default Routing
Open a Command Prompt on PC0. Trace (tracert) a connection to the Edge1
FastEthernet 0/0 address. This should be successful.
Step 2: Bring down Frame Relay Network and Observe Routing.
On the BR2 router, shutdown the link to the Frame Relay network. Perform a
trace from PC0 again to the Edge1 FastEthernet 0/0 address.
Step 3: Configure Dynamic Routing and Observe Routing
a. Configure EIGRP (AS 10) on the BR2 and ISP2 routers. Be sure to include all
directly connected networks and turn off auto-summary.
b. Do a third trace from PC0 to the Edge1 FastEthernet 0/0 interface. (It should be
successful again.)
Experiment-20
Configuring Ethernet and Serial Interfaces
Objectives
∙ Configure a LAN Ethernet interface.
∙ Configure a WAN serial interface.
∙ Verify the interface configurations.
Background / Preparation
In this activity, we will configure the LAN Ethernet interface and the WAN serial
interface on the Customer Cisco 1841 router.
Step 1: Configure the LAN Ethernet interface.
a. Use the terminal emulation software on the Customer PC to connect to the
Cisco 1841 Customer Router. Enter cisco for the console password.
b. Enter privileged EXEC mode using cisco123 for the privileged EXEC password.
The CustomerRouter# prompt indicates that you are in privileged EXEC mode.
c. Enter global configuration mode. The CustomerRouter(config)# prompt
indicates that you are in global configuration mode.
d. Identify which LAN interface to configure with an IP address. To configure the
Fast Ethernet interface, use this command. CustomerRouter(config)#interface
FastEthernet 0/0
Add a description to the interface.
CustomerRouter(config-if)#description Connected to CustomerSwitch
Specify the IP address and subnet mask for the interface.
CustomerRouter(config-if)#ip address 192.168.1.1 255.255.255.0
Ensure that the interface is enabled.
CustomerRouter(config-if)#no shutdown
Exit interface configuration mode.
CustomerRouter(config-if)#end
Step 2: Verify the LAN interface configuration.
Use the show ip route command to verify your configuration. This is a partial
example of the output.
CustomerRouter#show ip route
<output omitted>
Gateway of last resort is not set
C 192.168.1.0/24 is directly connected, FastEthernet0/0
Step 3: Configure the WAN serial interface.
Refer to the model in the Packet Tracer workspace area and the commands used
in Step 1 to configure the WAN serial interface on Customer Router.
a. Enter global configuration mode.
b. Identify the serial interface to configure.
c. Describe the interface. (Connected to ISP)
d. Specify the interface IP address and subnet mask. (209.165.200.225
255.255.255.224)
e. Ensure that the interface is enabled.
f. End interface configuration mode.
Step 4: Verify the interface configurations.
Use the show run command to verify your configuration.
This is a partial example of the output.
CustomerRouter#show
run
...
!
interface FastEthernet0/0
description Connected to CustomerSwitch
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/1/0
description Connected to ISP
ip address 209.165.200.225 255.255.255.224
!
Use the ping command to verify connectivity to the WAN interface on the ISP
router. This is a partial example of the output.
CustomerRouter#ping 209.165.200.226
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 209.165.200.226, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 35/37/47 ms
Use the ping command to verify connectivity to the customer switch. This is a
partial example of the output.
CustomerRouter#ping 192.168.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 0/5/12 ms
Step 5: Save the configuration.
a. In privileged EXEC mode, save the running configuration to the startup
configuration. CustomerRouter#copy run start
b. Click the Check Results button at the bottom of this instruction window to
check your work.
Experiment-21
Configuring a Default Route
Objectives
Configure a default route on a router.
Background / Preparation
In this activity, you will configure a default route on the Cisco 1841
Customer router. The default route configuration uses the WAN IP
address on the Cisco 1841 ISP router. This is the next-hop router from
the Cisco 1841 Customer router.
CustomerRouter>ping209.165.201.1
CustomerRouter#show
ip route Codes: C -
connected, S - static,...
abort.
Objectives
Configure static routes on each router to allow communication between all
clients.
Test connectivity to ensure that each device can fully communicate with all
other devices.
Background / Preparation
This topology represents a small WAN. Each device in this network has been
configured with IP addresses; however, no routing has been configured. The
company management wants to use static routes to connect the multiple
networks.
Step 1: Test connectivity between the PCs and the default gateway.
To determine if there is connectivity from each PC to its configured gateway,
first use a simple ping test.
a. Click BOpc and go to Desktop > Command Prompt.
b. From the command prompt, type the ipconfig command. Note the IP
address for BOpc and the default gateway address. The default gateway
address is the IP address for the Fast Ethernet interface on BranchOffice.
c. Ping192.168.1.1, the default gateway address for the BranchOffice LAN,
from the command prompt on BOpc. This ping should be successful.
d. Click PNpc and go to Desktop > Command Prompt.
e. From the command prompt, type the ipconfig command. Note the IP
address for PNpc and the default gateway address. The default gateway
address is the IP address for the Fast Ethernet interface a PartnerNet.
f. Ping192.168.3.1, the default gateway address for the PartnerNet LAN,
from the command prompt on PNpc. This ping should be successful.
g. Repeat steps a, b, and c for MOpc and its respective default gateway, the
Fast Ethernet interface on MainOffice. Each of these ping tests should
be successful.
ip
route192.168.1.0255.255.255.01
0.10.10.2 ip
route192.168.3.0255.255.255.01
0.10.10.6
65 | Page
Experiment-23
Configuring RIP
Objectives
∙ Configure routers using basic interface configuration commands.
∙ Enable RIP.
∙ Verify the RIP configuration.
Background / Preparation
A simple routed network has been set up to assist in reviewing RIP routing
behaviour. In this activity, we will configure RIP across the network and set up end
devices to communicate on the network.
Step 1: Configure the SVC01 router and enable RIP.
66 | Page
a. From the CLI, configure interface Fast Ethernet 0/0 using the IP address
10.0.0.254 /8.
b. Configure interface serial 0/0/0 using the first usable IP address in network
192.168.1.0 /24 to connect to the RTR01 router. Set the clock rate at 64000.
c. Configure interface serial 0/0/1 using the first usable IP address in network
192.168.2.0 /24 with a clock rate of 64000.
d. Using the no shutdown command, enable the configured interfaces.
e. Configure RIP to advertise the networks for the configured interfaces.
f. Configure the end devices.
i. Server0 uses the first usable IP address in network 10.0.0.0 /8.
Specify the appropriate default gateway and subnet mask. ii. Printer0 uses the
second usable IP address in network 10.0.0.0 /8.
Specify the appropriate default gateway and subnet mask.
Step 2: Configure the RTR01 router and enable RIP.
a. Configure interface Fast Ethernet 0/0 using the first usable IP address in
network 192.168.0.0 /24 to connect to the RTR02 router.
b. Configure interface serial 0/0/0 using the second usable IP address in network
192.168.1.0 /24 to connect to the SVC01 router.
c. Configure interface Fast Ethernet 0/1 using the IP address 172.16.254.254 /16.
d. Using the no shutdown command, enable the configured interfaces.
e. Configure RIP to advertise the networks for the configured interfaces.
f. Configure the end devices.
i. PC0 uses the first usable IP addresses in network 172.16.0.0 /16.
ii. PC1 uses the second usable IP address in network 172.16.0.0 /16.
iii. Specify the appropriate default gateway and subnet mask on each PC.
67 | Page
Step 3: Configure the RTR02 router and enable RIP.
a. Configure interface Fast Ethernet 0/0 using the second usable IP address in
network 192.168.0.0 /24 to connect to the RTR01 router.
b. Configure interface serial 0/0/0 using the second usable IP address in network
192.168.2.0 /24 to connect to the SVC01 router.
c. Configure interface Fast Ethernet 0/1 using the IP address 172.17.254.254 /16.
d. Using the no shutdown command, enable the configured interfaces.
e. Configure RIP to advertise the networks for the configured interfaces.
f. Configure the end devices.
i. PC2 uses the first usable IP addresses in network 172.17.0.0 /16.
ii. PC3 uses the second usable IP address in network 172.17.0.0 /16.
iii. Specify the appropriate default gateway and subnet mask on each PC.
Step 4: Verify the RIP configuration on each router.
a. At the command prompt for each router, issue the commands show ip
protocols and show ip route to verify RIP routing is fully converged. The show ip
protocols command displays the networks the router is advertising and the
addresses of other RIP routing neighbors. The show ip route command output
displays all routes know to the local router including the RIP routes which are
indicated by an “R”.
b. Every device should now be able to successfully ping any other device in this
activity.
c. Click the Check Results button at the bottom of this instruction window to
check your work.
68 | Page
Experiment-24
Planning Network-based Firewalls
Objectives
∙ Place firewalls in appropriate locations to satisfy security requirements.
Background / Preparation
You are a technician who provides network support for a medium-sized business.
The business has grown and includes a research and development department
working on a new, very confidential project. The livelihood of the project depends
on protecting the data used by the research and development team.
Your job is to install firewalls to help protect the network, based on specific
requirements. The Packet Tracer topology that you will use includes two
69 | Page
preconfigured firewalls. In the two scenarios presented, you will replace the
existing routers with the firewalls. The firewalls need to be configured with the
appropriate IP address configurations, and the firewalls should be tested to
ensure that they are installed and configured correctly.
Scenario 1: Protecting the Network from Hackers
Because the company is concerned about security, you recommend a firewall to
protect the network from hackers on the Internet. It is very important that access
to the network from the Internet is restricted.
Firewall_1 has been preconfigured with the appropriate rules to provide the
security required. You will install it on the network and confirm that it is
functioning as expected.
Step 1: Replace Router_A with Firewall_1.
a. Remove Router_A and replace it with Firewall_1.
b. Connect the Fast Ethernet 0/0 interface on Firewall_1 to the Fast Ethernet 0/1
interface on Switch_A. Connect the Fast Ethernet 0/1 interface on Firewall_1 to
the Ethernet 6 interface of the ISP cloud. (Use straight-through cables for both
connections.)
c. Confirm that the host name of Firewall_1 is Firewall_1.
d. On Firewall_1, configure the WAN IP address and subnet mask for the
FastEthernet 0/1 interface as 209.165.200.225 and 255.255.255.224.
e. Configure the LAN IP address and subnet mask for the Fast Ethernet 0/0
interface on Firewall_1 as 192.168.1.1 and 255.255.255.0.
Step 2: Verify the Firewall_1 configuration.
a. Use the show run command to verify your configuration. This is a partial
example of the output.
Firewall_1#show run
70 | Page
Building configuration...
hostname Firewall_1
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
ip nat inside
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 209.165.200.225 255.255.255.224
ip access-group 100 in
ip nat outside
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
ip nat inside
source list 1
interface FastEthernet0/0
71 | Page
overload ip classless
ip route 192.168.2.0 255.255.255.0 192.168.1.2
ip route 192.168.3.0 255.255.255.0 192.168.1.3
!
access-list 1 permit 192.168.0.0 0.0.255.255
access-list 100 deny
ip any host 209.165.200.225
!
End
b. From PC_B, ping 209.165.200.225 to verify that the internal computer can
access the Internet. PC>
ping 209.165.200.225
Pinging 209.165.200.225 with 32 bytes of data:
Reply from 209.165.200.225: bytes=32 time=107ms TTL=120
Reply from 209.165.200.225: bytes=32 time=98ms TTL=120
Reply from 209.165.200.225: bytes=32 time=104ms TTL=120
Reply from 209.165.200.225: bytes=32 time=95ms TTL=120
Ping statistics for 209.165.200.225:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 95ms, Maximum = 107ms, Average = 101ms
c. From privileged EXEC mode on Firewall_1, save the running configuration
to the startup configuration using the copy run start command.
Scenario 2: Securing the Research and Development Network
72 | Page
Now that the entire network is secured from traffic originating from the
Internet, secure the research and development network, Subnet C, from
potential breaches from inside the network. The research and development
team needs access to both the server on Subnet B and the Internet to conduct
research. Computers on Subnet B should be denied access to the research and
development subnet. Firewall_2 has been preconfigured with the appropriate
rules to provide the security required. You will install it on the network and
confirm that it is functioning as expected.
Step 1: Replace Router_C with Firewall_2.
a. Remove Router_C and replace it with Firewall_2.
b. Connect the Fast Ethernet 0/1 interface on Firewall_2 to the Fast Ethernet
0/3 interface on Switch_A. Connect the Fast Ethernet 0/0 interface on
Firewall_2 to the Fast Ethernet 0/1 interface on Switch_C. (Use straight-
through cables for both connections.)
c. Confirm that the host name of Firewall_2 is Firewall_2.
d. On Firewall_2, configure the WAN IP address and subnet mask for the Fast
Ethernet 0/1 interface as 192.168.1.3 and 255.255.255.0.
e. Configure the LAN IP address and subnet mask for the Fast Ethernet 0/0
interface of Firewall_2 as 192.168.3.1 and 255.255.255.0.
Step 2: Verify the Firewall_2 configuration.
a. Use the show run command to verify the configuration. This is a partial
example of the output
Firewall_2#show
interface FastEthernet0/0
ip nat inside
73 | Page
duplex auto
speed auto
interface FastEthernet0/1
ip access-group 100 in
ip nat outside
duplex auto
speed auto
end
b. From the command prompt on PC_B, use the ping command to verify that the computers on
Subnet B cannot access the computers on Subnet C.
PC>
ping 192.168.3.10
74 | Page
c. From the command prompt on PC_C, use the ping command to verify that the computers on
Subnet C can access the server on Subnet B.
PC>
ping 192.168.2.10
Packets:
Sent = 4, Received = 3, Lost = 1 (25% loss), Approximate round trip times in milli-seconds:
d. From the command prompt on PC_C, use the ping command to verify that the computers on
Subnet C can access the Internet.
PC>
ping 209.165.200.225
Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum =
97ms, Maximum = 118ms, Average = 106ms
e. From privileged EXEC mode on Firewall_2, save the running configuration to the startup
configuration using the copy run start command.
f. Click the Check Results button at the bottom of this instruction window to check your work.
75 | Page
Experiment-25
Configuring a Cisco Router as a DHCP Server
76 | Page
Objectives
∙ Configure the customer Cisco 1841 ISR as a DHCP server.
Background / Preparation
In this activity, we will continue to configure the Cisco 1841 ISR router for the
customer network by configuring the DHCP service. The customer has several
workstations that need to be automatically configured with IP addresses on the
local subnet and appropriate DHCP options to allow access to the Internet. The
DHCP pool will use the 192.168.1.0/24 network but the first 49 addresses are
excluded. The default gateway and DNS server also need to be configured as
192.168.1.1 and 192.168.1.10. For this activity, both the user and privileged EXEC
passwords are cisco.
Step 1: Configure the DHCP service.
a. From the customer workstation, use a console cable and terminal emulation
software to connect to the console of the customer Cisco1841 ISR.
b. Log in to the console of the Cisco 1841 ISR and enter global configuration
mode.
c. Before creating a DHCP pool, configure the addresses that are excluded. The
range is from 192.168.1.1 to 192.168.1.49. CustomerRouter(config)#ip dhcp
excluded-address 192.168.1.1 192.168.1.49
d. Create a DHCP pool called pool1. CustomerRouter(config)#ip dhcp pool pool1
e. Define the network address range for the DHCP pool. CustomerRouter(dhcp-
config)#network 192.168.1.0 255.255.255.0
f. Define the DNS server as 192.168.1.10. CustomerRouter(dhcp-config)#dns-
server 192.168.1.10
g. Define the default gateway as 192.168.1.1. CustomerRouter(dhcp-
config)#default-router 192.168.1.1
77 | Page
h. Add an exclusion range of 192.168.1.1 to 192.168.1.49 to the DHCP pool.
CustomerRouter(dhcp-config)#exit CustomerRouter(config)#ip dhcp excluded-
address 192.168.1.1 192.168.1.49
i. Exit the terminal.
Step 2: Verify the DHCP configuration.
a. From the customer workstation, open the Command Prompt window.
b. Type ipconfig /release to release the current IP address.
c. Type ipconfig /renew to request a new IP address on the local network.
d. Verify that the IP address has been correctly assigned by pinging the LAN IP
address of the Cisco 1841 ISR.
e. Click the Check Results button at the bottom of this instruction window to
check your work.
78 | Page
79 | Page