Chapter 18
Chapter 18
CSE 3213
Fall 2011
Internetworking
Terms
1
09/11/2011
TCP/IP Concepts
Connectionless Operation
• Internetworking involves connectionless
operation at the level of the Internet Protocol
(IP)
IP
• initially developed for the DARPA internet
project
• protocol is needed to access a particular network
2
09/11/2011
Connectionless Internetworking
• Connectionless internet facility is flexible
• IP provides a connectionless service between
end systems.
– Advantages:
• is flexible
• can be made robust
• does not impose unnecessary overhead
IP Operation
3
09/11/2011
IP Design Issues
• routing
• datagram lifetime
• fragmentation and reassembly
• error control
• flow control
4
09/11/2011
Routing
source routing
• indicate next router
to which datagram is
sent • source specifies route
to be followed route recording
• static
• can be useful for
• dynamic
security & priority
ES / routers maintain
routing tables
Datagram Lifetime
5
09/11/2011
Fragmentation and
Re-assembly
• protocol exchanges data between two entities
• lower-level protocols may need to break data up into smaller
blocks, called fragmentation
• reasons for fragmentation:
– network only accepts blocks of a certain size
– more efficient error control & smaller retransmission units
– fairer access to shared facilities
– smaller buffers
• disadvantages:
– smaller buffers
– more interrupts & processing time
Fragmentation and
Re-assembly
packets get smaller
as data traverses
at destination internet
6
09/11/2011
IP Fragmentation
• IP re-assembles at destination only
• uses fields in header
– Data Unit Identifier (ID)
• identifies end system originated datagram
– Data length
• length of user data in octets
– Offset
• position of fragment of user data in original datagram
• in multiples of 64 bits (8 octets)
Fragmentation Example
7
09/11/2011
specification of
specification of
actual protocol
interface with a
format and
higher layer
mechanisms
8
09/11/2011
IP Services
• Primitives • Parameters
– specifies functions to be – used to pass data and
performed control information
– form of primitive
implementation
dependent
– Send - request
transmission of data unit
– Deliver - notify user of
arrival of data unit
IP Parameters
• source and destination addresses
• protocol
• type of service
• identification
• don’t fragment indicator
• time to live
• data length
• option data
• user data
9
09/11/2011
IP Options
route
security
recording
source
routing
stream
identification timestamping
IPv4 Header
10
09/11/2011
IP Addresses - Class A
11
09/11/2011
IP Addresses - Class B
IP Addresses - Class C
12
09/11/2011
13
09/11/2011
14
09/11/2011
• manual
• included in network address
• use central directory
• use address resolution protocol
15
09/11/2011
IP Versions
• IP v 1-3 defined and replaced
• IP v4 - current version
• IP v5 - streams protocol
• IP v6 - replacement for IP v4
– during development it was called IPng (IP Next
Generation)
address space
exhaustion: requirements for new types
• two level addressing (network
of service
and host) wastes space • address configuration
• network addresses used even routing flexibility
if not connected • traffic support
• growth of networks and the
Internet
• extended use of TCP/IP
• single address per host
16
09/11/2011
IPv6 RFCs
IPv6 Enhancements
• expanded 128 bit address space
• improved option mechanism
– most not examined by intermediate routes
• dynamic address assignment
• increased addressing flexibility
– anycast & multicast
• support for resource allocation
– labeled packet flows
17
09/11/2011
IPv6
PDU
(Packet)
Structure
IP v6 Header
18
09/11/2011
IP v6 Flow Label
IPv6 Addresses
• 128 bits long
• assigned to interface
• single interface may have multiple unicast addresses
19
09/11/2011
Hop-by-Hop Options
• must be examined by every router
– if unknown discard/forward handling is specified
• next header
• header extension length
• options
– Pad1
– PadN
– Jumbo payload
– Router alert
Fragmentation Header
20
09/11/2011
Routing Header
• contains a list of one or more intermediate nodes to
be visited on the way to a packet’s destination
• next header
header • header extension length
includes • routing type
• segments left
21
09/11/2011
Reading
• Chapter 18, Stallings
• Next lecture: Internetworking Operation
(Chapter 19)
22