Simple Netwrok Setup
Simple Netwrok Setup
1
Consider the network topology setup below with corresponding
table of IP addresses specifications for a certain network. The
secret word and the password for the routers is class. The banner
for the router as well reads:
******************************************
WARNING!! Unauthorized Access Prohibited!!
******************************************
WAN
3
Network Setup and
Configuration Procedure
1. Opening a Cisco Packet Tracer application
2. Placing and arranging objects on the
application
3. Renaming object display labels/names
4. Configuring computers and servers
5. Configuring routers
6. Creating connections
7. Troubleshooting connections
4
Open Cisco Packet application
This is the application when opened
Working area
5
Placing and arranging objects
on the application
• Drag, drop and arrange all objects of the set up
as in the topology
1.Click on End Devices object, then on the
instances section, drag and drop 4 Generic PC-
PT and a Server
2.Click on Switches devices object, then on the
instances section, drag and drop 2 2950-24
port switch
3.Click on Routers devices object, then on the
instances section, drag and drop 2 1841 6
Routers
7
Renaming objects display
labels/names
1. Click on the object display label
2. Edit the name to suite your desired name
3. Click on the next object display label an
repeat process 2 for all objects
NB do not click on the object itself but the
object’s label
The named objects should appear as in the
next slide 8
9
Configuring computers
Procedure
Requirements 1. Click on C1 object
1. IP address 2. Click on Desktop tab on C1
2. Subnet mask Window, then IP Configuration
3. Default gateway 3. Choose Static IP Configuration
4. DNS 4. Key in C1 IP address, Subnet
Mask, Default Gateway and DNS
(refer to the table in slide 2) then
5. Close C1 Window
6. Repeat steps 1, 2, 3, 4, 5 for C2,
C3, C4 and Sample server
10
Configuring the Server
Apart from the above basic configuration just as in other
computers, the server requires additional configurations
1.Click on Config tab of Sample server
2.Click on DNS on the Services settings on left hand
side (LHS) pane
3.Clock on option DNS Service, then
4.Type server name on Name text box (i.e sample.com),
then
5.Type servers address on Address text box(i.e
172.168.3.13), then Click Add button
NB other additional services can be configured e.g
HTTP, DHCP, Email etc, but will do only DNS for now
6. Close the Sample server Window
11
Basic Router Configuration
• Command line interface (CLI) is the preferred
configuration platform for a router: GUI can
also be employed
• A router has four CLI levels/modes at which
commands can be entered and executed
User
12
Router Configuration CLI Modes
Mode Role Command How to enter Other CLI
Prompt next mode commands
USER Does not change Router> Router>enable Ping, telnet,
system traceroute
parameters
PRIVILLEGED Manage Router# Router#config t Show, copy
configurations
CONFIGURATION Change system Router(config)# Router(config)# Hostname, enable
wide Line Vty 0 4 secret, banner
configuration motd #, ip route
parameters
LINE Modify Router(config- Router(config- Password, login
configurations of line)# line)#interface
a specific line f0/0
INTERFACE Modify Router(config- - Ip address,
configurations of if)# description, clock
a specific line rate, no shutdown
13
Configuration Requirements
The following are required in order to configure a router
# Requirement Description Mode Executed
1. Display name name Config
2 Router Password password Config
3 Router Banner banner Config
4 Router mode mode Config
5 Line password Line
(console & vty) login Line
6 Interfaces IP address Interface
(Ethernet & serial) S mask Interface
Description Interface
activation Interface
*clock rate interface
7 Verifications show Privileged
8 Saving configurations copy Privileged
14
Basic Router Configuration
To configure a router
1.Click on the router (R1) object
2.Check at the router interface slots to ensure that basic serial
(s0/0/0, s0/0/1) and Ethernet (f0/0, f0/1) interfaces are available.
Serial interface are normally unavailable, so
3.Click on the router power button at the right end side of the
router to power off the router
4.Drag WIC-2T module at the LHS pane modules and drop it at
RHS empty slot of the router
5.Click on the power button at the right end of the router to power
on the router
6.Wait for the router to boot
7.Click on CLI to start configurations
8.Press RETURN/ENTER or enter no when prompted and start 15
your configurations as follows
Name, Password, Banner and Router Mode (R1)
Configurations (step 1 to 4)
Router>enable
Router#config t
Router(config)#hostname R1
R1(config)#enable secret class
R1(config)#banner motd #
Enter TEXT message. End with the character '#'.
******************************************
WARNING!! Unauthorized Access Prohibited!!
******************************************
#
R1(config)# ip route 172.168.3.0
255.255.255.0 172.168.2.2
16
IP Route
•The command for configuring a static route is ip route.
•Simple version of the syntax:
Router(config)# ip route network-address subnet-mask {ip-
address | exit-interface}
•The following parameters are used:
•network-address: Destination network address of the remote
network to be added to the routing table
•subnet-mask: Subnet mask of the remote network to be
added to the routing table. The subnet mask can be modified
to summarize a group of networks.
•One or both of the following parameters must also be used:
•ip-address: Commonly referred to as the next-hop router’s IP
address.
•exit-interface: Outgoing interface that would be used in
forwarding packets to the destination network.
17
R1 VTY and Console Lines Configuration
(step 6)
R1(config)#line vty 0 4
R1(config-line)#password class
R1(config-line)#login
R1(config-line)#line console 0
R1(config-line)#password class
R1(config-line)#login
18
R1 Ethernet and Serial Interfaces Configuration
(step 6)
R1(config-line)#interface Fa0/0
R1(config-if)#ip address 172.168.1.1
255.255.255.0
R1(config-if)#description Link to S1 LAN
R1(config-if)#no shutdown
R1(config-if)#interface S0/0/0
R1(config-if)#ip address 172.168.2.1
255.255.255.0
R1(config-if)#description Link to R2
R1(config-if)#no shutdown
R1(config-if)#clock rate 64000 19
Router Configurations Verifications
(step 7)
R1(config-if)#exit
R1(config)#exit
R1#
R1#show ip interface brief
R1#show run
R1#show start
Saving Configurations to NVRAM (step 8)
As noted in router configurations verification stage, all
configurations are contained in a start (start-up) file in routers
VRAM. The configurations have to be stored in a more
permanent storage (NVRAM) in a run (run) file for later use
20
R1#copy run start
Router (R2) Configurations
Close R1 Window
Click on R2 object and repeat the process as in R1
configurations
Router>enable
Router#config t
Router(config)#hostname R2
R2(config)#enable secret class
R2(config)#banner motd #
Enter TEXT message. End with the character '#'.
******************************************
WARNING!! Unauthorized Access Prohibited!!
******************************************#
R2(config)# ip route 172.168.1.0 21
255.255.255.0 172.168.2.1
R2(config)#line vty 0 4
R2(config-line)#password class
R2(config-line)#login
R2(config-line)#line console 0
R2(config-line)#password class
R2(config-line)#login
22
R2(config-line)#interface Fa0/0
R2(config-if)#ip address 172.168.3.1
255.255.255.0
R2(config-if)#description Link to S2 LAN
R2(config-if)#no shutdown
R2(config-if)#interface S0/0/0
R2(config-if)#ip address 172.168.2.2
255.255.255.0
R2(config-if)#description Link to R1
R2(config-if)#no shutdown
R2(config-if)#end