Documente Academic
Documente Profesional
Documente Cultură
CeraOS 8.5
• Network Devices
• OSI Layers
• Ethernet Frame
• TCP
• VLAN concept
• VLAN Tagging
3 NETWORK Routes data to different LANs and WANs based on network addresses
2 DATA LINK Transmits packets from node to node based on station address
6 PRESENTATION SSL, SFTP, IMAP, SSH, Jpeg, GIF, TIFF, MPEG, MIDI, mp3
Preamble SFD DA MAC SA MAC S-VLAN TAG C-VLAN TAG Lenght/Type Payload + Padding FCS IFG ***
[7 Bytes] [1 Byte] [6 Bytes] [6 Bytes] [4 Bytes] [4 Bytes] [2 Bytes] [46-1500 Bytes] [4 Bytes] [12 Bytes]
E
MAC MPLS IPv4/6 TCP/UDP DATA FCS
Data Link S-VLAN C-VLAN
L Data Link TCP Transmission control protocol
Network
Interface Physical P SFD MAC S-VLAN C-VLAN MPLS E
L
IPv4/6 TCP/UDP DATA FCS
Physical UDP User datagram protocol
46-1500
LAYER 2 Headers
8 BYTES 8 BYTES 2 BYTES 46 - 1500 BYTES 4 BYTES
HEADER
0 VERSION TOS TOTAL LENGTH
LENGTH
96 SOURCE ADDRESS
160 OPTIONS
UDP HEADER
BITS 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
32 LENGTH CHECKSUM
32 SEQUENCE NUMBER
64 ACKNOWLEDGEMENT NUMBER
DATA C E U A P R S F
96 RESERVED W C R C S S Y I WINDOW SIZE
OFFSET R E G K H T N N
Passive
Active open
open seq: 8000
UAPRS F
SY N
seq: 15000
Connection ack: 8001
opened nd: 5000
U A P R S F rw
SYN + ACK
seq: 8000
ack: 15001
UAPRS F
rwnd: 10000
ACK
Means “no data” !
seq: 8001 if piggybacking
Proprietary and Confidential 20
TCP- Numbering System
• The bytes of data transferred in each connection are numbered. Numbering starts
with an arbitrarily generated number.
• The value in the sequence number field of a segment defines the number assigned
to the first data byte contained in that segment.
• The value of the acknowledgment field in a segment defines the number of the next
byte expected to be received.
seq: 8001
Send
request ack: 15001
UAPRS F
Data Receive
bytes: 8001-9
000
1
cwnd
RTT
2
cwnd
RTT
4
cwnd
RTT
8
cwnd
• * Example:
NETWORK
E
MAC MPLS IPv4/6 TCP/UDP DATA FCS
Data Link S-VLAN C-VLAN
L Data Link TCP Transmission control protocol
Network
Interface Physical P SFD MAC S-VLAN C-VLAN MPLS E
L
IPv4/6 TCP/UDP DATA FCS
Physical UDP User datagram protocol
46-1500
Preamble SFD DA MAC SA MAC S-VLAN TAG C-VLAN TAG Lenght/Type Payload + Padding FCS IFG ***
[7 Bytes] [1 Byte] [6 Bytes] [6 Bytes] [4 Bytes] [4 Bytes] [2 Bytes] [46-1500 Bytes] [4 Bytes] [12 Bytes]
4 Bytes
8 Bytes 6 Bytes 6 Bytes 2 Bytes 46 - 1500 Bytes (32-bit
CRC)
33
Proprietary and Confidential
TAGGED ETHERNET FRAME
• Additional information is inserted
• Frame size increases to 1522 Bytes
4 Bytes
34
Proprietary and Confidential
TAGGING A FRAME VLAN TAG PAYLOAD
35
Proprietary and Confidential
TPID / ETHER-Type / Protocol Type…
• EtherType is a two-octet field in an Ethernet frame, used Protocol type Value
to indicate which protocol is encapsulated in the payload Tagged Frame 0x8100
ARP 0x0806
of an Ethernet Frame.
Q-in-Q (CISCO) 0x8100
Q-in-Q (other vendors) 0x88A8
Q-in-Q (other vendors) 0x9100
• TPID in tagged frames in always set to 0x8100 Q-in-Q (other vendors) 0x9200
RARP 0x8035
IP 0x0800
• It is important that to understand the meaning and usage IPv6 0x86DD
PPPoE 0x8863/0x8864
of this parameter
MPLS 0x8847/0x8848
IS-IS 0x8000
LACP 0x8809
802.1x 0x888E
37
Proprietary and Confidential
WHAT WAS DISCUSSED
Local Area Network (LAN)
Network Devices
OSI Layers
Ethernet Frame
TCP
VLAN concept
VLAN Tagging