0% found this document useful (0 votes)
10 views18 pages

Sample Configuration Network

Uploaded by

omar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views18 pages

Sample Configuration Network

Uploaded by

omar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

Introduction to Networks

1
Network:
● It is a collection of devices connected together to provide a
certain service to the user.
● Such as computers and printers.

Network Benefits:
1) Data sharing.
2) Resource sharing (printer)
3) Modern technology (Video Conference)

2
Network Components:
1) End devices (PC, Printer)
2) Network Devices ( intermediate devices) (
hub, switch, router)
3) Media ( wires, Wireless)

3
Network Devices:
1) Network Interface Card (NIC):
2) Hub
3) Router
4) Switch

4
2) Hub:
A hub is a network device that repeats information received from a
host to all other connects hosts

● The hub will relay any information received from Host A to


Host B and Host C.
● This means that all the three hosts can communicate with each
other

5
Communication between hosts can be classified into three
types:
● Unicast – Communication from one host to another host only.
● Broadcast – Communication from one host to all the hosts in the
network.
● Multicast – Communication from one host to few hosts only.

6
When a hub is used to network hosts, there are two
problems that arise:
1) A hub repeats information received from one host to all the other
hosts.
2) A hub has a single collision domain.

7
3) Switch:
● The problems associated with hubs can cause degradation of a network.
● To overcome these, switches are used instead of hubs.
● Switches are used to connect hosts in a network, but switches break up
collision domain by providing a single collision domain for every port.

● Remember that each host in Figure is in its own collision


domain and if Host A sends a packet to Host C, Host B will not
receive it.
8
Problems about the Switch:
● Hubs flood out all packets, even the unicast ones.
● A switch does not flood out unicast packets, but it does flood out a
broadcast packet.
● All hosts connected to a switched network are said to be in the same
broadcast domain.
● All hosts connected to it will receive any broadcast sent out in this
domain.
● While broadcasts are useful and essential for network operations, in
a large network too many broadcasts will slow down the network.

11
4) Router:
Routers do not allow broadcasts to be transmitted across different
networks it interconnects and hence effectively breaks up a
broadcast domain.

● In the network shown in Figure, broadcasts from hosts


connected to Switch1 will not reach hosts connected to
Switch2 or Switch3. This is because the router will drop the
broadcast on its receiving interface.
12
Functions of Routers:

1) Breaking up broadcast.
2) Packet Switching:
Routers switch the packets among networks.
3) Path Selection:
Select the best path for the destination network.
4) Path Filtering:
Routers can drop or forward packets based on certain
criteria like their source and destination.

13
Collision domain and broadcast domain:

Device Collision Broadcast


Domain Domain
Hub 1 1
Switch n 1
Router n n
● n: number of ports (or number of interfaces)

14
Networking Types:
1) Local Area Network (LAN):
● This is a term used to describe a network covering a limited
geographical area such as a floor, building or a campus.
● LAN usually has a high data-transfer rate.
● The Ethernet standard is the most commonly used technology in
LANs.
2) Wide Area Network (WAN):
● This is a term used to describe a network covering a large
geographical area such as a multiple cities, a country or even across the
world.
● They are used to connect LANs across the area they cover.
● A typical example would be the LANs at various offices of a company
connected by WAN.
17
Sample Configuration network:
Router Configuration
enable
configure terminal
interface g0/0
ip address 192.168.1.1 255.255.255.0
no shutdown
exit
interface g0/1
ip address 10.0.0.1 255.255.255.0
no shutdown
IP Configuration for PCs:
PC0: IP - 192.168.1.10, Gateway - 192.168.1.1

PC1: IP - 192.168.1.11, Gateway - 192.168.1.1


PC2: IP - 192.168.2.10, Gateway - 192.168.2.1

PC3: IP - 192.168.2.11, Gateway - 192.168.2.1


Ping Testing
PC1 ping PC2

You might also like