NAME

v6LC_2_2_7_C: Sending Unsolicited RA (Min Values)


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
    |       |
    |   <-- | RA (multicast) [Judgment #1]
    |       |
    V       V

1. Configure Interface A on the RUT to be an advertising interface with the following values:
MaxRtrAdvInterval4
MinRtrAdvInterval3
AdvCurHopLimit0
AdvManagedFlag&AdvOtherConfigFlagFalse
AdvDefaultLifetime0 (min value)
AdvReachableTime0 (min value)
AdvRetransTimer0 (min value)
AdvOnlinkFlag&Amp;dvAutonomousFlagFalse
AdvValidLifetime0
AdvPerferredLifetime0
AdvLinkMTU0
2. Observe the packets transmitted by the RUT on Interface A.
        RA message format #1
            IPv6 header
                hop limit          = 255
                source             = RUT (link-local)
                destination        = all-nodes multicast address
            RA
                cur hop limit      = 0
                M                  = 0
                O                  = 0
                router lifetime    = 0
                reachable time     = 0
                retrans timer      = 0
            SLL option
            Prefix Information option
                prefix length      = 64
                L                  = 0
                A                  = 0
                valid Lifetime     = 0 
                preferred lifetime = 0
                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      = 0
                M                  = 0
                O                  = 0
                router lifetime    = 0
                reachable time     = 0
                retrans timer      = 0
            Prefix Information option
                prefix length      = 64
                L                  = 0
                A                  = 0
                valid Lifetime     = 0
                preferred lifetime = 0
                prefix             = 3ffe:501:ffff:100::


JUDGEMENT

[Judgment #1] The RUT should transmit the Router Advertisements with the same values as configured.


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      = 0
                M                  = 0
                O                  = 0
                router lifetime    = 0
                reachable time     = 0
                retrans timer      = 0
            SLL option
            Prefix Information option
                prefix length      = 64
                L                  = 0
                A                  = 0
                valid Lifetime     = 0
                preferred lifetime = 0
                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      = 0
                M                  = 0
                O                  = 0
                router lifetime    = 0
                reachable time     = 0
                retrans timer      = 0
            Prefix Information option
                prefix length      = 64
                L                  = 0
                A                  = 0
                valid Lifetime     = 0
                preferred lifetime = 0
                prefix             = 3ffe:501:ffff:100::


REFERENCE

RFC 2461 - Neighbor Discovery for IPv6