# NAME

RA w/ Preference=MED vs. RA w/ Preference=MED

# TARGET

    Host

# SYNOPSIS

    Def_MED_MED.seq [-tooloption ...] -pkt ROUTE.def

>     -tooloption: v6eval tool option

# TOPOLOGY

>                                          HOST10
>                                            |
>                 ---------------+-----------+--- Link10
>                                |
>                               RT11       HOST9
>                                |           |
>                 -------+-------+-----------+--- Link9
>                        |
>                        :
>                     (SNIP)
>                        :                 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`
> `Link3` | `global` | `3ffe:501:ffff:103::/64` | `other link`
> `Link4` | `global` | `3ffe:501:ffff:104::/64` | `other link`
> `Link5` | `global` | `3ffe:501:ffff:105::/64` | `other link`
> `Link6` | `global` | `3ffe:501:ffff:106::/64` | `other link`
> `Link7` | `global` | `3ffe:501:ffff:107::/64` | `other link`
> `Link8` | `global` | `3ffe:501:ffff:108::/64` | `other link`
> `Link9` | `global` | `3ffe:501:ffff:109::/64` | `other link`
> `Link10` | `global` | `3ffe:501:ffff:110::/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`
> `RT3~11` | `.....` | `no data is required` | `.....`
> `HOST1` | `global` | `3ffe:501:ffff:101::1` | `Host on Link1`
> `HOST2` | `global` | `3ffe:501:ffff:102::1` | `Host on Link2`
> `HOST3` | `global` | `3ffe:501:ffff:103::1` | `Host on Link3`
> `HOST4` | `global` | `3ffe:501:ffff:104::1` | `Host on Link4`
> `HOST5` | `global` | `3ffe:501:ffff:105::1` | `Host on Link5`
> `HOST6` | `global` | `3ffe:501:ffff:106::1` | `Host on Link6`
> `HOST7` | `global` | `3ffe:501:ffff:107::1` | `Host on Link7`
> `HOST8` | `global` | `3ffe:501:ffff:108::1` | `Host on Link8`
> `HOST9` | `global` | `3ffe:501:ffff:109::1` | `Host on Link9`
> `HOST10` | `global` | `3ffe:501:ffff:110::1` | `Host on Link10`

# INITIALIZATION

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

# TEST PROCEDURE

>     NUT         RT1         RT2    HOST[1~10]
>      |           |           |       |
>      ===========(INITIALIZE)===========
>      |           |           |       |
>      |   Pref=MED|           |       |
>      |<----------+           |       | RA from RT1
>      |           |   Pref=MED|       |
>      |<----------------------+       | RA from RT2
>      |           |           |       |
>      |<----------#-------------------+ Echo Request from HOST1(via RT1)
>      +----------(#)---------(#)----->| Echo Reply   to   HOST1(via RT1 or RT2)(*1)
>      |           |           |       |
>      |<----------#-------------------+ Echo Request from HOST2(via RT1)
>      +----------(#)---------(#)----->| Echo Reply   to   HOST2(via RT1 or RT2)(*2)
>      |           |           |       |
>      |<----------#-------------------+ Echo Request from HOST3(via RT1)
>      +----------(#)---------(#)----->| Echo Reply   to   HOST3(via RT1 or RT2)(*3)
>      |           |           |       |
>      |<----------#-------------------+ Echo Request from HOST4(via RT1)
>      +----------(#)---------(#)----->| Echo Reply   to   HOST4(via RT1 or RT2)(*4)
>      |           |           |       |
>      |<----------#-------------------+ Echo Request from HOST5(via RT1)
>      +----------(#)---------(#)----->| Echo Reply   to   HOST5(via RT1 or RT2)(*5)
>      |           |           |       |
>      |<----------#-------------------+ Echo Request from HOST6(via RT1)
>      +----------(#)---------(#)----->| Echo Reply   to   HOST6(via RT1 or RT2)(*6)
>      |           |           |       |
>      |<----------#-------------------+ Echo Request from HOST7(via RT1)
>      +----------(#)---------(#)----->| Echo Reply   to   HOST7(via RT1 or RT2)(*7)
>      |           |           |       |
>      |<----------#-------------------+ Echo Request from HOST8(via RT1)
>      +----------(#)---------(#)----->| Echo Reply   to   HOST8(via RT1 or RT2)(*8)
>      |           |           |       |
>      |<----------#-------------------+ Echo Request from HOST9(via RT1)
>      +----------(#)---------(#)----->| Echo Reply   to   HOST9(via RT1 or RT2)(*9)
>      |           |           |       |
>      |<----------#-------------------+ Echo Request from HOST10(via RT1)
>      +----------(#)---------(#)----->| Echo Reply   to   HOST10(via RT1 or RT2)(*10)
>      |           |           |       |
>      |           |           |       | Check the ratio RT1:RT2(*11)

    (INITIALIZATION)
    1. RT1 Sends RA w/ Preference=MED
    2. RT2 Sends RA w/ Preference=MED
    3. HOST1 Sends Echo Request
    4. NUT Sends Echo Reply to HOST1 via RT1 or RT2(*1)
    5. HOST2 Sends Echo Request
    6. NUT Sends Echo Reply to HOST2 via RT1 or RT2(*2)
    7. HOST3 Sends Echo Request
    8. NUT Sends Echo Reply to HOST3 via RT1 or RT2(*3)
    9. HOST4 Sends Echo Request
    10. NUT Sends Echo Reply to HOST4 via RT1 or RT2(*4)
    11. HOST5 Sends Echo Request
    12. NUT Sends Echo Reply to HOST5 via RT1 or RT2(*5)
    13. HOST6 Sends Echo Request
    14. NUT Sends Echo Reply to HOST6 via RT1 or RT2(*6)
    15. HOST7 Sends Echo Request
    16. NUT Sends Echo Reply to HOST7 via RT1 or RT2(*7)
    17. HOST8 Sends Echo Request
    18. NUT Sends Echo Reply to HOST8 via RT1 or RT2(*8)
    19. HOST9 Sends Echo Request
    20. NUT Sends Echo Reply to HOST9 via RT1 or RT2(*9)
    21. HOST10 Sends Echo Request
    22. NUT Sends Echo Reply to HOST10 via RT1 or RT2(*10)
    23. Check the ratio RT1:RT2(*11)

# JUDGEMENT

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

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

    (*3)
        PASS: HOST3 receives Echo Reply via RT1 or RT2

    (*4)
        PASS: HOST4 receives Echo Reply via RT1 or RT2

    (*5)
        PASS: HOST5 receives Echo Reply via RT1 or RT2

    (*6)
        PASS: HOST6 receives Echo Reply via RT1 or RT2

    (*7)
        PASS: HOST7 receives Echo Reply via RT1 or RT2

    (*8)
        PASS: HOST8 receives Echo Reply via RT1 or RT2

    (*9)
        PASS: HOST9 receives Echo Reply via RT1 or RT2

    (*10)
        PASS: HOST10 receives Echo Reply via RT1 or RT2

    (*11)
        Number of ICMP Echo Reply via RT1 = RepRT1
        Number of ICMP Echo Reply via RT2 = RepRT2
        PASS: (RepRT1:RepRT2 = n:10-n)  1<=n<=9

# SEE ALSO

    ROUTE.pm
    ROUTE.def