NAME

RA w/ Preference=MED, Route Information Option(Link1:Preference=MED:PrefixLen=64) vs.
RA w/ Preference=LOW, Route Information Option (Link1:Preference=LOW:PrefixLen=96) 


TARGET

Host


SYNOPSIS

rtinfo_64_LOW96.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
 |                  |                  |      |
 =====================(INITIALIZE)=============
 |                  |                  |      |
 | Link1PrefixLen=96|                  |      |
 |     Link1Pref=LOW|                  |      |
 |          Pref=LOW|                  |      |
 |<-----------------+                  |      | RA from RT1
 |                  | Link1PrefixLen=64|      |
 |                  |     Link1Pref=MED|      |
 |                  |          Pref=MED|      |
 |<------------------------------------+      | RA from RT2
 |                  |                  |      |
 |<-----------------#-------------------------+ Echo Request(via RT1)
 +------------------#------------------------>| Echo Reply  (via RT1)(*1)
 |                  |                  |      |
 |                  |                  |      |
 =====================(INITIALIZE)=============
 |                  |                  |      |
 | Link1PrefixLen=64|                  |      |
 |     Link1Pref=MED|                  |      |
 |          Pref=MED|                  |      |
 |<-----------------+                  |      | RA from RT1
 |                  | Link1PrefixLen=96|      |
 |                  |     Link1Pref=LOW|      |
 |                  |          Pref=LOW|      |
 |<------------------------------------+      | RA from RT2
 |                  |                  |      |
 |<-----------------#-------------------------+ Echo Request(via RT1)
 +-------------------------------------#----->| Echo Reply  (via RT2)(*2)
 |                  |                  |      |
 |                  |                  |      |

(INITIALIZATION)
1. RT1 Sends RA w/ Preference=LOW, RouteInfoOption(Link1:PrefixLen=96:Preference=LOW)
2. RT2 Sends RA w/ Preference=MED, RouteInfoOption(Link1:PrefixLen=64:Preference=MED)
3. HOST1 Sends Echo Request
4. NUT Sends Echo Reply to HOST1 via RT1(*1)
(INITIALIZATION)
5. RT1 Sends RA w/ Preference=MED, RouteInfoOption(Link1:PrefixLen=64:Preference=MED)
6. RT2 Sends RA w/ Preference=LOW, RouteInfoOption(Link1:PrefixLen=96:Preference=LOW)
7. HOST1 Sends Echo Request
8. NUT Sends Echo Reply to HOST1 via RT2(*2)

[NOTIFICATION]
LinkANY=(::/0)


JUDGEMENT

(*1)
    PASS: HOST1 receives Echo Reply via RT1
(*2)
    PASS: HOST2 receives Echo Reply via RT2


SEE ALSO

ROUTE.pm
RTINFO.def