Choosing an IP Address

Now that we know the range of addresses that are available, does it matter which one we use? Well, that depends upon how the systems are connected, as we hinted at earlier. The reason is that every system directly connected to a public network (such as the Internet) must have an individual IP address that doesn't conflict with any other. Some companies simply pick a range at random; others may use one they know belongs to someone else, safe in the knowledge that the two will never clash (always a dangerous practice!).

Both these methods are fine in theory, but problems can occur if, for example, someone connects the system and forgets to alter its address. Another method is to use a “reserved” address.

Reserved Addresses

A number of addresses have been reserved for use in private networks where the systems will not be directly connected to an external network. However, they do carry some restrictions; for example, any routers that receive packets from one should reject them without producing errors and shouldn't propagate the private address information around the network. This ensures that anyone can use these, safe in the knowledge that should a system be accidentally connected to a public network, it won't cause any problems to anyone else.

The reserved addresses are shown in Table 11.8 and are displayed in CIDR format. The recommended method for choosing an address range to use is to simply select one at random.

Table 11.8. Reserved Addresses for Private Networks
AddressEquivalent ClassNumber of SubnetsAddress RangeMax Number of Available Addresses
10.0.0.0/8A110.0.0.0–10.255.255.25516,777,214
172.16.0.0/12B16172.16.0.0–172.31.255.2551,048,574
192.168.0.0/16C256192.168.0.0–192.168.255.25565,534

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset