1
L l
- r
e n ç C e r d à
- A
l a b e r n
G r a u e n e n g i n y e r i a i n f
- r
m à t i c a
- X
a r x e s d e C
- m
p u t a d
- r
s ( X C
- g
r a u )
C
- m
p u t e r N e t w
- r
k s
- X
a r x e s d e C
- m
p u t a d
- r
C o m p u t e r N e t w o r k s - X a r x e s - - PowerPoint PPT Presentation
G r a u e n e n g i n y e r i a i n f o r m t i c a - X a r x e s d e C o m p u t a d o r s ( X C - g r a u ) C o m p u t e r N e t w o r k s - X a r x e s d e C o
L l
e n ç C e r d à
l a b e r n
L l
e n ç C e r d à
l a b e r n
L l
e n ç C e r d à
l a b e r n
Wireless
BUS Tx Rx Rx
Ring
Rx Tx Rx Rx Tx Rx Rx Tx Tx
L l
e n ç C e r d à
l a b e r n
L l
e n ç C e r d à
l a b e r n
7 application 6 presentation 5 session 4 transport 3 network 2 data link 1 physical
L l
e n ç C e r d à
l a b e r n
L l
e n ç C e r d à
l a b e r n
... physical layer
L l
e n ç C e r d à
l a b e r n
SAP (hex) Protocol 06 ARPANET Internet Protocol (IP) 08 SNA 42 3IEEE 802.1 Bridge Spanning Tree Protocol 98 ARPANET Address Resolution Protocol (ARP) AA E0 F0 FF Global LSAP Example of some IEEE SAP values. SubNetwork Access Protocol (SNAP) Novell Netware IBM NetBIOS
L l
e n ç C e r d à
l a b e r n
L l
e n ç C e r d à
l a b e r n
L l
e n ç C e r d à
l a b e r n
L l
e n ç C e r d à
l a b e r n
L l
e n ç C e r d à
l a b e r n
m e d i u m b u s y ? y e s n
transmit 1 bit c
l i s i
? n
n d T x ? y e s init Tx Transmit the JAM r e t r i e s > 1 6 ? wait backoff y e s discard the frame y e s n
n
e s c
l i s i
?
L l
e n ç C e r d à
l a b e r n
I P G
P G I P G
A B
L l
e n ç C e r d à
l a b e r n
L l
e n ç C e r d à
l a b e r n
L l
e n ç C e r d à
l a b e r n
L L C h e a d e r ( 3 b y t e s ) S N A P h e a d e r ( 5 b y t e s ) ≤ 1 4 9 2
L l
e n ç C e r d à
l a b e r n
bps Standard year Name Cabling Connector Codification segment distance* Half duplex Full duplex Ethernet 10Mbps 802.3 1983 10Base5 Coax-thick
Manchester 500m n/a 802.3a 1985 10Base2 Coax-thin
Manchester 185m n/a 802.3i 1990 10BaseT UTP-cat.3 2 RJ45 Manchester 100m 100m 802.3j 1993 10BASE-FL FO 2 SC
2000m >2000m 100Mbps 802.3u 1995 100BaseTX UTP-cat.5 2 RJ45 4B/5B 100m 100m 802.3u 1995 100BaseFX FO 2 SC 4B/5B 412m 2000m TIA/EIA-785 1999 100BaseSX FO/led 2 SC 4B/5B 300m 300m Gigabit-Eth. 1Gbps 802.3z 1998 1000BaseSX FO 2 SC 8B/10B 275-316m 275-550m 802.3z 1998 1000BaseLX FO 2 SC 8B/10B 316m 550-10000m 802.3z 1998 1000BaseLH FO 2 SC 8B/10B n/a 100km 802.3ab 1999 1000BaseT UTP-cat. 5e 4 RJ45 PAM5 100m 100m 10Gbps 802.3ae 2002 10GBASE-CX4 InfiniBand 4 CX4 8B/10B n/a 15m 802.3ae 2002 10GBASE-SR FO 2 SC 64B/66B n/a 26-300m 802.3ae 2002 10GBASE-LR FO 2 SC 64B/66B n/a 10km 802.3ae 2002 ... FO 2 SC ... n/a ... *With OF the distance depends on the OF type. Commercial name UTP/OF Pairs Fast Ethernet 10Gigabit- Eth.
L l
e n ç C e r d à
l a b e r n
L l
e n ç C e r d à
l a b e r n
h u b
U T P c a b l e , R J 4 5 c
n e c t
s 1 m m a x i m u m 1 B a s e T s e g m e n t s
R J 4 5 D B 1 5 B N C 1 B a s e T 1 B a s e 5 ( A U I ) 1 B a s e 2
L l
e n ç C e r d à
l a b e r n
L l
e n ç C e r d à
l a b e r n
L l
e n ç C e r d à
l a b e r n
L l
e n ç C e r d à
l a b e r n
h u b h u b
MAC address Port 00:00:00:00:00:11 1 00:00:00:00:00:33 1 00:00:00:00:00:44 2 MAC Table
1 2 00:00:00:00:00:11 00:00:00:00:00:22 00:00:00:00:00:33 00:00:00:00:00:44 00:00:00:00:00:55 00:00:00:00:00:66 b r i d g e
L l
e n ç C e r d à
l a b e r n
fm
c
t r
p 2 p 4 p 6 p 5 p 3 p
t : 1 : A C : : 1 9 : 2 2
. . . . . .
MA C a d d r e s s MA C t a b l e t r a n s m i s s i
q u e u e
. . . . . .
p 1 s w i t c h f a b r i c Switch#show mac-address-table Address Dest Interface
00E0.1E74.6ADA FastEthernet 1 00E0.1E74.6AC0 FastEthernet 1 0060.47D5.2770 FastEthernet 3 00D0.5868.F580 FastEthernet 5
r e c e p t i
q u e u e
L l
e n ç C e r d à
l a b e r n
s w i t c h
1 Mb p s 1 Mb p s
1 Mb p s 1 Mb p s 1 G b p s s w i t c h s w i t c h
L l
e n ç C e r d à
l a b e r n
router
h u b s w i t c h s w i t c h
L l
e n ç C e r d à
l a b e r n
1 B a s e T ( 1 G b p s ) 1 B a s e T X ( 1 Mb p s ) 1 B a s e T X ( 1 Mb p s )
L l
e n ç C e r d à
l a b e r n
1 Mb p s
1 Mb p s 1 Mb p s
L l
e n ç C e r d à
l a b e r n
h u b
1 B a s e T X ( 1 Mb p s )
L l
e n ç C e r d à
l a b e r n
3 2 ' 2 5 5 ' 1 3 ' 4 ' 4 5 5 '
L l
e n ç C e r d à
l a b e r n
h u b h u b
L l
e n ç C e r d à
l a b e r n
P r
r a m m e r s D i r e c t i
P r a c t i c e Wo r k e r s 1 9 2 . 1 6 8 . . / 2 4 1 9 2 . 1 6 8 . 1 . / 2 4 1 9 2 . 1 6 8 . 1 . / 2 4
P
t c
fj g u r e d i n V L A N 1 I D F
2 3 1 I D F
1 2 211 2 3 321 1 2 1 321 2 3 1 2 3 1 MD F 1 9 2 . 1 6 8 . . / 2 4 1 9 2 . 1 6 8 . 1 . / 2 4 1 9 2 . 1 6 8 . 1 . / 2 4
router router
P r a c t i c e Wo r k e r s P r
r a m m e r s D i r e c t i
L l
e n ç C e r d à
l a b e r n
L l
e n ç C e r d à
l a b e r n
I D F
2 3 1 I D F
1 2 211 2 3 321 1 2 1 321 2 3 1 2 3 1 MD F 1 9 2 . 1 6 8 . . / 2 4 1 9 2 . 1 6 8 . 1 . / 2 4 1 9 2 . 1 6 8 . 1 . / 2 4 I D F
I D F
211 321 321 MD F 1 9 2 . 1 6 8 . . / 2 4 1 9 2 . 1 6 8 . 1 . / 2 4 1 9 2 . 1 6 8 . 1 . / 2 4
P r a c t i c e Wo r k e r s P r
r a m m e r s D i r e c t i
P r a c t i c e Wo r k e r s P r
r a m m e r s D i r e c t i
P
t c
fj g u r e d i n V L A N 1
router router
L l
e n ç C e r d à
l a b e r n
+-----------+-----------+----------+---------+---------+---------+-----------+----------+ |Preamble |Destination|Source MAC| TPID | TCI |Length of| Payload | CRC | |(8 bytes) |MAC Address|Address | | |the frame|(46 to |(4 bytes) | | |(6 bytes) |(6 bytes) |(2 bytes)|(2 bytes)|(2 bytes)|1500 bytes)| | +-----------+-----------+----------+---------+---------+---------+-----------+----------+
L l
e n ç C e r d à
l a b e r n
L l
e n ç C e r d à
l a b e r n
L l
e n ç C e r d à
l a b e r n
802.2 (LLC) 802.11 (MAC)
802.11 802.11a 802.11b 802.11g
802.11n
L l
e n ç C e r d à
l a b e r n
A P
A c c e s s P
n t ( A P ) u s e d a s a b r i d g e . S t a t i
Wi r e l e s s m e d i u m D i s t r i b u t i
S y s t e m ( D S )
A P
A c c e s s P
n t ( A P ) w i t h a c
l
a t e d r
t e r . S t a t i
Wi r e l e s s m e d i u m I n t e r n e t
ISP
A D S L
L l
e n ç C e r d à
l a b e r n
A P
B S S 1 B S S 2 B S S 3 E S S D S
E x t e n d e d S e r v i c e S e t ( E S S )
A P A P A P
L l
e n ç C e r d à
l a b e r n
Frame Control Duration Address 1
Address 2 Address 3
Seq Ctrl FCS Payload 2 2 6 6 2 Variable: 0-2312 4 6
Address 4
6
L l
e n ç C e r d à
l a b e r n
Scenario Usage Address1 Address2 Address3 Address4 STA→STA DA SA BSSID
Infrastructure 1 BSSID SA DA
Infrastructure 1 DA BSSID SA
WDS 1 1 RA TA DA SA Legend: Destination Address (DA), Source Address (SA), Receiver Address (RA), Transmitter Address (TA) to-DS from-DS Ad-hoc
A P
B S S D S M S
M A R P
E Q ( 1 , , B S S I D , M , F F ) S A P A R P
E Q ( , 1 , F F , B S S I D , M ) A R P
E Q ( F F , M ) A R P
E P ( M , S ) A R P
E P ( , 1 , M , B S S I D , S ) E C H O
E Q ( 1 , , B S S I D , M , S ) E C H O
E Q ( S , M ) E C H O
E P ( M , S ) E C H O
E P ( , 1 , M , B S S I D , S )
L l
e n ç C e r d à
l a b e r n
Scenario Usage Address1 Address2 Address3 Address4 STA→STA DA SA BSSID
Infrastructure 1 BSSID SA DA
Infrastructure 1 DA BSSID SA
WDS 1 1 RA TA DA SA Legend: Destination Address (DA), Source Address (SA), Receiver Address (FA), Transmitter Address (TA) to-DS from-DS Ad-hoc
A P
D S
A P
D S H 2 A P 1 A P 2
f r a m e ( H 2 , H 1 ) H 1 A P 1 f r a m e ( 1 , 1 , A P 2 , A P 1 , H 2 , H 1 ) f r a m e ( H 2 , H 1 ) H 2 A P 2
H 1
L l
e n ç C e r d à
l a b e r n
A P
L l
e n ç C e r d à
l a b e r n
S I F S R T S C T S S I F S D A T A A C K t t t H 1 A P H 2 S I F S D u r a t i
i n d i c a t e d i n R T S D u r a t i
i n d i c a t e d i n C T S
A P
H 1 H 2 A P