Configuring IPv6 BGP Routes over IPv4 Transport

You can export both IPv6 and IPv4 prefixes over an IPv4 connection where both sides are configured with an IPv4 interface. In this case, the BGP neighbors are IPv4 prefixes. The IPv4-compatible IPv6 prefixes are configured on the interfaces to preclude the configuration of static routes.

Keep the following in mind when exporting IPv6 BGP prefixes:

Example: Configuring IPv6 BGP Routes over IPv4 Transport

Configure IPv4 transport from interface ge-0/1/0 with an IPv4 prefix 11.19.1.2/24 to interface ge-1/1/1 with an IPv4 prefix 11.19.1.1/24 to carry IPv6 BGP routes.

Define IPv4 and IPv6 BGP groups for 11.19.1.2 with BGP neighbor 11.19.1.1:

[edit protocols]bgp {group ebgp_both {type external;local-address 11.19.1.2;family inet {unicast;}family inet6 {unicast;}peer-as 1;neighbor 11.19.1.1;}}

Configure the interfaces with both an IPv4 and a corresponding IPv4-compatible IPv6 prefix:

[edit interfaces]ge-0/1/0 {unit 0 {family inet {address 11.19.1.2/24;}family inet6 {address ::11.19.1.2/126;}}}