NAME

        packet_too_big - Verify that the NUT sends Packet Too Big Message


TARGET

        Router


SYNOPSIS

        packet_too_big.seq [-tooloption ...] -p packet_too_big.def


NETWORK CONFIGURATION

        This test is OFF-LINK Network Configuration test.
        In this test, TN play a Roll of the Router.
        
        Phisical Network configuration
        
        Link0   
        ---------------------------------------
                |               |
                NUT             TN
                |               |
        ---------------------------------------
        Link1

        Logical Network Configuration

                                HOST A (OFFLINK_GLOBAL_ADDRESS)
                                |
        ----------------------------------
                        |
                        Router(TN-Link0)
                        |                                       Link0
        ----------------------------------
                | 
                NUT (globaladdress:B)
                |
        ----------------------------------
                        |                                       Link1
                        Router(TN-Link1)
                        |
        ----------------------------------
                                |
                                HOST A (OFFLINK_LINK1_GLOBAL_ADDRESS)
        

        NUT < --- Router --- > HOST A

        In this configuration, Packets are send and received. 

        for example,
                In Logical
                        HOST A           -- Echo Reply --> NUT
                Actually, in physical
                        TN (as Router X) -- Echo Reply --> NUT


INITIALIZATION

        TN attempt to execute remote command 'vRemote(route.rmt)'.
        
        'route add -inet6 OFFLINK_GLOBAL_ADDRESS TN-LINK0-address' 
                                                
        'route add -inet6 OFFLINK_LINK1_GLOBAL_ADDRESS TN-LINK1-address' 


TEST PROCEDURE

        "initPMTU" verifies that the node sends a Packet Too Big Message 
        in response to a packet that it can not forward because the packet 
        is larger than the MTU of the outgoing link.

        TN                      NUT

        ---------------------------

        1.
        After NUT is initialized ( reboot e.t.c) , NUT sets 
        the Link MTU of LINK1 Interface to 1300 .

        2.
        TN send Echo Request .

         === echo request  ===>

        3.
        << JUDGMENT 1 >>
        NUT send Packet Too Big Message 

         <=== Packet Too Big Message ===

        4.
        TN send Echo Request with Routing Header.

         === echo request  ===>

        5.
        << JUDGMENT 2 >>
        NUT send Packet Too Big Message 

         <=== Packet Too Big Message ===


JUDGMENT

        
        << JUDGMENT 1 >>
                << PASS >>
                        NUT send a Packet Too Big Message.

      Packet_IPv6          (size:1280 octets)
        Hdr_IPv6           
        Version            = 6
        PayloadLength      = 1240
        NextHeader         = 58
        SourceAddress      = NUT_GLOBAL_ADDRESS 
        DestinationAddress = OFFLINK_GLOBAL_ADDRESS
        ICMPv6_PacketTooBig
          Type             = 2
          Code             = 0
          MTU              = 1300
          Payload          (size:1232 octets)

                << FAIL >>      
                        NUT do not send a Packet Too Big Message.
                
                        Because,        
                        NUT can not set Link MTU of LINK1 interface.
                        etc.

        << JUDGMENT 2 >>

                << PASS >>
                        NUT send a Packet Too Big Message which includes Routing Header.
                        
      Packet_IPv6          (size:1280 octets)
        Hdr_IPv6           
        Version            = 6
        PayloadLength      = 1240
        NextHeader         = 58
        SourceAddress      = NUT_GLOBAL_ADDRESS 
        DestinationAddress = OFFLINK_GLOBAL_ADDRESS
        ICMPv6_PacketTooBig
          Type             = 2
          Code             = 0
          MTU              = 1300
          Payload          (size:1232 octets)

                << FAIL >>      
                        NUT do not send a Packet Too Big Message.
                
                        Because,        
                        NUT can not set Link MTU of LINK1 interface.
                        etc.


SEE ALSO

          perldoc V6evalTool
          perldoc V6evalRemote