Advance Concepts of Networking
Advance Concepts of Networking
Computer Networks
1 © Copyright | HP Education
Computer Network
2 © Copyright | HP Education
Types of Computer Networks
3
3 © Copyright | HP Education
Local Area Network (LAN) - I
© Copyright | HP Education
4 4
Local Area Network (LAN) - II
Advantages of LAN:
Improves productivity due to faster work
Disadvantages of LAN:
Limited number of systems can only be connected
© Copyright | HP Education
5 5
Types of LAN
LANs are classified depending on the techniques used for data sharing
6
6 © Copyright | HP Education
Campus Area Network (CAN)
© Copyright | HP Education
7 7
Metropolitan Area Network
© Copyright | HP Education
8 8
Wide Area Network
Covers a wide geographical area which includes multiple computers or LANs e.g.
Internet
© Copyright | HP Education
9 9
Client/Server Configuration
Client:
Manages local resources used by users such as monitor, keyboard, CPU and
peripherals
© Copyright | HP Education
10 10
Open System Interconnection (OSI)
Model - I
© Copyright | HP Education
11 11
Open System Interconnection (OSI)
Model - II
© Copyright | HP Education
12 12
Topologies
13 © Copyright | HP Education
13
Introducing Topologies
14 © Copyright | HP Education
14
Single Node Topology - I
• Single device, at times device called dumb terminal is connected to the server
• Devices operates on files from server and returns them back after completing task
© Copyright | HP Education
15 15
Single Node Topology - II
• Advantages: • Disadvantages:
– Easy to install, configure and – Network consists of single device
manage
– Dumb terminal is dependent on
– Least expensive server
© Copyright | HP Education
16 16
Bus topology - I
© Copyright | HP Education
17 17
Bus topology - II
© Copyright | HP Education
18 18
Bus topology - III
• Advantages: • Disadvantages:
© Copyright | HP Education
19 19
Star Topology - I
20 © Copyright | HP Education
20
Star Topology - II
• Advantages: • Disadvantages:
21 © Copyright | HP Education
21
Ring Topology - I
22 © Copyright | HP Education
22
Ring Topology - II
• Advantages: • Disadvantages:
– No collisions
– One faulty device affects the entire
network
– Handles large volume of traffic
– Addition of devices affect network
23 © Copyright | HP Education
23
Dual Ring Topology
24 © Copyright | HP Education
24
Mesh Topology - I
25 © Copyright | HP Education
25
Mesh Topology - II
Types
26 © Copyright | HP Education
26
Mesh Topology - III
• Advantages: • Disadvantages:
27 © Copyright | HP Education
27
Tree Topology - I
28 © Copyright | HP Education
28
Tree Topology - II
• Advantages: • Disadvantages:
– Easy to add new – Difficult to configure
devices – If backbone breaks,
– Point-to-point wiring entire network goes
for each device down
– Fault detection is – More expensive
easy
29 © Copyright | HP Education
29
Hybrid Topology - I
30 © Copyright | HP Education
30
Hybrid Topology - II
• Advantages: • Disadvantages:
31 © Copyright | HP Education
31
Transmission Media
32 © Copyright | HP Education
Characteristics of Cables
© Copyright | HP Education
33 33
Types of cables
Types of cables
34
34 © Copyright | HP Education
Coaxial cable
© Copyright | HP Education
35 35
Types of Coaxial cable
36
36 © Copyright | HP Education
RG58
© Copyright | HP Education
37 37
RG8
© Copyright | HP Education
38 38
RG6
39
39 © Copyright | HP Education
RG59
40
40 © Copyright | HP Education
Twisted Pair Cables
• A pair of cables twisted around each other forms a twisted pair cable.
Unshielded Shielded
Twisted Pair Twisted pair
41
41 © Copyright | HP Education
UTP Cables
42
42 © Copyright | HP Education
UTP Cable Types
© Copyright | HP Education
43 43
STP Cables
44
44 © Copyright | HP Education
Fiber Optic Medium
© Copyright | HP Education
45 45
Fiber Optic Cable Characteristics
• Bandwidth – Carries large amount of data ranging from 100 Mbps to 1 Gbps
• Segment Length – Transmits data signals over larger distance
• Interference – No electric signals pass through these types of cables thus providing
security
© Copyright | HP Education
46 46
Fiber Optic Cable Types
47
47 © Copyright | HP Education
Single Mode Fiber Optic cable
• A type of cable that has only a single strand of glass fiber with a thin diameter.
• Fiber optic cables that use lasers are known as single mode cable.
© Copyright | HP Education
48 48
Multi Mode Fiber Optic cable
© Copyright | HP Education
49 49
Fiber Optic Cable Connectors
© Copyright | HP Education
50 50
Media Comparison
Installation cost Cheap Costly than UTP Costly than twisted Most costly to
pair wires install
Bend radius 360 degrees / feet 360 degrees / feet 360 degrees / feet or 30 degrees / feet
30 degrees /
feet
Security Low Low Low High
51
51 © Copyright | HP Education
Internetworking
Devices
52 © Copyright | HP Education
Introducing Network Elements
Networking
Devices
Other
Repeaters Hubs Bridges Switches Routers Gateways
Devices
53
53 © Copyright | HP Education
Repeaters
© Copyright | HP Education
55 55
Operation of Hub
© Copyright | HP Education
56 56
Bridges - I
Layer 2 devices
as works at Data
Link Layer of the
OSI model
Interconnect
multiple LANs
and manages
data flow
© Copyright | HP Education
57 57
Bridges - II
Working of a bridge
© Copyright | HP Education
58 58
Bridges - III
59
59 © Copyright | HP Education
Bridges - IV
• Features
–Easy to use as just plug in device
–Helps in network expansion
–Divides large network into small segments
–Used for increasing network reliability
Disadvantages
–Frames are buffered so provides network delay
–During high traffic may overload network
–Does not filter broadcast packets
–Expensive than Repeaters
© Copyright | HP Education
60 60
Switches
61
61 © Copyright | HP Education
Routers - I
© Copyright | HP Education
63 63
Routing Protocols - I
© Copyright | HP Education
64 64
Gateways - I
Gateway
Types
65
65 © Copyright | HP Education
Gateways - II
© Copyright | HP Education
66 66
Other Devices - I
Other
Devices
Multi-Protocol Layer 3
Brouters
Routers Switches
© Copyright | HP Education
68 68
Network Protocols
69 © Copyright | HP Education
Introducing Protocols
© Copyright | HP Education
70 70
TCP/IP
© Copyright | HP Education
71 71
TCP/IP Protocol Suite
72
72 © Copyright | HP Education
ARP/RARP
© Copyright | HP Education
73 73
ICMP/IGMP
Internet Control Message Protocol (ICMP) provides error reporting and query
management mechanism
ICMP handles problems occurring while packet transmission
Internet Group Message Protocol (IGMP) manages multicasting and group
membership of devices
© Copyright | HP Education
74 74
UDP
© Copyright | HP Education
75 75
IPX/SPX
© Copyright | HP Education
76 76
IPX/SPX Protocol Suite
© Copyright | HP Education
77 77
HDLC/SDLC
• High Level Data Link Control (HDLC) and Synchronous Data Link Control (SDLC) are
bit-oriented synchronous protocols in which data frames are interpreted as series
of bits
• Both are useful for half-duplex and full-duplex communication
• Windows XP still support DLC
© Copyright | HP Education
78 78
Protocols at Different Layers
OSI Layers Protocols
Presentation Layer NCP, RIP, NLSP, SMTP, FTP, DNS, SNMP, NFS
79
79 © Copyright | HP Education
TCP/IP Services and Applications
80 © Copyright | HP Education
Simple Mail Transfer Protocol (SMTP)
© Copyright | HP Education
81 81
SMTP Work Flow
© Copyright | HP Education
82 82
Hypertext Transfer Protocol (HTTP)
© Copyright | HP Education
83 83
HTTP Work Flow
Proxy servers is used with firewalls to monitor and direct HTTP traffic through
proxy to external internet
© Copyright | HP Education
84 84
File Transfer Protocol (FTP)
• Used over Internet to exchange files
• Uses Internet's TCP/IP protocols to enable data transfer
• Establishes two way connections between computers
© Copyright | HP Education
85 85
FTP Communication
• Machine that are involved in an FTP transaction – Client (local host) machine and a
server (remote host)
• Client machine initiates transfer
• Get command used to
copy files from server to
client
• Put command is used to
copy files from client to server
© Copyright | HP Education
86 86
Trivial File Transfer Protocol
(TFTP) - I
• Used to transfer files to and from a remote computer
• Used by servers to boot diskless workstations, X-terminals and routers
• Start with a small amount of built-in software
© Copyright | HP Education
87 87
Trivial File Transfer Protocol
(TFTP) – II
• Connection and Communication between Client/Server
–Communication and messaging different in TFTP when compared with FTP
–TFTP uses UDP
–Process of transferring a file:
•Initial Connection
•Data Transfer
•Connection Termination
© Copyright | HP Education
88 88
Network News Transfer Protocol
(NNTP)
• Used to transfer Usenet news from one machine to another machine
• Usenet news is a large collection of discussion groups, covering a wide range of
topics
• NNTP provides connection-oriented service
• Communication takes place between a client and a server that keeps netnews on
both the places
© Copyright | HP Education
89 89
Simple Network Management
Protocol (SNMP)
• Framework for managing devices over Internet using TCP/IP protocol suite
• Provides set of fundamental operation for monitoring and maintaining devices in the
network
• Agent is server process that maintains Management Information Base (MIB)
database for host
© Copyright | HP Education
90 90
Post Office Protocol (POP)
Used to retrieve email from remote server to local client over TCP/IP connection
E-mail clients using POP3 connect, retrieve all messages or store them on user's PC as
new messages or delete them from server and disconnect
POP3 is a TCP/IP client/server protocol
Session States:
◦ Authorization State
◦ Transaction State
◦ Update State
© Copyright | HP Education
91 91
Internet Message Access
Protocol (IMAP)
• Enables the users to work with the mail on the server
• Does not download the mails
• Used to access e-mails from a local server
• Working with mails
–Accessing and deleting mails
–Attachments
© Copyright | HP Education
92 92
BOOTP and DHCP - I
© Copyright | HP Education
93 93
BOOTP and DHCP – II
© Copyright | HP Education
94 94
TELNET
© Copyright | HP Education
95 95
World Wide Web (WWW) - I
© Copyright | HP Education
96 96
World Wide Web (WWW) – II
• Server Side
–Software program – Web server that runs on a remote
server
–Manages and shares web based applications
–Operations include processing and storage of data from
client to server
© Copyright | HP Education
97 97
Wireless Networking
98 © Copyright | HP Education
Wireless Networking Basics
99
99 © Copyright | HP Education
Types of Wireless Network – I
• Peer-to-Peer(P2P) or Ad-Hoc
–Connected wirelessly with the use of wireless
Network Interface Card (NIC)
–Computers can access printers and share files
–Wired LAN can be accessed using bridging
100
100 © Copyright | HP Education
Types of Wireless Network – II
Access point or
Infrastructure wireless
LAN
◦ Wireless device
connects to the access
point to connect to the
network
◦ Access point acts as a
hub to connect two
wireless devices
◦ Wireless bridge used to
connect wireless
network to wired
network
101 © Copyright | HP Education 101
IEEE 802.11
• Security
–Four methods of wireless network security:
•Data encryption - WEP (Wired Equivalent
Privacy) and WPA (Wi-Fi Protected Access)
•Port based access control
•Service Set Identifier (SSID)
•Media Access Control (MAC) address filtering
• Access Point
–Device that bridges a wireless connection and a
wired connection
–Two types of access points: Hardware access
points and Software access points
• Extension Point
–Used if single access point is not able to cover
entire area
Wireless Stations
• Software routers do the same job with the above hardware routers (route data),
but they don't come in small flashy boxes. A software router could be an NT server,
NetWare server or Linux server. All network servers have built-in routing
capabilities.
• Cisco
• Juniper
• Alcatel
• Zdnet etc.
• Core layer: This layer is considered the backbone of the network and includes the
high-end switches and high-speed cables such as fiber cables. This layer of the
network does not route traffic at the LAN. In addition, no packet manipulation is
done by devices in this layer. Rather, this layer is concerned with speed and ensures
reliable delivery of packets
• Modular Router- In modular router the interfaces are not fixed so that we will be
able to installed cards later on this router
• Fixed Router – In non modular router the interfaces fixed we can not able to add
ports/interfaces later on
• You can tell in which area of the router’s configuration you are by looking at the router
prompts:
• What is Routing> Routing is the process of sending a packet of information from one
network to another networks,routes based on the destination network
• The Administrative Distance of Common Routing Protocol
• O – Connected
• 1 – Static
• 20 – BGP
• Internal EIGRP – 90
• IGRP – 100
• OSPF – 110
• RIP - 120
• There are two basic methods of building a routing table: Statically and Dynamically
Static
1. Static routing table is created, mainted and updated by a network Administrator,
manually
2. Static routes have an administrative Distance is 1
3. Static will not share Static routes with each other
4. When there is low bandwidth Connectivity
5. When an administrator wants total control over the route
6. When hardware router is not able to handle routing updates
• Update Timer (Default 30 seconds)- indicates how often the router will send out a routing
table update.
• Invalid Timer (Default 180 seconds)- If no new updates are heard about this route. The invalid
timer will be reset if an update is received for that particular route before the timer expires.
• Hold-down Timer(Default 180 sec)rip will not accept any new updates for routes in hold-down
state, until the hold-timer expires
• Flush Timer (Default 240 Seconds)- indicates how long a route can remain in a routing table
before being flushed, if no new updates are heard about this route.
172.17.1.2/16
Router A Router B
Router A
Router(config)# router rip
Router(config-router)# Network 172.16.0.0
Router(config-router)# Network 172.17.0.0
Router B
Router(config)# router rip
Router(config-router)# Network 172.17.0.0
Router(config-router)# Network 172.18.0.0
• Neighbor table – list of all neighboring routers. Neighbors must belong to the same AS.
• Topology table – list of all routes in the AS.
• Routing table – contains the best route for each known network.
Down – indicates that no Hellos have been heard from the neighboring router.
Init – indicates a Hello packet has been heard from the neighbor.
2-Way – indicates that bidirectional communication has been established.
ExStart – indicates that the routers are preparing to share link state
information.
Exchange – indicates that the routers are exchanging Database Descriptors.
Loading – routers are sharing their topology tables with each other.
Full – indicates that the routers are fully synchronized.
Cisco switches support two frame-tagging protocols, Inter-Switch Link (ISL) and
IEEE 802.1Q
Inter-Switch Link – ISL is cisco ’s proprietary frame-tagging protocol ISL
encapsulates a frame with an additional Header(26 bytes) and 4 bytes
Trailer, increasing the size of an ethernet frame up to 30 bytes. The header
contains the 10 bytes VLAN ID, non-ISL devices (non-Cisco devices) will
actually drop ISL-tagged frames.
Server – Only VTP servers can create, modify or delete entries in the VLAN
database. Servers advertise their VLAN database to all other switches on
the network. Server can only advertise VLANs 1-1005
Client – VTP clients cannot make modifications to the VLAN database, A client
will also forward an update from a server to other clients.
Transparent – VTP transparent switches will not advertise or accept any VLAN
database information from other switches (even a server).
ACLs can be used for two purposes on Cisco devices to filter traffic,
and to identify traffic.
ACL can be configure inbound and outbound.
Two types of configure Access lists
Named and Numbered
–IP standard access list 1-99
–IP extended access list 100-199