O'Reilly logo

Migrating to IPv6: A Practical Guide to Implementing IPv6 in Mobile and Fixed Networks by Marc Blanchet

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Juniper

JunOS identifies the IPv6 routing information base (RIB) with ‘inet6.X’, instead of ‘inet.X’ for IPv4. The first IPv6 table is named ‘inet6.0’.

Martian Routes

JunOS identifies invalid routes as martians. When received by the router, these routes are discarded. For IPv6, the predefined martians are:

  • the loopback address (::1);
  • the reserved and unassigned prefixes;
  • the link-local unicast prefix (fe80::/16).

To add a martian route, the ‘martians’ statement must be used. In the following example, the unique-local prefix range (any route which starts with fd00::/8 with a prefix length from 8 to 128) is added as a martian route.

routing-options {
  rib inet6.0 {
    martians {
      fd00::/8 orlonger; }
    }
  }
}

Router ID

When the router is an IPv6-only router (ie. where no IPv4 address configuration is provided), a 32 bit router ID is configured with the ‘router-id’ statement. The router ID is used in routing protocols to identify the router. The router-id statement takes an IPv4-formatted 32 bit value as argument. The following example shows the router-id defined for this router as 192.0.2.1.

routing-options {
 router-id 192.0.2.1;
}

Static Routes

To install a static route, use the ‘route’ statement under ‘routing-options rib inet6.0 static’ level. The following example installs the 3ffe:b00:0:3::/64 static route pointing to the 3ffe:b00:0:1::3 next hop.

routing-options {
 rib inet6.0 {
  static {
    route 3ffe:b00:0:3::/64 next-hop 3ffe:b00:0:1::3; }
  }
 }
}

RIP

RIP for IPv6 is configured ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required