When you subnet for example the ip 154.2.13.5/20 what if there is someone that owns the ip address 154.2.8.6 ? My confusion comes from the fact that I dont know how IANA, RIPE and the others give IPs. Do they only give class C addresses or if they give class B how are they making sure that there isn't someone else that might be using an IP address in the range that they gave away ?
1 Answer
Once more: Clasful networking is dead Please don't use Class-A, B, C, D, E outside the correct historical context.
IP address distribution works like this:
IANA -> RIR (e.g. RIPE) -> LIR (Provider) -> Customer
IANA -> RIR (e.g. RIPE) -> Customer (PI)
RIR: Regional Internet Registry (ARIN, ARIN, APNIC, LANIC, AfriNIC)
LIR: Local Internet Registry
PI: Provider Independent
Currently RIPE only hands out /22 networks to new members or existing members (if they ask for one). This will work as long as they have free networks left.You can't get IPv4 PI from RIPE anymore.
When you provider gives you a network he has to take care that there are no overlaps and collisions with other customer (or internal) networks. So if you provider is doing is job you can subnet your networks as you like, there will be no overlaps with other customers.
-
One more thing. If I get 45.115.99.25/22 and someone has 45.115.99.25/17 isn't that still a collision ? I mean if i want my server to be at 45.115.99.25 how would the computer know where to go ? Sep 11, 2015 at 8:33
-
45.115.99.25/22 is a host address not a network address. As is 45.115.99.25/17. Just the netmasks are different. 45.115.96.0/22 is part of 45.115.0.0/17. So if nobody makes a mistake there are no collisions.– user2084Sep 11, 2015 at 8:44