# NAME

            decapsulation_router.seq - Verify that decapsulate IPv6
            datagram in IPv4 packet

# TARGET

            Router

# SYNOPSIS

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

# INITIALIZATION

    	Before this test starts, run initialize.seq.

# TEST PROCEDURE

            This test verifies that NUT decapsulate the IPv6 packet in a
            IPv4 packet

            Network Topology

            Link0
            --------------------------
                |               |
               TN              NUT
                |               |
            --------------------------
            Link1

            TN -- (Link0) -- NUT            TN -- (Link1) -- NUT

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

            1.
                                        ===================>
            IPv4 packet encapsulating IPv6 packet
                    Outer Header (IPv4)
                            src address : Off-link IPv4 address
                            dst address : NUT Link1 IPv4 address
                    Inner Header (IPv6)
                            src address : Off-link IPv6 global address
                            dst address : TN LINK0 IPv6 global address

            2.
            In NUT, received IPv4 packet is decapsulated, and forward
            ICMPv6 Echo Request packet.
            3.
            << JUDGMENT >>

            <===================
            ICMPv6 Echo Reply
                    IPv6 Header
                            src address : Off-link IPv6 global address
                            dst address : TN LINK0 IPv6 global address

# JUDGMENT

            << PASS >>
                    NUT received ICMPv6 Echo Reply

            << FAIL >>
                    NUT did not receive ICMPv6 Echo Reply

# SEE ALSO

            perldoc V6evalTool