Beruflich Dokumente
Kultur Dokumente
plus
ASCII character set
and
TCP/IP protocols
The Rules
Message Encoding
encode decode
Copyright 2001, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
Data Encapsulation
Data
Segment
Packet
Frame
Bits
bits
Application
NIC Operating s/w
Card System
Letters
Hexdecimal IPv4 Decimal &
Symbols
1010101010101011111011110001000100010001000010101111111111110
Copyright 2001, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
The Rules
Binary to Decimal
Binary to HexaDecimal
The Rules
Binary to ASCII: the Character Map
.
2007 Cisco Systems, Inc. All rights reserved. Cisco Public 6
Copyright 2001, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
How do you know where to start?
NIC card SFD start frame delimiter
Common to layer 2 protocols
Timing & Synchronization
1010101010101011111011110001000100010001000010101111111111110
NIC card
Ethernet = HEX
1010101010101011111011110001000100010001000010101111111111110
Copyright 2001, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
Layers 1 & 2: Binary to HEX
Layers 3 & 4: Binary to Decimal
Layers 5-6-7: Application Layer:
- Bits to ASCII character map
- App: Bits to JPEG, MPEG, etc bits is bits
Application
Operating
1010101010101011111011110001000100010001000010101111111111110
NIC card System
s/w
Ethernet = HEX IP = Decimal Whatever ?
1010101010101011111011110001000100010001000010101111111111110
Copyright 2001, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
WireShark decodes the bits it sniffs
IP packet
.
Bits
to
Ethernet
& IP
.
Bits .
to
HEX
and ASCII
.
IP packet
.
Bits
to
Ethernet
& IP
.
Bits
to
HEX Bits for Frame #2
and ASCII
Copyright 2001, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
WireShark decodes the bits it sniffs
IP packet
.
Bits
to
Ethernet
& IP
.
.
Bits
to
HEX Bits for Frame #3
and ASCII
.
Copyright 2001, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
WireShark LABs
Find the interfaces: IPconfig
WireShark LABs
Copyright 2001, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
WireShark LABs
Find the interfaces: But which one ? The names dont match !
Loop
MS is software
WireShark LABs
Pick the correct interface
Copyright 2001, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
Start Capture in WireShark, then Start an Application
.
PING
generates
ICMP requests
Copyright 2001, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
With WireShark in capture mode,
and an application generating traffic,
use WireShark to view the PDUs
Copyright 2001, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
Lecture Part 2
Session 5
Copyright 2001, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
Couple more notes on NIC cards
TCP
O/S
To IP
NIC card Ethernet or Wireless
Binding
Copyright 2001, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
Binding order and what if you have more than one NIC ?
LAN
Use the Up and
Down arrow
buttons to change
the order in which
protocols are
bound to the NIC
Copyright 2001, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
Copyright 2001, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr