ip training

Upload: preetamn

Post on 04-Apr-2018

213 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/29/2019 IP training

    1/125

    2012 Sasken Communication Technologies

    INTERNET PROTOCOL

    (RFC 791)-- Preetam Narayan

  • 7/29/2019 IP training

    2/125

    2012 Sasken Communication Technologies

  • 7/29/2019 IP training

    3/125

    2012 Sasken Communication Technologies

    An IP address is a 4 byte (32-bit) address.

    *An IP addresses are unique

    The address space of IPv4 is 232

    or

    4,294,967,296.

  • 7/29/2019 IP training

    4/125

    2012 Sasken Communication Technologies

    IP

    Address

    Notation

    BinaryNotation

    Hexadecimal

    Notation

    Dotted decimal

    Notation

    01000000 00001011 00000011 00011111

    0x800B021F

    IP ADDRESS NOTATION

  • 7/29/2019 IP training

    5/125

    2012 Sasken Communication Technologies

    PROBLEM 1

    Find the Error if any in the following IP Address: 111.56.045.78

    LEARNING

    There are no leading zeros in a dotted decimal Notation

  • 7/29/2019 IP training

    6/125

    2012 Sasken Communication Technologies

    PROBLEM 1

    Find the Error if any in the following IP Address: 111.301.045.78

    LEARNING

    Max permissible value is 255; 301 is out of range

  • 7/29/2019 IP training

    7/125

    2012 Sasken Communication Technologies

    CLASSFUL ADDRESSING

  • 7/29/2019 IP training

    8/125

    2012 Sasken Communication Technologies

    In classful addressing, the address space is

    divided into five classes:A,B, C,D, andE.

    ADDRESS SPACE

  • 7/29/2019 IP training

    9/125

    2012 Sasken Communication Technologies

    Decimal Notation Binary Notation

    IDENTIFYING CLASS OF AN ADDRESS

  • 7/29/2019 IP training

    10/125

    2012 Sasken Communication Technologies

    PROBLEM 1

    Find the class of the below address

    00000001 00001011 00001011 11101111

    LEARNING

    1st Bit zero implies class A

  • 7/29/2019 IP training

    11/125

    2012 Sasken Communication Technologies

    PROBLEM 1

    Find the class of the below address

    11000001 10000011 00011011 11111111

    LEARNING

    1st 3 bits binary representation 110; signifies class C

  • 7/29/2019 IP training

    12/125

    2012 Sasken Communication Technologies

    Generalization

  • 7/29/2019 IP training

    13/125

    2012 Sasken Communication Technologies

    PROBLEM 1

    Find the class of the below address

    233.14.56.22

    LEARNING

    Check for the range of the 1st byte; 224

  • 7/29/2019 IP training

    14/125

    2012 Sasken Communication Technologies

    No

    CLASS A

    Yes

    No

    CLASS B

    Yes

    No

    CLASS C

    Yes

    No

    CLASS DCLASS E

    Yes

    Generalization

  • 7/29/2019 IP training

    15/125

    2012 Sasken Communication Technologies

    NETWORK ID & HOST ID

  • 7/29/2019 IP training

    16/125

    2012 Sasken Communication Technologies

    PROBLEMS WITH CLASSFUL ADDRESSING

    CLASS A -- EXAMPLE

    Millions of class A addresses are wasted.

  • 7/29/2019 IP training

    17/125

    2012 Sasken Communication Technologies

    PROBLEMS WITH CLASSFUL ADDRESSING

    CLASS B -- EXAMPLE

    Many of Class B Addresses are wasted

  • 7/29/2019 IP training

    18/125

    2012 Sasken Communication Technologies

    PROBLEMS WITH CLASSFUL ADDRESSINGCLASS C -- EXAMPLE

    Class C addresses are fit for smaller organization only

  • 7/29/2019 IP training

    19/125

    2012 Sasken Communication Technologies

    Class D addresses are reserved for multicasting;

    Class E addresses are reserved for special

    purposes; most of the block is wasted.

    PROBLEMS WITH CLASSFUL ADDRESSING

  • 7/29/2019 IP training

    20/125

    2012 Sasken Communication Technologies

    Unicasting communication is one-to-one;

    Multicasting communication is one-to-many;

    Broadcasting communication is one to all;

    COMMUNICATION MODE

  • 7/29/2019 IP training

    21/125

    2012 Sasken Communication Technologies

    A number of Blocks in each class which are

    assigned for private use only. These addresses

    cannot be used to connect to the Internet

    PRIVATE ADDRESSING

    IP CLASS PRIVATE ADDRESS

    CLASS A 10.0.0.0 10.255.255.255

    CLASS B 169.254.0.0 169.254.255.255

    CLASS B 172.16.0.0 172.31.255.255CLASS C 192.168.0.0 192.168.255.255

  • 7/29/2019 IP training

    22/125

    2012 Sasken Communication Technologies

    NETWORK ADDRESS

    Network Address is the first Address (of the

    block) that is being assigned to an Organization.

    Network Address identifies a network in theInternet.

    Given a Network Address, we can find its

    Network class, range of permissible addresses for

    that network

  • 7/29/2019 IP training

    23/125

    2012 Sasken Communication Technologies

    NETWORK ADDRESS

  • 7/29/2019 IP training

    24/125

    2012 Sasken Communication Technologies

    PROBLEM 4

    Find the network address 17.0.0.0, find its class and its address

    range

    SOLUTION

    CLASS A; Address range 17.0.0.0 17.255.255.255

  • 7/29/2019 IP training

    25/125

    2012 Sasken Communication Technologies

    NETWORK MASK

    Network Mask is a 32-bit number which gives thenetwork Address when bitwise ANDed with an IP

    Address

  • 7/29/2019 IP training

    26/125

    2012 Sasken Communication Technologies

    NETWORK MASK

    Default Network Mask of a network is formed by

    setting the netid bits to 1 and hostid bits to 0

    Default Network Mask of a class shouldnt be

    applied to an address belonging to another class

  • 7/29/2019 IP training

    27/125

  • 7/29/2019 IP training

    28/125

    2012 Sasken Communication Technologies

    SPECIAL ADDRESSESDIRECTED BROADCAST ADDRESS

  • 7/29/2019 IP training

    29/125

    2012 Sasken Communication Technologies

    SPECIAL ADDRESSESLIMITED BROADCAST ADDRESS

  • 7/29/2019 IP training

    30/125

    2012 Sasken Communication Technologies

    SPECIAL ADDRESSESTHIS HOST Me

  • 7/29/2019 IP training

    31/125

    2012 Sasken Communication Technologies

    SPECIAL ADDRESSESSPECIFIC HOST ON THE NETWORK

  • 7/29/2019 IP training

    32/125

    2012 Sasken Communication Technologies

    SPECIAL ADDRESSESLOOPBACK ADDRESS

  • 7/29/2019 IP training

    33/125

    2012 Sasken Communication Technologies

    APPLY YOUR LEARNINGS

  • 7/29/2019 IP training

    34/125

    2012 Sasken Communication Technologies

  • 7/29/2019 IP training

    35/125

    2012 Sasken Communication Technologies

    Default IP addresses are designed with

    two levels of hierarchy.

    All Hosts fall under the same level.

    NETWORK DEPICTING 2 LEVEL HIERARCHY

  • 7/29/2019 IP training

    36/125

    2012 Sasken Communication Technologies

    NETWORK DEPICTING 3 LEVEL HIERARCHY

  • 7/29/2019 IP training

    37/125

    2012 Sasken Communication Technologies

    Subnetting: Process of dividing a Network

    into various kutti-kutti networks calledsubnets

    Subnetting creates 3 level hierarchy:

    Network id, Sub-network id and Host id

  • 7/29/2019 IP training

    38/125

    2012 Sasken Communication Technologies

  • 7/29/2019 IP training

    39/125

    2012 Sasken Communication Technologies

    Subnet-mask: formed by setting network id andsub-network id bits to 1 and host id bits to 0

  • 7/29/2019 IP training

    40/125

    2012 Sasken Communication Technologies

    Subnet-Address: formed by ANDing IP

    address with the subnet mask

  • 7/29/2019 IP training

    41/125

    2012 Sasken Communication Technologies

    PROBLEM 1

    Given the destination address is 19.30.80.5 and mask is

    255.255.192.0

    Determine the sub-network address

    SUBNETTING STEPS

    SUBNET ADDRESS IDENTIFICATION

    STEP1: if the network mask byte is 255 then copy the byte to the

    address

    STEP2: if the network mask byte is 0 then replace byte in the

    address with 0

    STEP3: if the byte in the mask is neither 0 nor 255 then perform

    the AND by representing it in binary notation

  • 7/29/2019 IP training

    42/125

    2012 Sasken Communication Technologies

    STEPS TO SUBNETTING

  • 7/29/2019 IP training

    43/125

    2012 Sasken Communication Technologies

    APPLY YOUR LEARNINGS

    PROBLEM 2

    Given the destination address is 202.45.34.56 and mask is

    255.255.240.0Determine the sub-network address

    SOLUTION

    200.45.32.0

  • 7/29/2019 IP training

    44/125

    2012 Sasken Communication Technologies

    Subnetting is done by borrowing bits from

    the Host id section of an IP address

  • 7/29/2019 IP training

    45/125

    2012 Sasken Communication Technologies

    The number of subnets = 2 (number of bits used for subnet) - 2

    The number of Hosts per subnet =2 (number of bits used for Host) - 2

    Broadcast address of a particular subnet =network address of following subnet - 1

  • 7/29/2019 IP training

    46/125

    2012 Sasken Communication Technologies

    PROBLEM 2

    A company is granted the site address 201.70.64.0 (Class C). The

    company needs 6 subnets. Design the subnets

    APPROACH

    STEP1: Identify the number of subnets needed

    STEP2: Identify the number of host bits to be borrowed

    STEP3: ignore the subnet bits with all 0s and all 1s

    STEP4: Find the subnet address space.Subnet address space = 2 (number of host id bits)

    SOLVING A SUBNETTING PROBLEM

    SOLVING A SUBNETTING PROBLEM

  • 7/29/2019 IP training

    47/125

    2012 Sasken Communication Technologies

    SOLVING A SUBNETTING PROBLEM

    SOLUTION

    SUBNETTING A SUBNET

  • 7/29/2019 IP training

    48/125

    2012 Sasken Communication Technologies

    SUBNETTING A SUBNET

    APPLY YOUR LEARNINGS

  • 7/29/2019 IP training

    49/125

    2012 Sasken Communication Technologies

    APPLY YOUR LEARNINGS

    PROBLEM 2

    Given the destination address is 202.45.34.56 and mask is

    255.255.240.0Determine the number of subnets and there address range

  • 7/29/2019 IP training

    50/125

    2012 Sasken Communication Technologies

    Supernetting: combining several class C

    blocks to create a large address space

    Supernetting involves borrowing network bits

    In supernetting we need the 1staddress of the

    supernet and supernet mask to define therange of addresses

    SUPERNETTING

  • 7/29/2019 IP training

    51/125

    2012 Sasken Communication Technologies

    SUPERNETTING

  • 7/29/2019 IP training

    52/125

    2012 Sasken Communication Technologies

    PROBLEM 2

    A company needs 600 addresses. Which of the following set of

    class C addresses can be used to for a supernet for this company ?

    198.47.32.0 198.47.33.0 198.47.34.0

    198.47.32.0 198.47.42.0 198.47.52.0 198.47.62.0

    198.47.31.0 198.47.32.0 198.47.33.0 198.47.52.0

    198.47.32.0 198.47.33.0 198.47.34.0 198.47.35.0

  • 7/29/2019 IP training

    53/125

    2012 Sasken Communication Technologies

    RULES FOR SUPERNETTING

    RULE1: The number of blocks must be power of 2 (1,2,4,8,26..)RULE2: The blocks must be contiguous in the address space.

    RULE3: The 3rd byte of the 1st address in the superblock must be

    evenly divisible by the number of blocks. In other words if the

    number of blocks is N then the third byte must be divisible by N

    SOLUTION

    1: No, there are only three blocks.

    2: No, the blocks are not contiguous.

    3: No, 31 in the first block is not divisible by 4.

    4: Yes, all three requirements are fulfilled.

    COMPARISON BETWEEN SUBNET MASK

  • 7/29/2019 IP training

    54/125

    2012 Sasken Communication Technologies

    COMPARISON BETWEEN SUBNET MASK,

    DEFAULT MASK and SUPERNET MASK

  • 7/29/2019 IP training

    55/125

    2012 Sasken Communication Technologies

    PROBLEM 6

    We need to make a super-network out of 16 class C blocks. What is

    the supernet mask?

    SOLUTION

    255.255.240.0

  • 7/29/2019 IP training

    56/125

    2012 Sasken Communication Technologies

    PROBLEM 5

    A supernet has a first address of205.16.32.0 and a supernet mask

    of255.255.248.0. How many blocks are in this supernet and what

    is the range of addresses?

    SOLUTION

    205.16.32.0 205.16.39.0

  • 7/29/2019 IP training

    57/125

    2012 Sasken Communication Technologies

    PROBLEM 5

    A supernet has a first address of 205.16.32.0 and a supernet mask

    of 255.255.248.0. A router receives three packets with the

    following destination addresses:

    205.16.37.44

    205.16.42.56205.17.33.76

    Which packet belongs to the supernet?

    SOLUTION

    205.16.37.44

  • 7/29/2019 IP training

    58/125

    2012 Sasken Communication Technologies

    CIDR NOTATION

  • 7/29/2019 IP training

    59/125

    2012 Sasken Communication Technologies

    CIDR notation is also called slash notation

    Classless Inter Domain Notation

  • 7/29/2019 IP training

    60/125

    2012 Sasken Communication Technologies

    CHARACTERASTICS OF IP

    SWITCHING METHODS

  • 7/29/2019 IP training

    61/125

    2012 Sasken Communication Technologies

    SWITCHING METHODS

    PACKET SWITCHING TYPES

  • 7/29/2019 IP training

    62/125

    2012 Sasken Communication Technologies

    PACKET SWITCHING TYPES

    CONNECTION TYPES

  • 7/29/2019 IP training

    63/125

    2012 Sasken Communication Technologies

    Connection Types

    Connectionless

    service

    Connection-oriented

    service

    CONNECTION TYPES

    CONNECTIONLESS vs CONNECTION-ORIENTED

  • 7/29/2019 IP training

    64/125

    2012 Sasken Communication Technologies

    http://courses.iddl.vt.edu/CS1604/media/connectOriented.swf

    CONNECTIONLESS vs CONNECTION ORIENTED

    ADDRESSING SCOPE

    http://courses.iddl.vt.edu/CS1604/media/connectOriented.swfhttp://courses.iddl.vt.edu/CS1604/media/connectOriented.swf
  • 7/29/2019 IP training

    65/125

    2012 Sasken Communication Technologies

    ADDRESSING SCOPE

  • 7/29/2019 IP training

    66/125

    2012 Sasken Communication Technologies

    IP works in Packet switching technology

    *Source and Destination IP addressdoesnt change during the journey of a

    packet in an inter-network

    IP is a Hop-to-Hop protocol

  • 7/29/2019 IP training

    67/125

    2012 Sasken Communication Technologies

    IP packets are also referred as IP

    Datagrams;

    IP is a Best Effort delivery protocol;

    POSITION OF IP IN NETWORK STACK

  • 7/29/2019 IP training

    68/125

    2012 Sasken Communication Technologies

  • 7/29/2019 IP training

    69/125

    2012 Sasken Communication Technologies

    IP HEADER

    IP HEADER

  • 7/29/2019 IP training

    70/125

    2012 Sasken Communication Technologies

    IP HEADER

  • 7/29/2019 IP training

    71/125

    2012 Sasken Communication Technologies

    VER is the IP version, to which the below

    packet belong.

    Set to 4(0100) for IPV4

  • 7/29/2019 IP training

    72/125

    2012 Sasken Communication Technologies

    Is requested

    IP Version

    Supported ?

    IP PACKET

    IP STACK

    NO

    YES

    SILENTLYDISCARD THE PACKET

    ETHERNET

  • 7/29/2019 IP training

    73/125

    2012 Sasken Communication Technologies

    IP header size: Each bit is expressed in

    terms of multiple of 4 octets

    IP header size is variable 2060 bytes

  • 7/29/2019 IP training

    74/125

    2012 Sasken Communication Technologies

    PROBLEM

    An IP packet has arrived with the first byte as shown:

    01000010

    The receiver discards the packet. Why?

  • 7/29/2019 IP training

    75/125

    2012 Sasken Communication Technologies

    PROBLEM

    In an IP packet, the value of HLEN is 1000 in binary. How many

    bytes of options are being carried by this packet?

  • 7/29/2019 IP training

    76/125

    2012 Sasken Communication Technologies

    Total length of the datagram i.e. Headersize + Data size

  • 7/29/2019 IP training

    77/125

    2012 Sasken Communication Technologies

    PROBLEM

    In an IP packet, the value of HLEN is 516 and the value of the total

    length field is 002816. How many bytes of data are being carried by

    this packet?

  • 7/29/2019 IP training

    78/125

    2012 Sasken Communication Technologies

  • 7/29/2019 IP training

    79/125

    2012 Sasken Communication Technologies

    IP ensures that the minimum data size ofunderlying technology is respected

    ETHERNET HAS A MINIMUM DATA LENGTH OF 46 BYTES

  • 7/29/2019 IP training

    80/125

    2012 Sasken Communication Technologies

    UPPER LAYER

    DATA

    IP HEADER

    >= LAYER 3

    NETWORK LAYER

    DATA LINK LAYER

    Total length < 46 bytes

  • 7/29/2019 IP training

    81/125

    2012 Sasken Communication Technologies

    Protocol field: Denotes the upper layerprotocol being carried by the IP

    IP multiplexes higher layer protocol

  • 7/29/2019 IP training

    82/125

    2012 Sasken Communication Technologies

    Source IP Address and Dest IP Address

    doesnt change in a packet journey in a inter-

    network except in the case of source routing

  • 7/29/2019 IP training

    83/125

    2012 Sasken Communication Technologies

  • 7/29/2019 IP training

    84/125

    2012 Sasken Communication Technologies

    Checksum calculation is done as following:

    1. Divide the packet into 16 bits chunks.

    2. While calculation checksum, checksum field bits are

    set to 0

    3.Perform 1s complement sum ofeach chunk.

    4.1s complement the result obtained in STEP2.

    CHECKSUM CALCULATION

  • 7/29/2019 IP training

    85/125

    2012 Sasken Communication Technologies

  • 7/29/2019 IP training

    86/125

    2012 Sasken Communication Technologies

    Checksum is performed on the IP Header

    only and not on IP data

    Checksum is recalculated at each HOP

    On detection of the checksum error, packet is

    dropped thereby the HOP

    TYPE OF SERVICE

  • 7/29/2019 IP training

    87/125

    2012 Sasken Communication Technologies

    Service level parameter, important for

    Routers. Prioritizes the packets based on this

    parameter

    TIME TO LIVE

  • 7/29/2019 IP training

    88/125

    2012 Sasken Communication Technologies

    Maximum time a packet lives in an inter-

    network, before it would gets destroyed

    Set by the sender; decremented by 1 at each

    HOP.

    TIME TO LIVE

  • 7/29/2019 IP training

    89/125

    2012 Sasken Communication Technologies

  • 7/29/2019 IP training

    90/125

    2012 Sasken Communication Technologies

    MAXIMUM TRANSMITABLEUNIT

  • 7/29/2019 IP training

    91/125

    2012 Sasken Communication Technologies

    MTU determines the maximum amount of

    data that can be transmitted on an underlying

    technology

  • 7/29/2019 IP training

    92/125

    2012 Sasken Communication Technologies

    In case the Packet size is greater than the

    MTU then packet need to be fragmented

    Fragmentation is a process of dividing a

    large packet (size > MTU) to packets (size

  • 7/29/2019 IP training

    93/125

    2012 Sasken Communication Technologies

    Once the packet is reaches the destination or

    a hop then it need to be reassembled

    Reassembly: is a process is getting back the

    original packet from the fragmented IP

    packets

  • 7/29/2019 IP training

    94/125

    2012 Sasken Communication Technologies

    IP Fragmentation

    Intranet

    Fragmentation

    Internet

    Fragmentation

    Based on where the fragmentation-reassembly is done at Hop or final

    destination, fragmentation are classified

    under 2 types

    INTRANET FRAGMENTATION

  • 7/29/2019 IP training

    95/125

    2012 Sasken Communication Technologies

    INTRANET FRAGMENTATION

  • 7/29/2019 IP training

    96/125

    2012 Sasken Communication Technologies

    fragmentation, transmission and reassembly

    across a local network which is invisible to

    the internet protocol module is called intranet

    fragmentation

    Efficient utilization of bandwidth

    More overhead, processing delay andbuffering required

    INTERNET FRAGMENTATION

  • 7/29/2019 IP training

    97/125

    2012 Sasken Communication Technologies

    INTERNET FRAGMENTATION

  • 7/29/2019 IP training

    98/125

    2012 Sasken Communication Technologies

    fragmentation, transmission and reassembly

    across an inter-network all the way to the

    final destination.

    No buffering needed in intermediate nodes

    Inefficient use of the network Bandwidth

  • 7/29/2019 IP training

    99/125

    2012 Sasken Communication Technologies

    PROBLEM

    Consider the journey of a packet of length 2048 octets and header

    40 octets. It passes through the networks with maximum packet

    sizes as shown:

    Network Maximum Packet Length

    A 2048 octets

    B 512 octets

    C 1024 octets

    D 256 octets

    E 1024 octets

    Discuss the performance w.r.t internet and intranet fragmentation.*Performance can be measured in terms of no. of fragmentation performed and re-assembly and number of data units passed in eachnetwork

    FRAGMENTATION FLAGS

  • 7/29/2019 IP training

    100/125

    2012 Sasken Communication Technologies

    When SET (1) by the sender, then the packet wouldnt be

    fragmented. If the MTU size is not respected then it would bedropped with an ICMP message back to sender

    SET (0) implies there is permission to fragment

    SET 0 for un-fragmented or last fragment packet

    SET 1 for rest all fragments

    FRAGMENTATION OFFSET

  • 7/29/2019 IP training

    101/125

    2012 Sasken Communication Technologies

    Indicates the relative position of the fragment

    w.r.t original IP datagram

    Fragmentation offset are measured in units

    of 8 octets

    Fragment offset 0 for the 1stfragment

  • 7/29/2019 IP training

    102/125

    2012 Sasken Communication Technologies

    EXAMPLE

  • 7/29/2019 IP training

    103/125

    2012 Sasken Communication Technologies

    EXAMPLE

  • 7/29/2019 IP training

    104/125

    2012 Sasken Communication Technologies

    PROBLEM

    In an IP packet arrives with the fragment offset value as 100, the

    value of the HLEN is 5 and value of the total length field as 100.

    What is the number of the 1st and last byte in that fragment ?

    SOLUTION

    1st byte number is 100 * 8 = 800

    Last byte = 879

    OPTIONS

  • 7/29/2019 IP training

    105/125

    2012 Sasken Communication Technologies

    Options are optional parameters that might

    be sent by the sender; but not optional forimplementers. So all IP module need to

    support all IP options

    OPTIONS

  • 7/29/2019 IP training

    106/125

    2012 Sasken Communication Technologies

    In case there is space enough for partial data

    to be filled then the respective packet wouldbe dropped and an ICMP error message

    would be generated

    OPTIONS

  • 7/29/2019 IP training

    107/125

    2012 Sasken Communication Technologies

    OPTIONS FORMAT

  • 7/29/2019 IP training

    108/125

    2012 Sasken Communication Technologies

    END OF OPTIONS -- OPTION

  • 7/29/2019 IP training

    109/125

    2012 Sasken Communication Technologies

    Optionally present at the end of all options if

    option header doesnt coincide the 32 bit

    boundary

    NO OPERATION OPTION

  • 7/29/2019 IP training

    110/125

    2012 Sasken Communication Technologies

    Optionally present in between the options; to

    align the beginning of next option to 32 bit

    boundary

    RECORD ROUTE OPTIONS

  • 7/29/2019 IP training

    111/125

    2012 Sasken Communication Technologies

    Route followed by the IP packet is recorded

    in the IP header when this options is set;

    Each router in the transit, adds its IP address

    to the option

    RECORD ROUTE OPTIONS FORMAT

  • 7/29/2019 IP training

    112/125

    2012 Sasken Communication Technologies

    RECORD ROUTE OPTIONS

  • 7/29/2019 IP training

    113/125

    2012 Sasken Communication Technologies

    On fragmentationonly the 1stfragment

    would contain this information i.e. copied to

    1stfragment only

    It is the responsibility of the sender to define

    the size of option as it is not changed in the

    transit

    WORKING PRINCIPLERECORD ROUTE

  • 7/29/2019 IP training

    114/125

    2012 Sasken Communication Technologies

    STRICT SOURCERECORD ROUTE OPTIONS

  • 7/29/2019 IP training

    115/125

    2012 Sasken Communication Technologies

    Means for the source to specify the route to

    be followed for the IP datagram; This also

    record the route in the transitStrict sourceeither follow the path or

    discard the IP packet

    Copied on each fragments

    STRICT SOURCERECORD ROUTE OPTIONS

    FORMAT

  • 7/29/2019 IP training

    116/125

    2012 Sasken Communication Technologies

    FORMAT

    WORKING PRINCIPLE

    STRICT SOURCE RECORD ROUTE OPTIONS

  • 7/29/2019 IP training

    117/125

    2012 Sasken Communication Technologies

    STRICT SOURCE-RECORD ROUTE OPTIONS

    LOOSE SOURCERECORD ROUTE OPTIONS

  • 7/29/2019 IP training

    118/125

    2012 Sasken Communication Technologies

    Identical to strict source route, except that the

    gateway or host IP is allowed to use any

    number of intermediate gateways to reach thenext address in the route

    Copied on each fragments

    LOOSE SOURCERECORD ROUTE OPTIONS

    FORMAT

  • 7/29/2019 IP training

    119/125

    2012 Sasken Communication Technologies

    FORMAT

    TIMESTAMP OPTIONS

  • 7/29/2019 IP training

    120/125

    2012 Sasken Communication Technologies

    Timestamp: Time at which the packet is

    processed by the HOP

    Measured in milli-secs

    TIMESTAMP OPTIONS

  • 7/29/2019 IP training

    121/125

    2012 Sasken Communication Technologies

    TIMESTAMP OPTIONS

  • 7/29/2019 IP training

    122/125

    2012 Sasken Communication Technologies

    Over-Flow Flag: number of IP modules

    which couldnt register there timestamp due

    to lack of space

    In case the overflow flag itself overflows then

    an ICMP error message might be sent to thesender of the message

    TIMESTAMP OPTIONS -- FLAGS

  • 7/29/2019 IP training

    123/125

    2012 Sasken Communication Technologies

    WORKING PRINCIPLE -- TIMESTAMP

  • 7/29/2019 IP training

    124/125

    2012 Sasken Communication Technologies

  • 7/29/2019 IP training

    125/125