Networks and Networking AICT003-3-2 Local Area Network Technologies
Networks and Networking AICT003-3-2 Local Area Network Technologies
Networks and Networking AICT003-3-2 Local Area Network Technologies
AICT003-3-2
Local Area Network Technologies
Bridge
Hub
Switch
Router
Learning Outcomes
At the end of this lecture YOU should be
able to:
Describe the function of the following devices:
Repeater
Bridge
Router
Hub
Switch
Signals
A signal may experience attenuation as
the distance it has to travel increases.
This is not acceptable when networks
reach distances covering several
kilometers.
The amount of attenuation that affect the
signals along this channels would
introduce very high data corruption rates.
5
Devices
In order to link multiple networks, devices
are required to determine where a
particular packet is headed.
These devices are responsible for careful
routing of packets such that it would not
end up in the wrong network.
Overview
hub
The most basic of these devices is the
repeater.
The function of the repeater is to simply
regenerate the signal which it receives
and retransmits a refreshed signal back
into the network towards the sink.
A repeater has no other function except for
its duty to increase the physical length of a
network.
8
Port
08-00-07-06-41-B9
00-00-0C-60-7C-01
00-80-24-07-8C-02
If the destination address is not in the table the frame is sent to all
ports, except the port on which the frame was received
Multicast and Broadcast frames are also flooded to all ports
Thus all the bridged segments together form a single broadcast
domain, and each port of a bridge is a collision domain.
Switches
Software-based
Relatively slow
Comparatively fast
Typically up to 16 ports
Maximum Number of
Workstations
IP
500
NetWare
300
AppleTalk
200
NetBIOS
200
Mixed
200
General rule:
Limit the size of
broadcast domains to
under 200 workstations
(or other devices like IP
phones)
Bridging
In theory, the amount of broadcast traffic sets a practical limit to the size
of the broadcast domain. In practice, managing and troubleshooting a
bridged campus becomes increasingly difficult as the number of users
increases. One misconfigured or malfunctioning workstation can disable
an entire broadcast domain for an extended period of time.
When designing a bridged campus, each bridged segment corresponds
to a workgroup. The workgroup server is placed in the same segment as
the clients, allowing most of the traffic to be contained. This design
principle is referred to as the 80/20 rule and refers to the goal of keeping
at least 80 percent of the traffic contained within the local segment.
Layer 2 Switching
Layer 3 Routing
A router is a packet switch that is used to provide connectivity between
broadcast domains. Routers forward packets based on network addresses
rather than Media Access Control (MAC) addresses. These internets are
more scalable than flat bridged networks, because routers summarize
reachability by network number.
Routing protocols offer:
Load balancing across many equal-cost paths (in the Cisco
implementation)
Optimal or lowest-cost paths between networks
Fast convergence when changes occur
Summarized (and therefore scalable) reachability information
(more details coming soon)
Switch
By scanning the address of a network packet, a
switch can route the packet directly towards the
destination, thereby it reduces collisions on the
Ethernet.
The other advantage is that each packet does not
use up the entire capacity of the Ethernet. This
would, then, allow for simultaneous packet
transmissions.
In this sense, a switch would function better than a
hub in Ethernet networks.
19
MAC Address
Port
08-00-07-06-41-B9
00-00-0C-60-7C-01
1
2
00-80-24-07-8C-02
First. Imagine two switches that are not connected to each other in any way. Switch A
connects stations in Network A and Switch B connects stations in Network B,
When Station A1 sends a broadcast, Station A2 and Station A3 receive the broadcast,
but none of the stations in Network B receive the broadcast, because the two
switches are not connected.
Station A2
LAN B
Station A3
Station B1
Station B2
Switch A
Station A4
Station B3
Switch B
Station A5
LAN A
Station A6
Station B4
Station B5
LAN B
Station B6
Station A2
VLAN A
Station A3
Station A4
Station A5
Switch A
Station B1
Station A6
Switch B
Station B2
VLAN B
Station B3
Station B4
Station B5
VLAN B
Station B6
VLAN A
Switch A
Station B1
Switch B
Station B2 Station B3
VLAN B
Station B4
Station B5 Station B6
VLAN B
VLAN A
Switch A
Station B1
Switch B
Station B2 Station B3
VLAN B
Station B4
Station B5 Station B6
VLAN B
What is IOS?
Internetwork Operating System
Operating System of all Cisco Devices
A derivative of BSD UNIX
Custom built by Cisco for each platform
Pre-packaged and static. Complete IOS is upgraded.
Features available in different versions (for a price!)
GUIs available, but 90%+ of users still prefer commandline configuration.
IOS is designed to be hardware independent.
Switch Overview
Switches contain CPU, RAM,
Operating System
POST
When switched on System LED
indicates status
Color System Status
Off System is not powered on.
Green System is operating normally.
Amber System is receiving power but
is not functioning properly.
Port Status 1
Port Status 2
Default Configuration
When powered up without configuration,
the default name is Switch.
No passwords have been configured.
All switch ports are part of VLAN 1
Switch has no IP address
Show version shows the IOS version and
the configuration register.
Actual Configuration
First,
Remove any VLAN info (delete flash: vlan.dat)
Erase startup
Reload
Follow router configuration method to configure
hostname, line passwords, set a default gateway, etc.
Set IP address for management VLAN1 for telnet
access.
Fast Ethernet ports default to auto-speed and autoduplex, or they can be set manually.
Management of a switch can also be done using a GUI
interface as long as HTTP service is turned on.
Switch Configuration 1
Erase any existing settings
VLAN database
Configuration in NVRAM
Switch Management
Connect to switch via console connection
Give switch IP address on management VLAN 1
Switch(config)#interface vlan 1
Switch(config-if)#ip address 192.168.1.2 255.255.255.0
VLAN Configuration
Entering VLAN Database
Switch#vlan database
Switch(vlan)#
Adding VLANs
Switch(vlan)#vlan 15 name
Accounting
Deleting VLAN database
Switch#delete flash:vlan.dat
Assigning ports to a VLAN
Switch(config)#interface
FastEthernet 0/12
Switch(config-if)#switchport access
vlan 15
Verify VLAN Configuration
Switch#show vlan
Summary
Repeater
Bridge
Hub
Switch
Router
Q&A