C Net 12
C Net 12
C Net 12
Hub Configuration
Hub: An Ethernet hub, active hub, network hub, repeater hub, hub or concentrator is a
device for connecting multiple twisted pair or fiber optic Ethernet devices together and
making them act as a single network segment. Hubs work at the physical layer (layer 1) of
the OSI model. The device is a form of multiport repeater. Repeater hubs also participate in
collision detection, forwarding a jam signal to all ports if it detects a collision.
Step 3: Connect all PCs and hub with copper straight cable by selecting it through the
cables menu from the bottom left menus in the simulator. Green signal in the wire
shows they’re ready to communicate.
Step 4: Now, we’ve to give unique IP address to each PC. Click on each PC, go to
Desktop section and then click on IP configuration to give IP address.
192.168.1.1 255.255.255.0
192.168.1.2 255.255.255.0
192.168.1.3 255.255.255.0
192.168.1.4 255.255.255.0
Conclusion:
We can use as many PC and hubs as we want to build network. We’ve to keep in mind to
give unique IP addresses to all the PCs and check the connectivity in the network by
pinging all the PCs from one another which helps us to consider our network successful.
Switch Configuration
Switch: A network switch is a computer networking device that connects network segments.
The term commonly refers to a network bridge that processes and routes data at the data link
layer (layer 2) of the OSI model. Switches that additionally process data at the network layer
(layer 3 and above) are often referred to as Layer 3 switches or multilayer switches.
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.
Switch>enable
Switch#configure terminal
Switch(config)#hostname CustomerSwitch
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
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
CustomerSwitch(config)#end
CustomerSwitch#ping 209.165.201.10
CustomerSwitch#
Router Configuration
Router: A router is an electronic device that interconnects two or more computer networks,
and selectively interchanges packets of data between them. Each data packet contains address
information that a router can use to determine if the source and destination are on the same
network, or if the data packet must be transferred from one network to another. Where
multiple routers are used in a large collection of interconnected networks, the routers
exchange information about target system addresses, so that each router can build up a table
showing the preferred paths between any two systems on the interconnected networks.
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.
Router>enable
Router#configure terminal
Router(config)#hostname CustomerRouter
Step 2: Configure the privileged mode and secret passwords.
a. In global configuration mode, set the password to cisco.
CustomerRouter(config)#line console 0
Set the password to cisco123, require that the password be entered at login, and then exit line
configuration mode.
CustomerRouter(config-line)#password cisco123
CustomerRouter(config-line)#login
CustomerRouter(config-line)#exit
CustomerRouter(config)#
Step 4: Configure the vty password to allow Telnet access to the router.
a. In global configuration mode, switch to line configuration mode to specify the vty lines.
CustomerRouter(config)#line vty 0 4
Set the password to cisco123, require that the password be entered at login, exit line configuration
mode, and then exit the configuration session.
CustomerRouter(config-line)#password cisco123
CustomerRouter(config-line)#login
CustomerRouter(config-line)#exit
CustomerRouter(config)#
Step 5: Configure password encryption, a MOTD banner, and turn off domain server lookup.
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.
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
CustomerRouter(config)#end
CustomerRouter#copy run start
Experiment No. 02
Experiment Title: Implement the different types of topology by using cisco
package tracker.
Objectives:
1.To study how to implement different types of topology by using cisco package tracker.
2.To study how to configure of all this topology.
3.To study how to operate all this topology.
4.To study how to transfer all this topology.
5.To study how to assign IP and subnet mask in pc.
Step 1: First, open the cisco packet tracer desktop and select the devices like
pc,switches,hub,router etc.
Step2:Then, create a network topology
Step 3: Configure the PCs (hosts) with IPv4 address and Subnet Mask according to the IP
addressing table given above.
2.1 Bus Topology:Bus topology is a type of network topology in which all devices are
connected to a single cable called a bus.
Operations of bus topology :In a bus topology, data transmitted by one device is
received by all others connected to the same network. This means that when a device
sends information, all other devices on the network receive it simultaneously.
Fig2.1.1:bus topology
Simulation Result:
A simulation of the experiment is given below we have sent two PDU packets one
targeted from PC0 to PC2 .
Fig2.1.3:result simulation
Realtime result
2.1 Star Topology:A star topology, sometimes known as a star network, is a network
topology in which each device is connected to a central hub.
Operation of star topology:The systems in a star topology do not connect to each other,
but instead pass messages to the central core that, in turn, passes the message to either
all other systems( when we used hub) or the specific destination system(when we used
switch) depending on the network design.
Network Diagram of star topology with hub
Fig2.2.1:configuration of star topology(hub)
Assigning IP address and Subnet mask like pc0
Fig2.2.2:assigning ip address
Simulation result: The message transferred all devices from pc0 becausing of using hub.
Fig2.2.3:simulation result
Realtime
Fig2.2.5:simulation result
Realtime result
2.3.Ring topology A ring topology is a network configuration where device connections
create a closed circular data path. Each networked device is connected to two others,
like points that form a circle.
Operations of ring topology :In a ring network, the token travels from one node to the
next until it reaches its destination. Most ring topologies allow packets to travel only in
one direction, called a unidirectional ring network. Others permit data to move in either
direction, which is called bidirectional.
Assigning IP address and Subnet mask like pc0
Realtime result
2.4. Tree topology: In networking, tree topology is a structure where devices are
connected hierarchically. It resembles a tree with a root node and various branches. The
root node is connected to multiple levels of child nodes, forming a hierarchy.
Operations of three topology :In this setup, the root node serves as the central hub,
often connected to a main network or server. Each child node can further branch out to
more child nodes, creating multiple levels. This branching allows data to flow from one
node to another in a controlled path.
Assigning IP address and Subnet mask like pc0
Simulation result:
Fig2.4.1: simulation of tree topology
Realtime result
2.5.Mesh topology: A mesh topology is a network setup where each computer and
network device is interconnected with one another. This topology setup allows most
transmissions to be distributed even if one of the connections goes down.
Assigning IP address and Subnet mask like pc0
Realtime result
2.6.Hybrid topology:
Hybrid topology is a network structure that combines two or more different types of
topologies, such as star, ring, bus, or mesh.
Simulation result:
Realtime result