Sei sulla pagina 1di 105

Basic of Networking

ITE I Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 1
Network

 Interconnect of two or more devices is called as a


network.
 The communication between two or more
interconnected devices is called networking.
 Establishing connectivity between devices with the help
of Hub/ Switch/ Access Point for data communication.

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 2
Types of Networks

 LAN - Local Area Network


 MAN - Metropolitan Area Network
 WAN - Wide Area Network

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 3
LAN

 LAN are used to connect Interconnection of PCs and


others network devices that are very close together in a
limited area such as a floor of a building, a building
itself or within a campus.

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 4
MAN

 MAN are used to connect networking devices that may


span around the entire city.

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 5
WAN

 WAN which connect two or more LANs present at


different geographical location.

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 6
Internet

 Internet is a massive network of networks, a networking


infrustacture.
 It connects millions of computers together globally,
forming a networking in which any computer can
communicate with any other computer as long as they
are both connected to the Internet.

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 7
Network Topology

 Bus Topology
 Ring Topology
 Star Topology
 Mesh Topology

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 8
Network Topology

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 9
Setting up a Network

 Network Interface Card


 Media
 Network Device

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 10
Network Interface Card

 NIC is the interface between the computer and the


network.
 It is also known as the Lan card or Ethernet card.
 Ethernet cards have a unique 48 bit address called as
MAC (Media Access Control) address
- MAC address is also called as Physical address or
hardware address
-The 48 bit MAC address is represented as 12 Hexa-
decimal digits
- Ex. 0017.A1A2.B1B2

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 11
Network Interface Card

 Network cards are availabel in different speeds.


- Ethernet (10 Mbps)
- Fast Ethernet (100Mbps)
- Gigabit Ethernet (1000Mbps)

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 12
Media

 The purpose of the media is to transport bits from one


machine to another.

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 13
Types o Twisted Pair Cables

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 14
Networking Devices

 Firewall
- It is a device which protect the network from
unauthorized access.
- It allows and denies the network traffic based upon
policy configured.
 Switch
- It is a hardware device that centralizes communication
between wired devices connected within a LAN.

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 15
Networking Devices

 Wireless Access Point


- It is a hardware device that centralizes communitcation
between wireless and wired devices within a LAN
 Router
- It is a device which enables communication between
two or more different logical network.

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 16
LAN Cable Types

 Straight Through Cable


 Crossover Cable
 Rollover Cable

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 17
Straight Through Cable

 Generally used for connecting two devices of different


types.

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 18
Crossover Through Cable

 Generally used for connecting same type of devices

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 19
Rollover Cable

 Generally used for connecting devices console port to


Computer COM port.

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 20
Network Diagram

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 21
IP Addressing

ITE I Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 22
IP Address

 IP Address is a Logical Address


 It is a Network Layer Address (Layer 3)
 Two version of IP:
- IP Version 4 is a 32 bit address
- IP Version 6 is a 128 bit address

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 23
IP Version 4

 Bit is represent by 0 or 1 (binary)


 IP address in binary form (32 bit):
01010101010101010101010101010101
 32 bits are divided into 4 octets:
01010101.01010101.01010101.01010101
 IP address is decimal form:
85.85.85.85

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 24
IPv4 address range

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 25
Binary to Decimal

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 26
Decimal to Binary

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 27
IP Address Classification

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 28
Priority Bit

 Priority Bit is used for IP address classification.


 Most significant bit(s) from the first octet are selected
for Priority Bit(s).

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 29
Class A Range

 In Class A: First bit of the first octet is reserved as


priority bit, bit value is zero.

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 30
Class B Range

 In Class B: First two bits of the first octet are reserved


as priority bits, bit value as 10.

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 31
Class C Range

 In Class C: First three bits of the first octet are reserved


as priority bits, bit value as 110

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 32
Class D Range

 In Class D: First four bits of the first octet are reserved


as priority bits, bit value as 1110

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 33
Class E Range

 In Class E: First four bits of the first octet are reserved


as priority bits, bit value as 1111

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 34
Range

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 35
Identifying Class

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 36
CLASS A - No. Network and Host

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 37
CLASS B - No. Network and Host

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 38
CLASS C - No. Network and Host

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 39
Network and Broadcast Address

 Network address: IP address with all bits are ZERO in


the host portion.
 Broadcast address: IP address with all bits ONES in the
host portion.
 Valid IP address lies between the network Address and
the Broadcast Address.
 Only Valid IP address are assigned to hosts/clients

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 40
Example - Class A

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 41
Example - Class B

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 42
Example - Class C

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 43
Identifying Network and Broadcast
Address

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 44
Subnet Mask

 Subnet Mask differentiates the Network and host


portions of an IP address.
 Represented with all 1's in the network portion and with
all 0's in the host portion.

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 45
Subnet Mask - Examples

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 46
Default Subnet Mask

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 47
How Subnet Mask works ?

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 48
Private IP Address

 There are certain addresses in each class of IP


address that are reserved for Private Network. These
addresses are called Private addresses.
 These addresses are not Routable (or) valid on Internet

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 49
Public IP Address vs Private IP Address

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 50
IPv6

ITE I Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 51
IPv6 Addresses

 IPv6 is 128 bit address


 It is represented as 32 hexadecimal numbers arranged
in 8 quartets of 4 hexadecimal digit separated by a
colon ”:”

 IPv6 address in Hexadecimal form:


i.e 2001:0000:0000:C15C:0000:0000:09C4:1300

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 52
Binary to Hexadecimal Table

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 53
Binary to Hexadecimal

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 54
Hexadecimal to Binary

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 55
Rules for representing of IPv6 Address

 Omission of ZEROs
• Leading zero in any quartet can be omitted
• Four successive zeros in a Quartet can be substituted
by one zero.
 Replacing Successive Fields of Zeros with”::”
- Multiple quartet with zero can be represented as :: but
only once in an address.

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 56
Omission of ZERO's

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 57
Replacing Successive Fiel of Zero's with
“::”

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 58
Special Address (IPv4 - IPv6)

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 59
Understanding IPv4 /IPv6 Same
Network Communication

ITE I Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 60
IPv4 same Network Communition

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 61
Assigning and Verify IPv4 on System

 Verify IPv4 address on Window by cmd


c:\>ipconfig
 Assigning and Verify on Linux
khunmao~#ifconfig eth0 192.168.201.10
khunmao~#ifconfig

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 62
Ping

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 63
Traceroute

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 64
IPv6 Same Network Communication

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 65
Assigning IPv6 address on Linux

 khunmao~#ifconfig eth0 inet6 2001:1111::10/64

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 66
Open System Interconnect
(OSI)

ITE I Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 67
Open System Interconnect (OSI)

 OSI was developed by the International Organization


for Standardization (ISO) and introduced in 1984.
 It is a layerd architecture (consists of seven layers)
 Each layer defines a set function which takes part in
data communication.

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 68
OSI Model Layers

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 69
Application Layer

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 70
Examples of Networking Services

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 71
Data flow from Application Layer

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 72
Presentation Layer

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 73
Data flow from Presentation Layer

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 74
Session Layer

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 75
Data flow from Session Layer

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 76
Transport Layer

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 77
Identifying a Service

 Identification of Services is done using port numbers.


 Port is a logical communication Channel:
Total No.Ports 0 - 65535
Reserved Ports 1 - 49151
Open Ports 49152 - 65535
Command to check the ports used by the PC(Win/Linux):
“netstat”

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 78
Transport Layer Protocols

 The protocol which takes care of Data Transportation at


Transport layer are TCP and UDP

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 79
Segmentation

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 80
Sequencing

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 81
Reassembling

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 82
Flow Control and Error Correction

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 83
Data flow from Transport Layer

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 84
Network Layer

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 85
Data flow from Network Layer

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 86
Data Link Layer

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 87
Data flow from Data Link Layer

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 88
Physical Layer

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 89
Data flow from Physical Layer

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 90
Encapsulation and Decapsulation

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 91
Comparson between OSI and TCP/IP
Model

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 92
The OSI Troubleshooting

 Layer 1 – Are all the cables inserted into the ports


correctly, or have they come loose? Are the cable ends
bent or worn out? If cables are the problem, you will
usually see an amber light showing on the device when
it should be green. Has somebody forgotten to add the
correct speed to the interface? Has the speed of the
Ethernet port been set correctly? Has the interface
been opened for use by the network administrator?
 Layer 2 – Has the correct protocol been applied to the
interface so it agrees with the other side, such as
Ethernet/PPP/HDLC, etc.?

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 93
 Layer 3 – Is the interface using the correct IP address
and subnet mask?
 Layer 4 – Is the correct routing protocol being used,
and is the correct network being advertised from the
router?

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 94
Introduction to Routers

ITE I Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 95
Router

 Router is an internetworking device.


 It enables communication between two or more
different logical networks.
 It is a Network Layer (Layer 3) device.
 It comes from the word” Route”. Hence it is also a
device that finds the best route(path) for networks.
 The IP of Router is the default gateway for all devices
in LAN.

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 96
Type of Routers

There are two type of routers:


 Hardware Routers:
- ZTE, Cisco, Juniper, Brocade, HP, Multicom and many
more
 Software Routers:
- Microsoft Server, Linux Server

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 97
Functions of a Router

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 98
Types of Routers
 Fixed Router:
- Fixed router are non upgradable, cannot add or remove
the Ethernet or Serial ports.
- Does not have any slot
- In fixed router, the ports are integrated on the mother
board.
 Modular router:
- Modular router are upgraded, can add or remove the
interface as per our equipment.
- Number of slots available depends on the series of
routers

ITE 1 Chapter 6
- Can add LAN and WAN cards.
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 99
Fixed router and Modular router

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 100
Cisco router Category

 Branch routers
 Network Edge and Aggregation Routers
 Service Provide routers

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 101
Branch Routers

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 102
Network Edge and Aggration Routers

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 103
Service Provide Router

ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 104
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 105

Potrebbero piacerti anche