iLab Basics Benjamin Hof hof@in.tum.de Lehrstuhl fr - - PowerPoint PPT Presentation

ilab
SMART_READER_LITE
LIVE PREVIEW

iLab Basics Benjamin Hof hof@in.tum.de Lehrstuhl fr - - PowerPoint PPT Presentation

iLab Basics Benjamin Hof hof@in.tum.de Lehrstuhl fr Netzarchitekturen und Netzdienste Fakultt fr Informatik Technische Universitt Mnchen Lab 1 15ss 1 Outline Internet protocol architecture MAC addresses Internet protocol


slide-1
SLIDE 1

iLab

Basics Benjamin Hof hof@in.tum.de

Lehrstuhl für Netzarchitekturen und Netzdienste Fakultät für Informatik Technische Universität München

Lab 1 – 15ss

1

slide-2
SLIDE 2

Outline

Internet protocol architecture MAC addresses Internet protocol L3 address resolution

2

slide-3
SLIDE 3

Outline

Internet protocol architecture MAC addresses Internet protocol L3 address resolution

3

slide-4
SLIDE 4

Layer model

application presentation session transport network data link physical application transport network link 7. 6. 5. 4. 3. 2. 1. DNS, DHCP, HTTP TCP, UDP, SCTP IPv6, ICMP, IPSec Ethernet, WLAN ISO/OSI concept Internet example protocols

4

slide-5
SLIDE 5

5

slide-6
SLIDE 6

Example: HTTP communication in a local area network

browser TCP IP Ethernet driver HTTP server TCP IP Ethernet driver

HTTP protocol TCP protocol IP protocol Ethernet protocol

Ethernet

6

slide-7
SLIDE 7

Example: two networks connected with a router

wireless LAN browser TCP IP HTTP server TCP IP Ethernet driver WLAN driver IP Ethernet driver WLAN driver

HTTP protocol TCP protocol IP protocol IP protocol Ethernet protocol WLAN protocol

Ethernet router

7

slide-8
SLIDE 8

Encapsulation of data in the protocol stack

user data application header user data TCP header application data IP header TCP header application data

Ethernet header

IP header TCP header application data

Ethernet trailer

segment packet/datagram frame

8

slide-9
SLIDE 9

Terminology

IP header network layer SDU

Ethernet header

data link layer SDU

Ethernet trailer

network layer PDU data link layer PDU

◮ Protocol Data Unit ◮ Sercie Data Unit ◮ Interface: service access point (SAP) 9

slide-10
SLIDE 10

Design decisions

◮ no state between sender and destination ◮ end-to-end principle ◮ separation of packet forwarding and routing 10

slide-11
SLIDE 11

Outline

Internet protocol architecture MAC addresses Internet protocol L3 address resolution

11

slide-12
SLIDE 12

Layer 2 addresses/frame

◮ MAC addresses, “physical address” ◮ specific for medium ◮ Ethernet/WLAN: 48 bit

◮ vendor and product information

◮ not hierarchical

Why are MAC addresses not used for addressing devices on the Internet?

12

slide-13
SLIDE 13

Ethernet layer 2

15 16 31

destination address source address type service data unit

❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤

. . .

                          

46-1500

  • ctets

frame check sequence

13

slide-14
SLIDE 14

Layer 2 traffic

PC 0 PC 1 PC 2 switch A B C

PC 0 transmits:

  • 1. destination MAC PC 1
  • 2. destination MAC FF:FF:FF:FF:FF:FF

14

slide-15
SLIDE 15

Outline

Internet protocol architecture MAC addresses Internet protocol L3 address resolution

15

slide-16
SLIDE 16

Internet Protocol

◮ packet switched ◮ best effort ◮ connectionless ◮ unreliable ◮ no flow control 16

slide-17
SLIDE 17

IPv6 header

3 4 11 12 15 16 23 24 31

version traffic class flow label payload length next header hop limit source destination extension headers or payload

17

slide-18
SLIDE 18

IPv4 header

3 4 11 12 15 16 23 24 31

version hdr len DSCP/ECN total length identification flags fragment offset time to live protocol header checksum source address destination address

  • ptions or payload

Flags will be used for fragmenting packets.

18

slide-19
SLIDE 19

Internet control message protocol

7 8 15 16 31

type code checksum depends

◮ IPv6 next header: 58 ◮ IPv4 protocol: 1 ◮ similarities between ICMPv6 and ICMPv4 ◮ kind of on L3

purpose, e.g.,

◮ destination unreachable ◮ time to live exceeded ◮ neighbour discovery 19

slide-20
SLIDE 20

Outline

Internet protocol architecture MAC addresses Internet protocol L3 address resolution

20

slide-21
SLIDE 21

Neighbour discovery protocol

PC 0 2001:DB8::1 PC 1 2001:DB8::2 PC 2 2001:DB8::3 A B C

questions:

◮ L2 src, dst ◮ L3 src, dst ◮ ICMPv6 content 21