Professional Documents
Culture Documents
NW Notes 4
NW Notes 4
IPV4
Conwet :
To00000|: 0o00 LOIl 0000101 00l= 124.11.1. 239
I1000001 :1000001| O0011oL |l 93.13: 21.2b6
). 56 45,18 l0 00111000 O0101101 01001 1o
22).34.1. 82 110Hl0 00l00010 00000||OL01001O
Ist byte
class A o l0-121
Class B LO /128 -191
lass e o/i42 -223
class D 1O /224-239
72440-256
Clas sF
netid &hestid Mask In
zy.zt /n
netd B0n y hostid
class ISt addn. Rightmost
o000Oo00 00000000
O0000000 0000Ooo o 32-n- 0'S
Last ’ l'S
’g2-n)
no. 0f addn
othenway Blny
CIDR-dauDA Inien dom ain Routing.prarted byIn 1St AD ms
Last OR
.12 H.32/28
payload
Jhaee wal haenchy n ane IPV4 addross : IPv6 datagnam headen and
SubnltI Subret 2 and 3
40bytes lpto 65535 bytes
26 blt 5 26
Base header Payload
Subntt pNeHz
Aost addoss Host addss Exteron hoadeu Data packt tom uppN layer
toptional)
fosition ot IPy4 in 1CPHP PhOto Col sto
IPV6 address (128 bibt long)
AppluahonSH1EIETPl TETP DNS SNHE ’Hexa cla cumou colon no totio C’2
BO0TP
|32 Hex diqits
Tranpont DDmOlt01100 :BOFF :0000 EFFE
laysn UDP FDEC: O014 :0000 :0000: 0000 16 16 16 ’ Total ’28 alt
15 AbbruLation:
0 : O BoFF : 0: FFFF
layas FDEC: 74 :0 :
ARP) (RARP) Aberwaton : 0:5.):12 1213
DLL 00oo C000 COCo
Expandsd o000: 0015: 0001 00121213
undenying LnN or WAN furm
Phy
Lays
technolog4
24.5. 8 200- -I72.18.3.2
172./6.3
30
000 fteet
(120)
ROter NAT
0's alO00000co
(120) 316 2
3.3 3.2
addnReswed > Routen
ons Coweued adda. Arycast b statich tran addn. A/w NAT’
qroLp mem
ot be one to tTaNslation: address niw
-Lobal |1O
Orgarizational 1000-
LCal Site olO1 data
cal l0Link -10o0 Temproauy Transient/
0001-NOde
local 0001
Resoed 0000- 0000 Pimenant
data
Group
ID sope Hag tl0
(4) (4) langth Rdn. Ha
Nast
(u2) (8)
addi. cat Mlti
uhc) an(Asi 10100 PNIC A
open) 000 OIRIPNIC length Hds Hdr. Nest
a) (North QqstryN
H000 TERN1 Identi
ien
Jype
(48) (32) (24) (l6) length |d. Hd. NOZt
dentiien identitien
Node subnet
Swbsouber| ProUide 5 aoar.
Destination
TSP O100 coIO
paln providon
adbas > adols. SowIce
langth Payloadl
basad based imt hop heaces Not
Prouider
Gaeognaphical PRI VER
label How
8blts 8blts 4bits
2128 space ’Addn.
datagnam IPV6 tormat
ot -
doss ad
IPV6
An TPy4 paket the vauu o header
lenqth u to00 n binau
Ty pes ot Sawias: D- 10O0- un 2.
thu paukot.
T-0l OO-mar
How many bits ot options ae beng cwvuedl by
1 Swuce Ty pe 1000 ’ 8
Dalaw thyoughplt R -00 I0-mac Decimal
Binauy
e-0 00|- mun 8 x4 =32 byts
total
PrOadene Vae of HLEN L, 5. Vauw ot
bit (3 bit) TOS hat
3 gn an PV4 þacket thu bung caued
How many butt of data are
length ox0028 .
Prioruy ot (m)
> Range :(oo0)-
(o)-1) by this packlt ?
datagnam Ox0028
Hexadacimal da imal
2. Diffuntiated soruies
HLEN = 5X 4 20
length
data eng th =fotal ength - header
Precedence
- 20 b y t e s i
0,2, 4 -.. 62
3.7,|... 63 tragmentation:
0 I’Temproay! mar. lengtho data to be
I,5,9... 61
Expuemertal MTU (macimum trannu urit ) -
encapsuated a a trame
length of dlata =Tatal length Headen ongth ’ fdertAcation -’ 4sownce IPV adbulkhs
Tie to ue
stwA a ho. n tu
dufne daragham wniquey
whan a SOWa h0sts sonds the dtaqram,
feld. Thiu value i appromately 2 tHms the maximum ne. ot Counten >lnitialzed ’ +0 no.
Hautts blw, ay twe hostA. IPYA pi0tocol datagam send’ copy
copy
Values Protocol
Aragmet
TaHP - Intenal contral msg pratoca! Hag (3 biu)
TGHP - graup
6 ’ More fragment’l-mae
TCP Trarsten contTol pratoeal 0-onyl ladt
UD P- Uen data Resowed 0o nat fragmert
18 OSPF - Open Shotest Path tirst
i- Can't pass, dis Cand
Problem: O-g. trag ment.
L. An IPV4 Packet has auod uith the ist 8 bit a o100 o010 ragmetation otfsettB bita):
dhe reueer diseands the packt juatity why?
ctfsot e0000l8 = 0 o000 849
5
VER ALEN 2X4=8 O000 3999
1400 244
(IPV4 ) HLEN Tange: 5x4 15%4
Aence Uuwn duscards t 2a00 34
Basic Principlu ot checks wn Nxt Hdn:
fiud u saud to o.
) The valu e cheeksum hit secion and
added
2) Jhe haden s dwided nts 16 togoter Code Nxt Hdn.
complimbnted and ins ted inp tho
3) Jhe s e t sum u hop to hop option
checksum held. y 16 &l4) (4)
(6)
2 ICHP
4,5,0’ 9 5 0 o
00 C 6 TCP
(4) (4) (s) (16) 16 4 28
UDP
45 29
0,0
A3 SOIL Iauting
(16) O3 o(13)
0(16) heckswn 4.1
ragmentation
10.12. 45 0 encypted Payload
secuuty
12 6. 7.4 lO, 12 0A 0 c
J44, 5 0 E 05 51 authontication
59 NULL
12,6 0 06
T44E’01|) ol00 0I00 1|1 60 DOAtination opt.
Comp. ’ J000 10 | | J01| 000 1
B B 7 4 4 E Pruorty on gasti0n contToled tratfic
Checksun - &BB I Non Congeshon
No opnatons30s3As Congast1on
options ’ single byte End operath on
muti byte - Reco Hd Route
Pyuority meaning
nospacHc traffic
- Strtct sOWeROute backqr0und datatransten
- L0ose SOICe
-Jimestamp. ROteaat L 2
3
natendad
IP data
hedn
A
LAN {LAN
Rediect RI R2
msg