NAME

V6LC_2_2_7 - Sending Unsolicited Router Advertisements


TARGET

Router


TOPOLOGY

    |
   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>


SETUP

none


TEST PROCEDURE

- Verify that a router sends the first few advertisements (up to MAX_INITIAL_RTR_ADVERTISEMENTS) from an interface when it becomes an advertising interface at an maximum interval value of MAX_INITIAL_RTR_ADVERT_INTERVAL (16) seconds.
   TN1     RUT
    |       |
    |       * Configure Interface A on the RUT to be an advertising interface with a MinRtrAdvInterval of 5 seconds and a MaxRtrInterval of 10 seconds.
    |       |
    |   <-- | RA (multicast)
    |   <-- | RA (multicast)
    |   <-- | RA (multicast) [Judgment #1]
    |   <-- | RA (multicast)
    |   <-- | RA (multicast)
    |   <-- | RA (multicast) [Judgment #2]
    |       |
    V       V

1. Configure Interface A on the RUT to be an advertising interface with a MinRtrAdvInterval of 5 seconds and a MaxRtrInterval of 10 seconds.
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    = 30
                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    = 30
                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 should transmit the first MAX_INITIAL_RTR_ADVERTISEMENTS (3) at randomly chosen intervals of no greater than MAX_INITIAL_RTR_ADVERT_INTERVAL (16) seconds.
[Judgment #2] The RUT should transmit the following consecutive Router Advertisements at randomly chosen intervals between the interface's configured MinRtrAdvInterval (5) and MaxRtrAdvInterval (10) seconds, and it MUST NOT transmit Router Advertisements more frequently than indicated by MinRtrAdvInterval (5) seconds.


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