• As a network engineer, it is your job to protect your network against the weaknesses inherent in IPv6.
    Let's look at an example of an IPv6 weakness to help you understand the purpose of IPv6 RA Guard.

    Router Solicitation

    In this example, PC1 has just joined the network and sends a Router Solicitation (RS) to the all-routers multicast address FF02::2.

    IPv6 Router Solicitation sent by a host to find its default gateway

    Figure 1 – A host sends a Router Solicitation to find a router

    PC1 already has a link-local address, FE80::1A1:FEA1:A1A1, you can see it as the source of the RS.

    But a link-local address never leaves the segment: to reach the outside, PC1 needs a global address and a default gateway.
    The RS is its way of asking the routers for both.

    Answer the question below

    Which address does a host generate by itself at boot?

    Router Advertisement

    R1 replies with a Router Advertisement (RA) sent to FF02::1, the all-nodes multicast.

    IPv6 Router Advertisement from R1 carrying the prefix used by SLAAC

    Figure 2 – The router replies with a Router Advertisement

    It carries everything the host needs:

    • the network prefix 2001:db8:10::/64, so PC1 can build its own global IPv6 address

    • the MTU to use on this segment

    • R1's link-layer address, so PC1 knows where to send its traffic

    With this prefix, PC1 builds its global address by itself, this mechanism is called SLAAC.
    Both PC1 and PC2 receive the RA, this is how every device on the segment learns its gateway automatically.

    The problem is that this IPv6 mechanism has a vulnerability.
    Nobody checks that it is indeed the default gateway announcing the RA!

    Answer the question below

    To which address is a Router Advertisement sent?

    Rogue RA

    In this example, the Hacker sends the same Router Advertisement (RA) using its own address as the source.

    Rogue IPv6 Router Advertisement sent by an attacker to poison hosts

    Figure 3 – A rogue RA from the Hacker

    Your device believes it, exactly like it believed R1.
    The RA is flooded to the whole segment, so every host now sees the Hacker as its gateway.

    One packet, no authentication, and everyone now routes through the attacker!

    Answer the question below

    Which ICMPv6 message does a router send to give hosts their prefix?