NAME

RA w/ Preference=LOW, RouterLifetime=3600 vs. RA w/ Preference=HIGH, RouterLifetime=20


TARGET

Host


SYNOPSIS

Def_LOW_HIGH_RTRLIFE_EXPIRE.seq [-tooloption ...] -pkt ROUTE.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)===================
 |               |               |       |       |
 |      Pref=LOW |               |       |       |
 |<--------------+               |       |       | RA from RT1
 |               |     Pref=HIGH |       |       |
 |               |     RTRLIFE=20|       |       |
 |<------------------------------+       |       | RA from RT2
 |               |               |       |       |
 |<--------------#-----------------------+       | Echo Request (via RT1)
 +-------------------------------#------>|       | Echo Reply   (via RT2)(*1)
 |               |               |       |       |
 |<--------------#-------------------------------+ Echo Request (via RT1)
 +-------------------------------#-------------->| Echo Reply   (via RT2)(*2)
 |               |               |       |       |
       (Wait to expire RT2's Router Lifetime)
 |               |               |       |       |
 |<--------------#-----------------------+       | Echo Request (via RT1)
 +---------------#---------------------->|       | Echo Reply   (via RT1)(*3)
 |               |               |       |       |
 |<--------------#-------------------------------+ Echo Request (via RT1)
 +---------------#------------------------------>| Echo Reply   (via RT1)(*4)
 |               |               |       |       |
 ==================(INITIALIZE)===================
 |               |               |       |       |
 |     Pref=HIGH |               |       |       |
 |     RTRLIFE=20|               |       |       |
 |<--------------+               |       |       | RA from RT1
 |               |      Pref=LOW |       |       |
 |<------------------------------+       |       | RA from RT2
 |               |               |       |       |
 |<--------------#-----------------------+       | Echo Request (via RT1)
 +---------------#---------------------->|       | Echo Reply   (via RT1)(*5)
 |               |               |       |       |
 |<--------------#-------------------------------+ Echo Request (via RT1)
 +---------------#------------------------------>| Echo Reply   (via RT1)(*6)
 |               |               |       |       |
      (Wait to expire RT1's Router Lifetime)
 |               |               |       |       |
 |<--------------#-----------------------+       | Echo Request (via RT1)
 +-------------------------------#------>|       | Echo Reply   (via RT1)(*7)
 |               |               |       |       |
 |<--------------#-------------------------------+ Echo Request (via RT2)
 +-------------------------------#-------------->| Echo Reply   (via RT2)(*8)
 |               |               |       |       |

(INITIALIZATION)
1. RT1 Sends RA w/ Preference=LOW 
2. RT2 Sends RA w/ Preference=HIGH, RTRLIFE=20
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 to expire RT2's RouterLifetime)
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 RT1(*4)
(INITIALIZATION)
11. RT1 Sends RA w/ Preference=HIGH, RTRLIFE=20
12. RT2 Sends RA w/ Preference=LOW 
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)
(Wait to expire RT2's RouterLifetime)
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 RT2(*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
ROUTE.def