Documente Academic
Documente Profesional
Documente Cultură
Router
Phy
Data Link
Token Bus
MAC
Token Ring
MAC
WLAN
MAC
FDDI
MAC
802.3
802.4
802.5
802.11
ISO9314
TG70112EN02GLA1
DA=4
SIEMENS
NIXDORF
SIEMENS
NIXDORF
Nothing
Nothing to
to do
do with
with me.
me.
Not
Not my
my
MAC
MAC address
address
TG70112EN02GLA1
SIEMENS
NIXDORF
SIEMENS
NIXDORF
Oh!
Oh!
My
My address.
address.
Ill
Ill read
read the
the packet
packet
Ethernet--Frame
Frame
Ethernet
7 Bytes 1 Byte 6 Bytes
6 Bytes
Destination Source
Preamble SD
Address
Address
2 Bytes
Type
64 Byte frame
variable length
46 to 1500 Bytes
Data
4 bytes
Frame
Check
Sequence
12 bytes
Interframe
Gap
Result:
84 byte for a minimal frame 1538 byte for maximal frame length Preamble, Start
delimiter (SD) and interframe gap are negligible for long packets, but a significant contribution
in case of short packet length (e.g. around 100 bytes for VoIP)
TG70112EN02GLA1
Ethernet Frame
Presentation
Session
Transport
Destination
MAC
Source
MAC
Type
Field
6 Bytes
6 Bytes
2 By
Data of Layers 3 to 7
up to 1500 Bytes
Check
sum
4 Bytes
Network
Data Link
Physical
TG70112EN02GLA1
Ethernet Switching
1/2
<unknown>
Src:
08:00:06:00:00:0A
Src:08:00:06:00:00:0C
08:00:06:00:00:0A
08:00:06:00:00:0C
Dst:
08:00:06:00:00:0C
08:00:06:00:00:0A
Dst: 08:00:06:00:00:0C
08:00:06:00:00:0A
flooding
08:00:06:00:00:0A
08:00:06:00:00:0B
08:00:06:00:00:0C
TG70112EN02GLA1
08:00:06:00:00:0D
Port
Address
08:00:06:00:00:0A
08:00:06:00:00:0A
08:00:06:00:00:0B
08:00:06:00:00:0C
08:00:06:00:00:0C
08:00:06:00:00:0D
Ethernet Switching
2/2
TG70112EN02GLA1
TG70112EN02GLA1
Network
Network
LLC
LLC
Data
Data Link
Link
MAC
MAC
Physical
Physical
MAC
MAC Frame
Frame
802.2
802.2 LLC
LLC
TG70112EN02GLA1
Layer
Layer 33 data
data
DSAP
1 Byte
SSAP
1Byte
variabel
Control Field
Data
This part
contains information
42
BC
F4
06
FE
F0
E0
F8
04, 05 , 08, 0C
AA
FF
00
10
TG70112EN02GLA1
Frame
Destination
DeliAddress
meter
Source
Address
Length
Data
Checksum
standard encapsulation:
DSAP
SSAP
Control
Field
DSAP
0x AA
SSAP
0x AA
Data
Control Field
Protocol-ID/
Ether-Type
LLC-Type 1 Organization = 0 (e.g. ARP 0x 806)
11
TG70112EN02GLA1
Data
L2-Switch
12
TG70112EN02GLA1
Ethernet Auto-Negotiation
13
TG70112EN02GLA1
L2-Switch
L2-Switch
TG70112EN02GLA1
Virtual LAN
1/2
VLAN-ID
08:00:06:00:00:0A
08:00:06:00:00:0B
08:00:06:00:00:0C
4
5
08:00:06:00:00:0D
08:00:06:00:00:10
1,2
08:00:06:00:00:10
10.0.0.254/24
15
08:00:06:00:00:01
08:00:06:00:00:02
08:00:06:00:00:03
08:00:06:00:00:04
IP 10.0.0.1/24
GW 10.0.0.254
IP 10.0.1.1/24
GW 10.0.1.254
IP 10.0.0.2/24
GW 10.0.0.254
IP 10.0.1.2/24
GW 10.0.1.254
TG70112EN02GLA1
10.0.1.254/24
Virtual LAN
2/2
Switch ports are logically grouped with the help of VLANs (PVID)
Each group behaves like an individual switch
Inter-VLAN communication is only possible with a router
16
TG70112EN02GLA1
Ethernet Frame
VLAN
Additional Bytes:
In a VLAN-tagged frame 4 bytes are added between the Type-Field and the DataField
EthernetIIIIFrame
Frame(with
(withVLAN
VLANtag)
tag)
Ethernet
7 Bytes
1 B.
6 Byte.
6 Byte
2 B.
2 B.
2 B.
46 to
1500 Bytes
Preamble
SD
Dest.
Address
Source
Address
TPID
TPID
TCI
TCI
Type
Data
Total Ethernet
Frame Size
68...1522 Byte
(without Preamble,
SD and Interframe Gap)
17
User priority
12 bytes
Interframe
Gap
TCI
Tag Control Information
3 1
12
CFI (Cannonical
format identifier)
TG70112EN02GLA1
4 bytes
Frame
Check
Sequence
VLAN ID
(n <= 4094)
1/2
18
TG70112EN02GLA1
2/2
STP Variants:
- STP (tens of seconds protection switching time)
- RSTP (Rapid STP, around one second): the protection links are pre-calculated by the
switches: Faster, but manual configuration of switches required, some configurations
required (root bridge, backup root bridge)
- PV(R)STP: RSTP per VLAN
- MSTP: RSTP per VLAN-Groups, scales much better than RSTP / PV(R)STP
19
TG70112EN02GLA1
20
TG70112EN02GLA1
Tagged Port
in order to reduce the number of Switch-to-Switch and Switch-to -Router
connections additional information (tags) for the VLAN association is
inserted into the Ethernet frame.
A tagged port is part of several VLANs and Broadcast Domains.
1
2
21
TG70112EN02GLA1
1
2