NAME

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


TARGET

Host


SYNOPSIS

rtinfo_RTRLIFE_lt_RTLIFE.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)===================
 |                |                |       |       |
 |      RTRLife=T1|                |       |       |
 |        Pref=MED|                |       |       |
 |<---------------+                |       |       | RA from RT1
 |                |  LinkANYLife=T1|       |       |
 |                |LinkANYPref=HIGH|       |       |
 |                |      RTRLife=T2|       |       |
 |                |        Pref=LOW|       |       |
 |<--------------------------------+       |       | RA from RT2
 |                |                |       |       |
 |<---------------#------------------------+       | Echo Request (via RT1)
 +---------------------------------#------>|       | Echo Reply   (via RT2)(*1)
 |                |                |       |       |
 |<---------------#--------------------------------+ Echo Request (via RT1)
 +---------------------------------#-------------->| Echo Reply   (via RT2)(*2)
 |                |                |       |       |
               (Wait for expiration T2)
 |                |                |       |       |
 |<---------------#------------------------+       | Echo Request (via RT1)
 +---------------------------------#------>|       | Echo Reply   (via RT2)(*3)
 |                |                |       |       |
 |<---------------#--------------------------------+ Echo Request (via RT1)
 +---------------------------------#-------------->| Echo Reply   (via RT2)(*4)
 |                |                |       |       |
 ====================(INITIALIZE)===================
 |                |                |       |       |
 |  LinkANYLife=T1|                |       |       |
 |LinkANYPref=HIGH|                |       |       |
 |      RTRLife=T2|                |       |       |
 |        Pref=LOW|                |       |       |
 |<---------------+                |       |       | RA from RT1
 |                |      RTRLife=T1|       |       |
 |                |        Pref=MED|       |       |
 |<--------------------------------+       |       | RA from RT2
 |                |                |       |       |
 |<---------------#------------------------+       | Echo Request (via RT1)
 +----------------#----------------------->|       | Echo Reply   (via RT1)(*5)
 |                |                |       |       |
 |<---------------#--------------------------------+ Echo Request (via RT1)
 +----------------#------------------------------->| Echo Reply   (via RT1)(*6)
 |                |                |       |       |
               (Wait for expiration T2)
 |                |                |       |       |
 |<---------------#------------------------+       | Echo Request (via RT1)
 +----------------#----------------------->|       | Echo Reply   (via RT1)(*7)
 |                |                |       |       |
 |<---------------#--------------------------------+ Echo Request (via RT1)
 +----------------#------------------------------->| Echo Reply   (via RT1)(*8)
 |                |                |       |       |
(NOTIFICATION)  T1>T2

(INITIALIZATION)
1. RT1 Sends RA w/ Preference=MED:Lifetime=T1
2. RT2 Sends RA w/ Preference=LOW:Lifetime=T1, RouteInfoOption(LinkANY: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 RT2(*3)
9. HOST2 Sends Echo Request
10. NUT Sends Echo Reply to HOST2 via RT2(*4)
(INITIALIZATION)
11. RT1 Sends RA w/ Preference=LOW:Lifetime=T1, RouteInfoOption(LinkANY:Preference=HIGH:Lifetime=T2)
12. RT2 Sends RA w/ Preference=MED: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 RT1(*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 RT1
(*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 RT2


SEE ALSO

ROUTE.pm
RTINFO.def