2

I have seen some network configuration files where a single interface is assigned with two different but similar ipv6 addresses, what is the significance of it,

ex :

interface te 0/1/0/10
 ipv6 enable
 ipv6 address 24**:x:x:x:0:x:x:x/127
 ipv6 address 24**:x:x:x:1:x:x:x/127
end
3

IPv6 allows, and often requires, multiple addresses on the same interface. The is more difficult in IPv4, although not always impossible.

What it means is that a host configured with multiple addresses on a single interface will receive traffic destined for any of those addresses. From the perspective of a layer-4 protocol, e.g. TCP, the host can have separate connections using the same TCP address (port) on the same interface because the IP addresses are different.

There are many reasons that this may be configured. If the networks are different, then someone may want the host to serve different networks, e.g. DHCP. If the networks are the same, then it may be due to the obfuscation of IP addressing by Privacy Extensions and Random Addressing that many OSes now employ.

With Cisco, to use multiple IPv4 networks on the same router interface, you must use secondary addressing, and this has some routing protocol limitations. With IPv6, you can simply assign different networks to the same interface, and the routing protocols will work with them all. This doesn't replace the subinterface concept that is often used for VLANs because the different networks will all be on the same layer-2 broadcast domain.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.