cOS Stream allows the creation of IPv6 address objects in the address book which contain embedded IPv4 addresses. These IPv6 addresses can then be used anywhere in cOS Stream configuration where a normal IPv6 address would be used.
Embedding means that IPv6 addresses can be used on an IPv4 routing infrastructure that supports IPv6 tunneling.
Example 5.11. Adding an IPv6 Address with Embedded IPv4
This example adds two IPv6 addresses with the prefix 2001:db8::/32 (the documentation prefix) to the address book. The first has has the embedded IPv4 network 203.0.113.0/24 and the second has the embedded host address 2013.0.113.10.
Command-Line Interface
System:/>
add Address IPAddress my_mixed_net Address=2001:db8::203.0.113.0/120
Next, add the IPv6 address 2013.0.113.10 from this network:
System:/>
add Address IPAddress my_mixed_addr Address=2001:db8::203.0.113.10
Specifying an IPv4 Mapped IPv6 Address
When IPv4 embedding is used, cOS Stream creates an IPv4 compatible IPv6 address object which consists of 96 zeros followed by the IPv4 address and this address type should be used as the addresses for IPv6 capable network devices.However, if a network device is not IPv6 capable then it should have an IPv4 mapped IPv6 address which consists of 80 zeros followed by 16 ones followed by the IPv4 address. These preceding 16 ones for this type of address must be explicitly specified when creating the address object in cOS Stream. For example, by specifying the embedded IPv4 address 203.0.113.10 as 2001:db8::ffff:203.0.113.10.