As per Revised Syllabus of
MSBTE - I Scheme
Advanced Computer Network T. Y. Diploma (Semester - V) Elective Computer Engineering / IT Program Group (CO/CM/IF/CW)
Iresh A. Dhotre M.E. (Information Technology) Ex-Faculty, Sinhgad Collage of Engineering Pune
Vilas S. Bagad M.E. (E&TC), Microwaves M.M.S.(Information systems) Faculty, Institute of Telecommunication Management Ex-Faculty, Sinhgad Collage of Engineering, Pune
®
TM
TECHNICAL PUBLICATIONS
Website : www.technicalpublications.org https://www.facebook.com/technicalpublications
An Up-Thrust for Knowledge (i)
Advanced Computer Network T.Y. Diploma (Semester - V) Elective Computer Engineering / IT Program Group (CO/CM/IF/CW) First Edition : June 2019
ã Copyright with Authors All publishing rights (printed and ebook version) reserved with Technical Publications. No part of this book should be reproduced in any form, Electronic, Mechanical, Photocopy or any information storage and retrieval system without prior permission in writing, from Technical Publications, Pune.
Published by : ® TECHNICAL
TM
PUBLICATIONS
Amit Residency, Office No.1, 412, Shaniwar Peth, Pune - 411030, M.S. INDIA Ph.: +91-020-24495496/97, Telefax : +91-020-24495497 Email :
[email protected] Website : www.technicalpublications.org
Price : ` 120/ISBN 978-93-89180-25-1
9 789389 180251 MSBTE I 9789389180251 [1]
(ii)
®
TM
TECHNICAL PUBLICATIONS - An up thrust for knowledge
®
TM
TECHNICAL PUBLICATIONS - An up thrust for knowledge
®
TM
TECHNICAL PUBLICATIONS - An up thrust for knowledge
®
TM
TECHNICAL PUBLICATIONS - An up thrust for knowledge
Class A network
Class B network
Class C network
Leading bit is always 1&0
Leading bit is always 0
Leading bit is always 1, 1, 0
Router
Packet
Router only has to read the first bit to know which of it's 3 routes to forward it on.
From Class A
To
0.0.0.0
127.255.255.255
Netid Hostid Class B
Netid
191.255.255.255
128.0.0.0 Netid Hostid
Class C
Netid
192.0.0.0
Class E
Netid
Hostid
224.0.0.0
239.255.255.255
Group address
Group address
240.0.0.0
255.255.255.255
Undefined
Undefined
0 Class A
Class B
Class C
Class D
Class E
®
Hostid
223.255.255.255
Netid Hostid Class D
Hostid
1
0
2
3
8
16
Net ID
1 0
24 Host ID
Net ID
1 1 0
Host ID
Net ID
1 1 1 0
1 1 1 1
31
Host ID
Multicast address
Reserved for future use
TM
TECHNICAL PUBLICATIONS - An up thrust for knowledge
®
TM
TECHNICAL PUBLICATIONS - An up thrust for knowledge
LAN
Packet before translation
1 2 10.0.0.1
198.60.42.12
3 4
Router NAT box
5 6
PC
7
Server
Leased line
Boundary of company premises
®
TM
TECHNICAL PUBLICATIONS - An up thrust for knowledge
ISP Router
®
TM
TECHNICAL PUBLICATIONS - An up thrust for knowledge
LEN = 1500 OFFSET = 0 DF = 0, MF = 1 DATA (1500 bytes)
LEN = 3499 OFFSET = 0 DF = 0, MF = 0 MTU = 1500
LEN = 1500 OFFSET = 1500 DF = 0, MF = 1 DATA (1500 bytes)
DATA (3500 bytes)
LEN = 499 OFFSET = 3000 DF = 0, MF = 0 DATA (499 bytes)
IP datagram
Header
®
MTU
TM
TECHNICAL PUBLICATIONS - An up thrust for knowledge
Trailer
®
TM
TECHNICAL PUBLICATIONS - An up thrust for knowledge