Ip – Same IP addresses with different CIDR notations, is it possible

ipip addressipv4

Can we have exactly same IP addresses with different CIDR notations? Example:

194.24.0.20/20
194.24.0.20/21
194.24.0.20/16
194.24.0.20/24
194.24.0.20/29
194.24.0.20/15
And so on...

How will it effect routing?

Best Answer

Subnets are for routing tables for longest prefix match. But an IP packet in itself has no notion of subnets. so you cannot assign same IP addresses with different subnets.