You are adding IPv6 to an existing IPv4 network running OSPF. Your plan is to use OSPFv3 to route both IPv4 and IPv6 prefixes.
Which configuration will enable OSPFv3 to advertise prefixes for both IPv4 and IPv6?
Click on the arrows to vote for the correct answer
A. B. C. D.A
By default, OSPFv3 supports unicast IPv6 routes, but you can configure OSPFv3 to support multiple address families. To support an address family other than unicast IPv6, you configure a realm that allows OSPFv3 to advertise IPv4 unicast, IPv4 multicast, or IPv6 multicast routes.
Example of a configuration which support both Ipv4 and Ipv6 prefixes: user@host# show protocols ospf3 realm ipv4-unicast { area 0.0.0.0 { interface fe-0/1/0.0;
}
}
area 0.0.0.0 {
interface fe-0/1/0.0;
}
http://www.juniper.net/documentation/en_US/junos15.1/topics/topic-map/ospfv3-multiple-address-families.htmlTo enable OSPFv3 to advertise prefixes for both IPv4 and IPv6, we need to configure OSPFv3 to support both address families. OSPFv3 supports two address families - IPv6 unicast and IPv4 unicast. We can enable OSPFv3 to support both address families by configuring the appropriate parameters.
Looking at the given options:
Option A:
kotlinuser@host# show protocols ospf3 realm ipv4-unicast { area 0.0.0.0 { interface ge-0/0/0.0; } } area 0.0.0.0 { interface ge-0/0/0.0; }
This configuration specifies the realm as IPv4-unicast, which means OSPFv3 will only advertise IPv4 prefixes. Therefore, this option is incorrect.
Option B:
graphqluser@host# show protocols ospf3 export ipv4; area 0.0.0.0 { interface ge-0/0/0.0; }
This configuration exports IPv4 prefixes to OSPFv3, but it does not enable OSPFv3 to advertise IPv6 prefixes. Therefore, this option is incorrect.
Option C:
graphqluser@host# show protocols ospf area 0.0.0.0 { interface ge-0/0/0.0; } user@host# show protocols ospf3 area 0.0.0.0 { interface ge-0/0/0.0; }
This configuration specifies OSPF for IPv4 and OSPFv3 for IPv6. It configures OSPFv3 to advertise IPv6 prefixes and OSPF to advertise IPv4 prefixes. This is the correct configuration, as it enables OSPFv3 to support both IPv4 and IPv6 address families.
Option D:
sqluser@host# show protocols ospf3 rib-group inet.0; area 0.0.0.0 { interface ge-0/0/0.0; }
This configuration specifies a RIB-group for OSPFv3 to advertise IPv4 prefixes. However, it does not enable OSPFv3 to advertise IPv6 prefixes. Therefore, this option is incorrect.
Therefore, the correct answer is option C.