Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Web Design & Development > PHP/MySQL/Scripting

  • Print
  • + Share This
Like this article? We recommend

Configuring IP Addresses

Configuring one or two IP addresses is pretty manageable—we all do this on our own machines. But when you have to attach a range of IP addresses to a set of interfaces, the process can get complex. Let’s assume that you have two links to which you want to attach the following IP address ranges:

  • Link 1 supports eight IP addresses from to
  • Link 2 supports four IP addresses from to

At this point, you’d have to figure out the IP address ranges and write some scripts to assign them to the interfaces as required. This is our problem definition—how to write some C++ code that will help in automating the assignment of IP addresses to network links.

  • + Share This
  • 🔖 Save To Your Account