Let's say there is a router to the internet and a router separates your network from others within a data center.

When the data center provided gives you IP addresses, do they just take a [set] of IPs they own and enter a route in their router to your router?

migrated from stackoverflow.com Jan 17 '12 at 17:40

This question came from our site for professional and enthusiast programmers.

  • firewall != router. The answer is it depends what you mean by assigned - you might want to look at BGP – Flexo Jan 17 '12 at 16:12
  • assigned, allocated, given access to use. – Spechal Jan 17 '12 at 16:23
  • there are different ways that addresses may be assigned, for instance PI space is likely to need to be handled differently and it depends on the provider's local policies too. – Flexo Jan 17 '12 at 16:27
  • Please clarify your question – lostinplace Jan 17 '12 at 17:36
  • 1
    I'm not completely sure what your question is. The simple answer is 'yes', but I get the feeling you're looking for something else. Ask that question. – Aaron Jan 17 '12 at 18:25

IP Addresses are issued from a central authority, the Internet Assigned Numbers Authority. This organization handles centralized numbering for many internet resources, including registering port numbers for services and also keeping track of internet-related numbers such as ISN/ITADs for Telephony routing over IP (Current List of registered ITADs.) Various organizations across the globe, called Regional Internet Registries (RIR's) make requests of the IANA to receive IP address space that they can then allocate to ISP's and end-users.

When you or your ISP make a request for IP address space from an RIR, the RIR officially allocates the IP address space to you or your ISP, at which point the registered organization would send a BGP advertisement for that registered IP space to their ASN. Once this has been completed, the internet has now been notified (after a brief period where BGP synchronizes) that those IP addresses are transiting to a particular location.

At this point, the IP traffic is traversing to the router where the BGP advertisements are occuring. From this point, if the operator is an ISP, they would then route you whatever IP space you requested through your existing links. If you are the operator, rather than the ISP, it would be your choice how that IP space was routed after it hit your edge router running BGP.


The general answer to your question is "yes", assuming they're assigning IP addresses to you that they are already routing on their own network. Typically, they add the route only on the router that faces you, directing the IP block they just assigned you either to the interface that connects to you or to the IP address assigned to your side of your link to them. Their interior routing protocol takes care of the rest, propagating that route throughout their own network as far as needed until the covering, aggregate route takes over.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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