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;
- }
- }
- }