[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

Configuring an IPv4 MPLS Tunnel to Carry IPv6 Traffic

To enable IPv6 to be carried over an IPv4 MPLS tunnel, perform the following tasks:

Configuring IPv6 on the Customer and Core-Facing Interfaces

In addition to configuring family inet6 on all the CE-facing interfaces, you must also configure family inet6 on all the core-facing interfaces running MPLS. The router must be able to process any IPv6 packets it receives on these interfaces. You should not see any regular IPv6 traffic arrive on these interfaces, but you will receive MPLS packets tagged with label 2. Even though label 2 MPLS packets are sent in IPv4, these packets are treated as native IPv6 packets.

[edit]
interfaces {
interface-name {
unit unit-number {
family inet6 {
address inet6-address;
}
}
}
}

Configuring MPLS and RSVP from PE Router to PE Router to Create a Tunnel

This guide assumes you already have experience configuring MPLS and RSVP. For more information about these topics, see the JUNOS MPLS Applications Configuration Guide.

Enabling IPv6 Tunneling in MPLS

Enter the ipv6-tunneling option on your PE routers at the [edit protocols mpls] hierarchy level:

[edit]
protocols {
mpls {
ipv6-tunneling;
}
}

Configuring Multiprotocol BGP to Carry IPv6 Traffic

You can specify the family inet6 statement on a per-neighbor, per-group, or global basis. The statement allows BGP to carry IPv6 traffic.

At the appropriate global, group, or neighbor hierarchy level in BGP (shown below), configure the family inet6 statement with the labeled-unicast parameter and the explicit-null option. These additional parameters enable the IPv4 MPLS label to be removed at the destination PE router. The remaining IPv6 packet without a label can then be forwarded to the connected IPv6 network.

[edit protocols bgp] OR
[edit protocols bgp group group-name] OR
[edit protocols bgp group group-name neighbor neighbor-name]
family inet6 {
labeled-unicast {
explicit-null;
}
}

[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]