Documente Academic
Documente Profesional
Documente Cultură
Router
A router is a networking device that forwards data packets between computer networks. Routers
perform the traffic directing functions on the Internet. Data sent through the internet, such as
a web page or email, is in the form of data packets. A packet is typically forwarded from one
router to another router through the networks that constitute an internetwork (e.g. the Internet)
until it reaches its destination node.
A router is connected to two or more data lines from different networks.[b] When a data packet
comes in on one of the lines, the router reads the network address information in the packet to
determine the ultimate destination. Then, using information in its routing table or routing policy,
it directs the packet to the next network on its journey.
Router may have interfaces for different types of physical layer connections, such as copper
cables, fiber optic, or wireless transmission. It can also support different network
layer transmission standards. Each network interface is used to enable data packets to be
forwarded from one transmission system to another. Routers may also be used to connect two or
more logical groups of computer devices known as subnets, each with a different network prefix.
Wireless Router
A wireless router is a device that enables wireless network packet forwarding and routing, and
serves as an access point in a local area network. It works much like a wired router but replaces
wires with wireless radio signals to communicate within and to external network environments.
It can function as a switch and as an Internet router and access point.
Network Switch
A network switch (also called switching hub, bridging hub, officially MAC bridge[1]) is
a computer networking device that connects devices on a computer network by using packet
switching to receive, process, and forward data to the destination device.
A network switch is a multiport network bridge that uses hardware addresses to process and
forward data at the data link layer (layer 2) of the OSI model. Some switches can also process
data at the network layer (layer 3) by additionally incorporating routing functionality. Such
switches are commonly known as layer-3 switches or multilayer switches.
Switches are most commonly used as the network connection point for hosts at the edge of a
network. In the hierarchical internetworking model and similar network architectures, switches
are also used deeper in the network to provide connections between the switches at the edge.
Connections
Connections are used to connect two devices using ports that have the same connection types on
both devices.
Crossover cable
A crossover cable is a type of cable installation that is used for the interconnection of two similar
devices. It is enabled by reversing the transmission and receiving pins at both ends, so that output
from one computer becomes input to the other, and vice versa.
Steps
• Place one switch (2950-24).
• Configure each end device (IP address and subnet mask) as follows:
PDU Passing
Practical-03:To establish a connection among systems using a router
Steps
• Place one router (1841).
• Configure each end device(IP address, subnet mask and gateway)as follows:
PC0:-
IP Address: 192.168.1.4
Gateway: 192.168.1.1
PC1:-
IP Address: 192.168.2.4
Gateway: 192.168.2.1
• Connect each PC to the router with a copper crossover cable.
IP Address: 192.168.1.1
IP Address: 192.168.2.1
Router#config t
Router(config)#int fa0/0
Router(config-if)#no shutdown
Router(config)#int fa0/1
Router(config-if)#no shutdown
PDU Passing
Practical-04:To establish a connection among two networks using a
Router
Steps
• Place one router (1841).
• Configure each end device divided into two networks (IP address, subnet mask and
gateway)as follows:
IP Address: 192.168.1.4
Gateway: 192.168.1.1
IP Address: 192.168.1.3
Gateway: 192.168.1.1
IP Address: 192.168.2.4
Gateway: 192.168.2.1
IP Address: 192.168.2.4
Gateway: 192.168.2.1
IP Address: 192.168.1.1
IP Address: 192.168.2.1
Router#configure terminal
Router(config-if)#int fa0/0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#int fa0/1
Router(config-if)#no shutdown
PDU Passing
Practical-05:To establish a connection among two networks using a
dynamic routing
Steps
1. Place the two routers (Router-PT)
2. Place two switches (2950-24)
3. Place end devices (PCs).
4. Configure each end device divided into two networks (IP address, subnet mask and
gateway)as follows:
IP Address: 192.168.1.3
IP Address: 192.168.1.4
Gateway: 192.168.1.1
IP Address: 192.168.2.3
Gateway: 192.168.2.1
IP Address: 192.168.2.4
Gateway: 192.168.2.1
IP Address: 192.168.1.1
IP Address: 10.10.0.2
Port status: On
RIP Entry:
10.0.0.0
IP Address: 192.168.2.1
Serial 2/0:-
IP Address: 10.10.0.3
Port status: On
RIP Entry:
10.0.0.0
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config-if)#int fa0/0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface Serial2/0
Router(config)#port status on
Router(config-if)#no shutdown
Router(config)#router rip
Router(config-router)#network 192.168.1.0
Router(config-router)#network 10.0.0.0
Router(config-router)#port status on
Router(config-router)# no shutdown
Router 2:
Router>enable
Router#configure terminal
Router(config-if)#int fa0/0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface Serial2/0
Router(config)#port status on
Router(config-if)#
Router(config)#router rip
Router(config-router)#network 192.168.2.0
Router(config-router)#network 10.0.0.0
Router(config-router)#port status on
Router(config-router)# no shutdown
PDU Passing
Practical-06:To establish a connection among two router networks
using a static routing
IP Address: 192.168.1.3
Gateway: 192.168.1.1
IP Address: 192.168.2.3
Gateway: 192.168.2.1
IP Address: 192.168.2.3
Gateway: 192.168.2.1
IP Address: 192.168.2.4
Gateway: 192.168.2.1
5. To each switch connect two PCs with a copper straight-through cable.
6. Connect both switches to two different routers with a copper straight-through cable.
7. Connect the routers through serial DTE cable.
8. Configure both the router connections as follows:
IP Address: 192.168.1.1
Serial 2/0:-
IP Address: 10.0.0.2
Port Status: 0n
RIP Entry:
Network: 192.168.2.0
Mask: 255.255.255.0
IP Address: 192.168.2.1
IP Address: 10.10.0.3
Port status: On
Static Entry:
Network: 192.168.1.0
Mask: 255.255.255.0
Router(config-if)#int FastEthernet0/0
Router(config-if)#no shutdown
Router(config-if)#
Router(config-if)#exit
Router(config-if)#interface Serial2/0
Router(config-if)#no shutdown
Router(config-if)#
Router(config-if)#exit
Router(config-if)#
Router 2:
Router>enable
Router#configure terminal
Router(config-if)#int fa0/0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config-if)#exit
Router(config)#interface Serial2/0
Router(config-if)#no shutdown
Router(config-if)#
Router(config-if)#exit
Steps
1. Place the two routers (Router-PT)
2. Place four switches (2950-24)
3. Place eight end devices (PCs).
4. Configure each end device( divided into four networks each two end devices connected
to same switch )as follows:
IP Address: 192.168.1.3
IP Address: 192.168.1.4
Gateway: 192.168.1.1
IP Address: 192.168.2.3
Gateway: 192.168.2.1
IP Address: 192.168.2.4
Gateway: 192.168.2.1
IP Address: 192.168.3.3
Gateway: 192.168.3.1
IP Address: 192.168.3.4
Gateway: 192.168.3.1
Gateway: 192.168.4.1
IP Address: 192.168.4.4
Gateway: 192.168.4.1
5. To each switch connect four PCs (two PCs from two different network) with Copper
Straight-Through cable.
6. Connect both switches to two different routers (router-PT) with Copper Straight _through
cable
7. Connect the routers through serial DTE cable.
8. Configure both the router connection as follows
IP Address: 192.168.1.1
IP Address: 192.168.2.1
Serial 2/0:-
IP Address: 10.10.0.2
Subnet Mask: 255.0.0.0
Port status: On
STATIC
NETWORK: 192.168.3.0
Mask: 255.255.255.0
NETWORK: 192.168.3.0
Mask: 255.255.255.0
IP Address: 192.168.3.1
IP Address: 192.168.4.1
Serial 2/0:-
IP Address: 10.10.0.3
STATIC entry:
NETWORK: 192.168.1.0
Mask: 255.255.255.0
Next hop:10.10.0.2
NETWORK: 192.168.3.0
Mask: 255.255.255.0
Router(config-if)#int FastEthernet0/0
Router(config-if)#
Router(config-if)#exit
Router(config-if)#int FastEthernet1/0
Router(config-if)#no shutdown
Router(config-if)#
Router(config-if)#int FastEthernet1/0
Router(config-if)#
Router(config-if)#exit
Router(config-if)#int FastEthernet0/0
Router(config-if)#no shutdown
Router(config-if)#
Router(config-if)#exit
Router(config)#interface Serial2/0
Router(config-if)#no shutdown
Router(config-if)#
Router>enable
Router(config-if)#int FastEthernet0/0
Router(config-if)#ip address 192.168.3.1 255.255.255.0
Router(config-if)#noshutdown
Router(config-if)#
Router(config-if)#exit
Router(config-if)#interface FastEthernet1/0
Router(config-if)#no shutdown
Router(config-if)#
Router(config-if)#exit
Router(config)#interface Serial2/0
Router(config-if)#no shutdown
Router(config-if)#
Steps
1. Place the threerouters (Router-PT)
2. Place three switches (2950-24)
3. Place sixend devices (PCs).
4. Configure each end device (two end devices in each network )as follows:
IP Address: 192.168.1.3
Gateway: 192.168.1.1
IP Address: 192.168.1.4
Gateway: 192.168.1.1
IP Address: 192.168.2.3
Gateway: 192.168.2.1
Gateway: 192.168.2.1
IP Address: 192.168.3.3
Gateway: 192.168.3.1
IP Address: 192.168.3.4
Gateway: 192.168.3.1
IP Address: 192.168.1.1
Serial 2/0:-
IP Address: 10.10.0.3
Subnet Mask: 255.0.0.0
Port status: on
IP Address: 192.168.4.1
STATIC
NETWORK: 192.168.2.0
Mask: 255.255.255.0
NETWORK: 192.168.3.0
Mask: 255.255.255.0
NETWORK: 11.0.0.0
Mask: 255.0.0.0
NETWORK: 12.0.0.0
Mask: 255.0.0.0
IP Address: 192.168.2.1
Serial 2/0:-
IP Address: 11.10.0.3
Port status: On
Serial 2/0:-
IP Address: 12.0.0.2
Port status: On
NETWORK: 192.168.1.0
Mask: 255.255.255.0
NETWORK: 192.168.3.0
Mask: 255.255.255.0
Next hop: 12.0.0.3
IP Address: 192.168.3.1
Serial 2/0:-
IP Address: 12.10.0.3
Port status: On
STATIC
NETWORK: 192.168.1.0
Mask: 255.255.255.0
NETWORK: 192.168.2.0
Mask: 255.255.255.0
NETWORK: 11.0.0.0
Mask: 255.0.0.0
NETWORK: 12.0.0.0
Mask: 255.0.0.0
Next hop: 12.0.0.2
Router(config-if)#int FastEthernet0/0
Router(config-if)#
Router(config-if)#exit
Router(config-if)#interface serial0/0
Router(config-if)#no shutdown
Router(config-if)#
Router(config-if)#
Router(config-if)#exit
Router(config-if)#
Router(config)#interface serial0/0
Router(config-if)#
Router(config-if)#exit
Router(config)#
Router(config-if)#int FastEthernet0/0
Router(config-if)#
Router(config-if)#exit
Router(config-if)#interface serial0/0
Router(config-if)#no shutdown
Router(config-if)#
Router(config-if)#
Router(config-if)#exit
Router(config-if)#int FastEthernet0/1
Router(config-if)#no shutdown
Router(config-if)#int FastEthernet0/0
Router(config-if)#no shutdown
Router(config-if)#
Router(config-if)#exit
Router>enable
Router#configure terminal
Router(config-if)#int fa0/0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config-if)#exit
Router(config)#interface Serial0/0
Router(config-if)#no shutdown
Router(config-if)#
Router(config)#port status on
Router(config-if)#
Router(config-if)#