NAME

V6LC_2_2_5 - Router Sends Valid Router Advertisement


TARGET

Router


TOPOLOGY

            |
   TN1     RUT
    |       |
----+-------+--- Link0

Link0 global 3ffe:501:ffff:100::/64
link-local fe80::/64
RUT global 3ffe:501:ffff:100::<NutDef.Link0_addr>
link-local fe80::<NutDef.Link0_addr>
ether <NutDef.Link0_addr>
TN1 global 3ffe:501:ffff:100::<TnDef.Link0_addr>
link-local fe80::<TnDef.Link0_addr>
ether <TnDef.Link0_addr>


SETUP

none


TEST PROCEDURE

- Verify that a router sends valid Router Advertisements.
   TN1     RUT
    |       |
    |       * Configure Interface A on the RUT to be an advertising interface.
    |       |
    |   <-- | RA (multicast)
    |   <-- | RA (multicast)
    |   <-- | RA (multicast)
    |       |
    | -->   | RS (multicast)
    |   <-- | RA (multicast) [Judgment #1]
    |       |
    V       V

1. Configure Interface A on the RUT to be an advertising interface.
2. Observe RA
        RA message format #1
            IPv6 header
                hop limit          = 255
                source             = RUT (link-local)
                destination        = all-nodes multicast address
            RA
                cur hop limit      = 64
                M                  = 0
                O                  = 0
                router lifetime    = 1800
                reachable time     = 0
                retrans timer      = 0
            SLL option
            Prefix Information option
                prefix length      = 64
                L                  = 1
                A                  = 1
                valid Lifetime     = 2592000
                preferred lifetime = 604800
                prefix             = 3ffe:501:ffff:100::
        RA message format #2
            IPv6 header
                hop limit          = 255
                source             = RUT (link-local)
                destination        = all-nodes multicast address
            RA
                cur hop limit      = 64
                M                  = 0
                O                  = 0
                router lifetime    = 1800
                reachable time     = 0
                retrans timer      = 0
            Prefix Information option
                prefix length      = 64
                L                  = 1
                A                  = 1
                valid Lifetime     = 2592000
                preferred lifetime = 604800
                prefix             = 3ffe:501:ffff:100::
3. Send RS
        IPv6 header
            hop limit   = 255
            source      = unspecified address
            destination = all-routers multicast address
        RS
4. Observe RA
        RA message format #1
            IPv6 header
                hop limit          = 255
                source             = RUT (link-local)
                destination        = all-nodes multicast address
            RA
                cur hop limit      = 64
                M                  = 0
                O                  = 0
                router lifetime    = 1800
                reachable time     = 0
                retrans timer      = 0
            SLL option
            Prefix Information option
                prefix length      = 64
                L                  = 1
                A                  = 1
                valid Lifetime     = 2592000
                preferred lifetime = 604800
                prefix             = 3ffe:501:ffff:100::
        RA message format #2
            IPv6 header
                hop limit          = 255
                source             = RUT (link-local)
                destination        = all-nodes multicast address
            RA
                cur hop limit      = 64
                M                  = 0
                O                  = 0
                router lifetime    = 1800
                reachable time     = 0
                retrans timer      = 0
            Prefix Information option
                prefix length      = 64
                L                  = 1
                A                  = 1
                valid Lifetime     = 2592000
                preferred lifetime = 604800
                prefix             = 3ffe:501:ffff:100::


JUDGEMENT

[Judgment #1] The RUT must transmit valid Router Advertisements that satisfy all of the following validity checks:
- IP Source Address is a link-local address.
- The IP Hop Limit field has a value of 255, i.e., the packet could not possibly have been forwarded by a router.
- If the message includes an IP Authentication Header, the message authenticates correctly.
- ICMP Checksum is valid.
- ICMP Code is 0.
- ICMP length (derived from the IP length) is 16 or more octets.
- All included options have a length that is greater than zero.


CLEANUP

The Cleanup procedure should cause the NUT to transition Neighbor Cache entries created in this test to state INCOMPLETE and remove any entries from its Default Router and Prefix Lists.
   TN1     RUT
    |       |
    |       * Ceasing to be an advertising interface
    |       |
    |   <-- | RA (multicast)
    |   <-- | RA (multicast)
    |   <-- | RA (multicast)
    |       |
    V       V

1. Ceasing to be an advertising interface
2. Observe RA
        RA message format #1
            IPv6 header
                hop limit          = 255
                source             = RUT (link-local)
                destination        = all-nodes multicast address
            RA
                cur hop limit      = 64
                M                  = 0
                O                  = 0
                router lifetime    = 0
                reachable time     = 0
                retrans timer      = 0
            SLL option
            Prefix Information option
                prefix length      = 64
                L                  = 1
                A                  = 1
                valid Lifetime     = 2592000
                preferred lifetime = 604800
                prefix             = 3ffe:501:ffff:100::
        RA message format #2
            IPv6 header
                hop limit          = 255
                source             = RUT (link-local)
                destination        = all-nodes multicast address
            RA
                cur hop limit      = 64
                M                  = 0
                O                  = 0
                router lifetime    = 0
                reachable time     = 0
                retrans timer      = 0
            Prefix Information option
                prefix length      = 64
                L                  = 1
                A                  = 1
                valid Lifetime     = 2592000
                preferred lifetime = 604800
                prefix             = 3ffe:501:ffff:100::


REFERENCE

RFC 2461 - Neighbor Discovery for IPv6