NAME

RA w/ Preference=LOW:Lifetime=T1, Route Information Option(Link1:Preference=LOW:Lifetime=T1) vs. 
RA w/ Preference=HIGH:Lifetime=T1, Route Information Option(Link1:Preference=HIGH:Lifetime=T2)
T1 > T2


TARGET

Host


SYNOPSIS

rtinfo_LOW_HIGH_RTLIFE_EXPIRE.seq [-tooloption ...] -pkt RTINFO.def
-tooloption: v6eval tool option


TOPOLOGY

                                     HOST2
                                       |
            ---------------+-----------+--- Link2
                           |
                          RT3        HOST1
                           |           |
            -------+-------+-------+---+--- Link1
                   |               |
                   RT2            RT1
                   |               |
            -------+-------+-------+------- Link0
                           |
                          NUT
Link0 global 3ffe:501:ffff:100::/64 Testing link
Link1 global 3ffe:501:ffff:101::/64 other link
Link2 global 3ffe:501:ffff:102::/64 other link
RT1(Link0) global 3ffe:501:ffff:100::a0a0 Alternative router
link-local fe80::200:ff:fe00:a0a0
ether 00:00:00:00:a0:a0
RT2(Link0) global 3ffe:501:ffff:100::a1a1 Alternative router
link-local fe80::200:ff:fe00:a1a1
ether 00:00:00:00:a1:a1
HOST1 global 3ffe:501:ffff:101::1 Host on Link1
HOST2 global >3ffe:501:ffff:102::1 Host on Link2


INITIALIZATION

Flush Default Router List
Flush Routing Table
Flush Neighbor Cache
Flush Prefix List


TEST PROCEDURE

NUT              RT1              RT2    HOST1  HOST2
 |                |                |       |       |
 ====================(INITIALIZE)===================
 |                |                |       |       |
 |    Link1Life=T1|                |       |       |
 |   Link1Pref=LOW|                |       |       |
 |      RTRLife=T1|                |       |       |
 |        Pref=LOW|                |       |       |
 |<---------------+                |       |       | RA from RT1
 |                |    Link1Life=T2|       |       |
 |                |  Link1Pref=HIGH|       |       |
 |                |      RTRLife=T1|       |       |
 |                |       Pref=HIGH|       |       |
 |<--------------------------------+       |       | RA from RT2
 |                |                |       |       |
 |<---------------#------------------------+       | Echo Request (via RT1)
 +---------------------------------#------>|       | Echo Reply   (via RT2)(*1)
 |                |                |       |       |
 |<---------------#--------------------------------+ Echo Request (via RT1)
 +---------------------------------#-------------->| Echo Reply   (via RT2)(*2)
 |                |                |       |       |
        (Wait for expiration of T2)
 |                |                |       |       |
 |<---------------#------------------------+       | Echo Request (via RT1)
 +----------------#----------------------->|       | Echo Reply   (via RT1)(*3)
 |                |                |       |       |
 |<---------------#--------------------------------+ Echo Request (via RT1)
 +---------------------------------#-------------->| Echo Reply   (via RT2)(*4)
 |                |                |       |       |
 ====================(INITIALIZE)===================
 |                |                |       |       |
 |    Link1Life=T2|                |       |       |
 |  Link1Pref=HIGH|                |       |       |
 |      RTRLife=T1|                |       |       |
 |       Pref=HIGH|                |       |       |
 |<---------------+                |       |       | RA from RT1
 |                |    Link1Life=T1|       |       |
 |                |   Link1Pref=LOW|       |       |
 |                |      RTRLife=T1|       |       |
 |                |        Pref=LOW|       |       |
 |<--------------------------------+       |       | RA from RT2
 |                |                |       |       |
 |<---------------#------------------------+       | Echo Request (via RT1)
 +----------------#----------------------->|       | Echo Reply   (via RT1)(*5)
 |                |                |       |       |
 |<---------------#--------------------------------+ Echo Request (via RT1)
 +----------------#------------------------------->| Echo Reply   (via RT1)(*6)
 |                |                |       |       |
        (Wait for expiration of T2)
 |                |                |       |       |
 |<---------------#------------------------+       | Echo Request (via RT1)
 +---------------------------------#------>|       | Echo Reply   (via RT2)(*7)
 |                |                |       |       |
 |<---------------#--------------------------------+ Echo Request (via RT1)
 +----------------#------------------------------->| Echo Reply   (via RT1)(*8)
 |                |                |       |       |
(NOTIFICATION)  T1>T2

(INITIALIZATION)
1. RT1 Sends RA w/ Preference=LOW:Lifetime=T1, RouteInfoOption(Link1:Preference=LOW:Lifetime=T1)
2. RT2 Sends RA w/ Preference=HIGH:Lifetime=T1, RouteInfoOption(Link1:Preference=HIGH:Lifetime=T2)
3. HOST1 Sends Echo Request
4. NUT Sends Echo Reply to HOST1 via RT2(*1)
5. HOST2 Sends Echo Request
6. NUT Sends Echo Reply to HOST2 via RT2(*2)
(Wait for expiration of T2)
7. HOST1 Sends Echo Request
8. NUT Sends Echo Reply to HOST1 via RT1(*3)
9. HOST2 Sends Echo Request
10. NUT Sends Echo Reply to HOST2 via RT2(*4)
(INITIALIZATION)
11. RT1 Sends RA w/ Preference=HIGH:Lifetime=T1, RouteInfoOption(Link1:Preference=HIGH:Lifetime=T2)
12. RT2 Sends RA w/ Preference=LOW:Lifetime=T1, RouteInfoOption(Link1:Preference=LOW:Lifetime=T1)
13. HOST1 Sends Echo Request
14. NUT Sends Echo Reply to HOST1 via RT1(*5)
15. HOST2 Sends Echo Request
16. NUT Sends Echo Reply to HOST2 via RT1(*6)
1(Wait for expiration of T2)
17. HOST1 Sends Echo Request
18. NUT Sends Echo Reply to HOST1 via RT2(*7)
19. HOST2 Sends Echo Request
20. NUT Sends Echo Reply to HOST2 via RT1(*8)


JUDGEMENT

(*1)
    PASS: HOST1 receives Echo Reply via RT2
(*2)
    PASS: HOST2 receives Echo Reply via RT2
(*3)
    PASS: HOST1 receives Echo Reply via RT1
(*4)
    PASS: HOST2 receives Echo Reply via RT2
(*5)
    PASS: HOST1 receives Echo Reply via RT1
(*6)
    PASS: HOST2 receives Echo Reply via RT1
(*7)
    PASS: HOST1 receives Echo Reply via RT2
(*8)
    PASS: HOST2 receives Echo Reply via RT1


SEE ALSO

ROUTE.pm
RTINFO.def