Protocols - INFOREDE.net

rockyboygangNetworking and Communications

Oct 24, 2013 (3 years and 7 months ago)

345 views


/$1/$1'DWD/LQN/D\HU
'DWD/LQN/D\HU
3URWRFROV3URWRFROV
7KH'DWD/LQN/D\HUGHILQHVKRZGDWDLVIRUPDWWHGIRUWUDQVPLVVLRQDQG
KRZDFFHVVWRWKHQHWZRUNLVFRQWUROOHG7KLVOD\HUKDVEHHQGLYLGHGE\WKH
,(((VWDQGDUGVFRPPLWWHHLQWRWZRVXEOD\HUVPHGLDDFFHVVFRQWURO
0$&DQGORJLFDOOLQNFRQWURO//&
7KHIROORZLQJGDWDOLQNOD\HUSURWRFROVDUHGHVFULEHG
· (WKHUQHW
· 7RNHQ5LQJ
· )'',
· //&
· 61$3
· &,)
· *$53*HQHULF$WWULEXWH5HJLVWUDWLRQ3URWRFRO
· *053*$530XOWLFDVW5HJLVWUDWLRQ3URWRFRO
½/$1'DWD/LQN/D\HU3URWRFROV
· *953*$539/$15HJLVWUDWLRQ3URWRFRO
· 9/$1
)'',7RNHQ5LQJDQG(WKHUQHWPD\EHSK\VLFDOLQWHUIDFHVRUPD\DFWDV
ORJLFDOSURWRFROVHQFDSVXODWHGRYHUD:$1SURWRFRORU$70
7KHIROORZLQJLOOXVWUDWLRQUHSUHVHQWVWKH/$1SURWRFROVLQUHODWLRQWRWKH
26,PRGHO
/$1SURWRFROVLQUHODWLRQWRWKH26,PRGHO
Data Link
Application
Session
Transport
Network
Presentation
IEEE 802.Q
MAC (TR)
IEEE 802.1P
RI
SNAP
Physical
MAC (FDDI)
SMT
BPDU
Token Ring
Token Bus
CSMA/CD
Ethernet
FDDI
LLC
(WKHUQHW¾
(WKHUQHW
(WKHUQHW
$16,,(((
(WKHUQHWLVDZLGHO\XVHGGDWDFRPPXQLFDWLRQVQHWZRUNVWDQGDUGGHYHORSHG
E\'(&,QWHODQG;HUR[,WXVHVDEXVWRSRORJ\DQG&06$&'DFFHVV
PHWKRG7KHWHUPV(WKHUQHWDQGWKH,(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DUWUDQVPLVVLRQVRQO\IURPLWVLPPHGLDWH
QHLJKERU3HUPLVVLRQWRWUDQVPLWLVJUDQWHGE\DPHVVDJHWRNHQWKDW
FLUFXODWHVDURXQGWKHULQJ
7KH7RNHQ5LQJKHDGHUVWUXFWXUHLVVKRZQLQWKHLOOXVWUDWLRQEHORZ
SDEL 1 byte
Access control 1 byte
Frame control 1 byte
Destination address 6 bytes
Source address 6 bytes
Route information 0-30 bytes
Information (LLC or MAC) variable
FCS 4 bytes
EDEL 1 byte
Frame status 1 byte
7RNHQ5LQJKHDGHUVWUXFWXUH
6'(/('(/6'(/('(/
6WDUWLQJ'HOLPLWHU(QGLQJ'HOLPLWHU%RWKWKH6'(/DQG('(/KDYH
LQWHQWLRQDO0DQFKHVWHUFRGHYLRODWLRQVLQFHUWDLQELWSRVLWLRQVVRWKDWWKH
VWDUWDQGHQGRIDIUDPHFDQQHYHUEHDFFLGHQWDOO\UHFRJQL]HGLQWKHPLGGOH
RIRWKHUGDWD
$FFHVVFRQWURO$FFHVVFRQWURO
7KHIRUPDWLVDVIROORZV
P
P
P
T
M
R
R
R
7RNHQ5LQJDFFHVVFRQWUROIRUPDW
333 3ULRULW\ELWV
/RZHVWSULRULW\
 +LJKHVWSULRULW\
½/$1'DWD/LQN/D\HU3URWRFROV
7 7RNHQELW
 7RNHQ
 )UDPH
0 0RQLWRUFRXQW
,QLWLDO9DOXH
 0RGLILHGWRDFWLYHPRQLWRU
555 5HVHUYDWLRQELWV
/RZHVWSULRULW\UHVHUYDWLRQ
 +LJKHVWSULRULW\UHVHUYDWLRQ
)UDPHFRQWURO
7KHIRUPDWLVDVIROORZV
2 1 1 4 bits
Frame type
0
0
Attention
7RNHQ5LQJIUDPHFRQWUROIRUPDW
)UDPHW\SHPD\KDYHWKHIROORZLQJYDOXHV
 0$&IUDPH
//&IUDPH
RU 8QGHILQHG
7KHVHFRQGELWVDUHDOZD\V]HUR
$WWHQWLRQLQGLFDWHVWKRVHIUDPHVIRUZKLFK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,,5RXWLQJLQIRUPDWLRQLQGLFDWRU
 5,DEVHQW
 5,SUHVHQW
5RXWH,QIRUPDWLRQ
7KHVWUXFWXUHRIWKHURXWHLQIRUPDWLRQLVDVIROORZV
RI field
RC field RD fields
RT
LTH
D
LF
r
RD1
RD2

RDn
3 5 1 6 1 16 16 16 bits
Length in LTH field
)'',URXWHLQIRUPDWLRQVWUXFWXUH
5& 5RXWLQJFRQWUROELWV
5'Q 5RXWHGHVFULSWRU
57 5RXWLQJW\SH
/7+/HQJWK
''LUHFWLRQELW
/)/DUJHVWIUDPH
U UHVHUYHG
,QIRUPDWLRQ
7KH,QIRUPDWLRQILHOGPD\EH//&0$&RU607SURWRFRO
)&6
)UDPHFKHFNVHTXHQFH
½/$1'DWD/LQN/D\HU3URWRFROV
//&
//&
,62
5)&KWWSZZZFLVRKLRVWDWHHGXKWELQUIFUIFKWPO
7KH,(((/RJLFDO/LQN&RQWURO//&SURWRFROSURYLGHVDOLQN
PHFKDQLVPIRUXSSHUOD\HUSURWRFROV//&W\SH,VHUYLFHSURYLGHVDGDWD
OLQNFRQQHFWLRQOHVVPRGHVHUYLFHZKLOH//&W\SH,,SURYLGHVDFRQQHFWLRQ
RULHQWHGVHUYLFHDWWKHGDWDOLQNOD\HU
7KH//&KHDGHUVWUXFWXUHLVVKRZQLQWKHLOOXVWUDWLRQEHORZ
DSAP
SSAP
Control
LLC information
1 byte 1 bytes 1 or 2 bytes
//&KHDGHUVWUXFWXUH
'6$3'6$3
7KHGHVWLQDWLRQVHUYLFHDFFHVVSRLQWVWUXFWXUHLVDVIROORZV
I/G
Address bits
//&'6$3VWUXFWXUH
,*,QGLYLGXDOJURXSDGGUHVVPD\EH
,QGLYLGXDO'6$3
 *URXS'6$3
66$366$3
7KHVRXUFHVHUYLFHDFFHVVSRLQWVWUXFWXUHLVDVIROORZV
C/R
Address bits
//&66$3VWUXFWXUH
&5 &RPPDQGUHVSRQVH
 &RPPDQG
 5HVSRQVH
//&¾
&RQWURO
7KH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