LAYER
S
OSI
TCP/IP
7)
Application
6)
Presentation
5)
Session
4)
Transport
HOST-TO-HOST
3)
Network
INTERNET
2)
Data Link
PHYSICAL OR
1)
Physical
NETWORK ACCESS
APPLICATION
LAYERS:
APPLICATION: HTTP,FTP,SMTP.
PRESENTATION: ASC II, JPEG, PGP.
SESSION: BOOTP, Net BIOS, DHCP, DNS.
IP-ADDRESS:
- it is a logical address which is use to uniquely identify a system in a N/W
VERSIONS:
1) IPV4:
- 32-bits = decimal.
2) IPV6:
- 128-bits = Hexadecimal
CLASSES OF IP-ADDRESS:
- A- [ 1 -126]
{GENERAL NETWORKING}
- B- [128- 191]
{PRIVATE ADDRESSING}
- C [192- 223]
-- D [224-239]
{MULTICATING ADDRESSING}
-- E- [240-255]
-PARTS OF IP-ADDRESS:
- 1) NETWORK
2) HOST
- S.M(SUBNET MASK): It is used to distinguishing B/W the N/W ID & Host ID.
- Following are the default subnet mask
- 1) A- 255.0.0.0
- 2) B- 255.255.0.0
- 3) C- 255.255.255.0
| N/W = 8-1= 7
| H = 24
- B(10) 128- 191
| N = 16-2 =14
| H = 16
- C(110)- 192-223
| N = 24-3 = 21
|H=8
- To calculate No. of N/W = 2n-2 (only for A-class and for finding default N/W not for
sub netting)
- And for class B & C (only for Sub netting) = 2n
- to calculate No. of host N/W = 2H-2
RESERVED
ADDRESSING
A) 0.0.0.0 0.0.0.0
- Default routing used by CISCO router. Any unknown packets will be forwarded to next
hop address.
B) 127-127.0.0.1
- loopback address/ LAN card testing address.
D) N/W address:
- 10.0.0.0/172.16.0.0/192.168.10.0
E) Direct Broadcast address:
- 10.255.255.255/172.16.255.255/192.168.10.255
255.0.0.0/8
255.128.0.0/9
255.192.0.0/10
255.224.0.0/11
255.240.0.0/12
255.248.0.0/13
255.252.0.0/14
255.254.0.0/15
255.255.0.0/16
255.255.128.0/17
255.255.192.0/18
255.255.224.0/19
255.255.240.0/20
255.255.248.0/21
255.255.252.0/22
255.255.254.0/23
255. 255.255.0/24
255. 255.255.128/25
255. 255.255.196/26
255. 255.255.224/27
255. 255.255.240/28
255. 255.255.248/29
255. 255.255.252/30
ACLASS
BCLASS
CCLASS
SUB-NETTING
- it is the process of breaking down an IP N/W into small-small N/Ws.
BENEFITS OF SUBNETTING:
1) it reduces routing table, easy to manage
2) traffic control and performance increase.
3) flexible and scalable.
ROOT SUMMERIZATION:
- it is known as root aggregation also, it is use to control routing updates by sending single routes instead
multiple routes.
192.168.1.0/24
192.168.2.0/24
192.168.3.0/24
192.168.4.0/24
192.168.5.0/24
192.168.7.0/24
192.168.6.0/24
FLSM:
- all the LAN are fix, therefore chances of wasting the host N/W is high.
VLSM:
-There are variable LAN So, chances of using a HOST N/W is less.
-- the use of No. of host depends on the required host for connecting LAN etc.
ROUTER:
- it is a layer-3 device which is used to moves or forwards data packets from N/W to N/W.
Or
- a device which is used to connect different different N/W.
Functions:-
1) packet switching
2) packet filtering
3) path selection
4) internetwork communication.
SERIES OF ROUTERS:
- 1000
-1600-1605/1620
- 1700-1720/21/50/51
-1800
- 2500/2600/2800/3600/3700
INTERFACES/PARTS OF ROUTERS
1) Ethernet/ Fast Ethernet/ Gigabyte Ethernet ------ it is use to connect LAN.
2) AUI(Attachment User Interface) it is used to connect LAN.
rate/pulse to activate
it
COMPONENTS OF A ROUTER:
1) RAM- it holds running configuration.
2) NVRAM- it holds startup configuration(saving configuration).
3) FLASH- it holds IOS(.bin).
FIXED ROUTER
MODULAR ROUTER
E.g.; 2500
CABLE
TYPES:
1) Straight Through Cable: - it is used to connect different devices such as
A) Computer to switch/ computer to HUB
B) switch to router/HUB to router
INTRODUCTION TO IOS
Every router and switch has its own O/S, known as IOS(it is a binary file).
## BOOTING SEQUENCE OF IOS:
1) Postpower on self test it will check hardware parts.
ROUTING:
It is a process of sending data packets from N/W to N/W
TYPES:
DISADVANTAGES:
1)
2)
1)
If any changes occurred in the N/W then the whole N/W should
be reconstructed.
2) Default static Routing: any unknown packet will be forwarded to next hop address.
(it will set the gateway of last resort.) - - R1(config)# ip route 0.0.0.0
0.0.0.0
192.168.1.2
- dynamic routing is the process of discovering the neighboring N/W automatically it is also
use for creating routing table(it is use to select best route).
Eg: RIP, EIGRP, OSPF
REQUIREMENTS TO CONFIGURE A
ROUTER:
1) router with power cable
2) console cable
3) computer with any O.S
S/W)
3) Configuration mode.
-router#config t
-riuter(config)#
- static routing is for low No. of connection N/W & for security.
R1# sh ip route
R1(config)# ip route 192.168.3.0
255.255.255.0
192.168.1.2
255.255.255.0
192.168.1.1
ADMINISTRATIVE DISTANCE:
It is the measurement used by CISCO router to select the best route when there are TWO or
MORE routes for the same distance N/W.
Symbol
- Connected
- Static
- RIP
120
- EIGRP
90
- OSPF
A.D.V
110
RI
P
RIP
If both routes are equal I AD value & metric also same, then router will maintain load
balancing.
It sends the data alternately in all the same distance path.
AUTONOMOUS SYSTEM:
It is a collection of N/W under the same Administrative Domain where same routing protocol
is running.
It is identified by No. i.e.; 1-65535.
- IGP- These are those protocols which are used to create an autonomous system.
Eg; RIP, EIGRP, OSPF.
-EGP These are those protocols which are use to connect Autonomous system.
Eg; BGP
1)
CLASSFULL
CLASSLESS
It includes subnet mask information when router
are advertised. It uses multitasking address.
E.g: RIPv2 224.0.0.9
EIGRP- 224.0.0.10
OSPF- 224.0.0.5/224.0.0.6
- It supports VLSM/CIDR
- It supports MD-5 Authentication
CONSOL
E P/W
TELN
ET
P/W
AUXILLA
RY P/W
RIP:
1) it is a Distance vector routing protocol
2) it is based on Bell Man Ford Algo.
3) it is an open standard So it supports Multi Vendor equipment
4) Its Administrative Distance Value= 120, Metric Count= Hop count
5) Maximum allowable Hop counts, 15,16 the unreachable.
6) in every 30 seconds entire routing table are send to neighbor routers.
7) it having 2 versions.
RIPv1
RIPv2
1)
It is class full
It is class less
2)
It supports VLSM/CIDR
3)
i.e.; 255.255.255.255
i.e.; 224.0.0.9
It supports Authentication
4)
1) Standard ACL- it is used to identify by No. i.e;(1-99). It is used to filter source address
only.
2) Extended access list- identify by No. i.e;(100-199).
It is use to filter source as well as destination address.
It is also used top filters a specified port, and application etc.
ACL Terms:
1) Inbound ACL, RT.
2) outbound RT, ACT
3) Wildcard it is the reserved of subnet Mask.
IP-ADDRESS
SUBNET
MASK
DNS etc.
DHCP
CLIEN
T
WAN PROTOCOLS
1) HDLC (High Level Data link Control):
2) PPP( Point-To-Point):
- It is a data link layer Protocol, Open Standard and Encapsulated Method.
FRAME-RELAY:
- It is a packet Switch Technology Frame-relay is used to establish connectivity between
DEC and DTE devices. DCE is always FRAME-RELAY site.
- It is a Data-Link Protocol.
LAN SWITCHING
LAN communication terms:
1) Broadcast Packet are addressed for every computer in the N/W.
COMPUTER
HUB
ROUTER
NIC Card/
LAN Card
VARIOUS
CABLE
TYPES
SWITCH
- It is use to create a LAN and by default switch is a Broadcast Domain.
- Every Port in a switch is a collision Domain.
- By default every switch has a default VLAN ports are in the same.
- VLAN which is known as default VLAN-1.
- Switch has the ability to create MAC Table, So switch take the decision on the basis of
MAC address how to send the frames.
WHAT IS VLAN
TRANSPARENT
CLIENT
1)
Default Mode
We have to make it
We have to make it
2)
It is globally significant
Locally significant
Depends on other
3)
Create VLAN
Create VLAN
--------
4)
Modify VLAN
Modify VLAN
---------
5)
Delete VLAN
Delete VLAN
--------------
6)
Receive and send the updates, but it Receive and sends the update
will not share own information
LEARNIN
G
STP modes:
FORWARDIN
G
BLOCKIN
G
DISABLED
STATIC NAT(One-onOne)
It is used to translate a
single private IPAddress into a single
Public IP address into a
single into Public IPAddress say
192.168.10.2
200.200.100.10
DYNAMIC NAT(MANYTO-MANY)
It is used to translate a
pool of private IP-Address
into pool of public IPAddress
(One-to-One)
200.200.100.8
200.200.100.10
-192.168.10.2
200.200.100.8
-192.168.10.3
200.200.100.9
PAT(PORT ADDRESS
TRANSLATION):
It is used to translate
multiple IP-Address into a
single Public IP-Address.
It is known as overloading
200.200.100.10
200.200.100.10
-192.168.10.2200.200.100.10
-192.168.10.2200.200.100.10
NAT TERMS:
1) Inside Local Private IP-Address
2) Inside Global registered public IP-Address.