Home > Ask the Networking Experts > Networking fundamentals Questions & Answers > Can you assign an IP address ending in .0 or .255?
Ask The Networking Expert: Questions & Answers
EMAIL THIS

Can you assign an IP address ending in .0 or .255?

Chris Partsenidis EXPERT RESPONSE FROM: Chris Partsenidis

Pose a Question
Other Networking Categories
Meet all Networking Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 11 January 2005
Can you assign an IP address ending in .0 or .255?


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Networking fundamentals
VLANs versus IP subnets: Why use a VLAN over IP subnetting?
Difference between circuit-switching and packet-switching in examples
Can Network Address Translation work without static IP addresses?
Can building T3 lines using satellite be cheaper than a carriers'?
Can IP addresses of LANs that make up a WAN be the same?
How each wireless technology differs: Wi-Fi, WiMax and WLANs
Do multiple router interfaces affect the amount of IP addresses?
How can I prevent collisions on my network?
What makes a WAN different from a LAN and MAN?
The difference between half-duplex and full-duplex

LANs (Local Area Networks)
Testing LAN switch power consumption: A best practices guide
3Com acquisition confirms HP-Cisco battle for China
Integrated wireless and wired LAN: Brocade-Motorola deal ups the ante
Enterprise passive optical networks: a spanning-tree LAN alternative
10 Gigabit Ethernet tutorial: Connecting data centers, storage, LAN and beyond
Intelligent edge switches: Complexity is driving a smarter LAN
Q&A: Jim Metzler previews the networking track at Interop
Extreme's port extender can replace consumer devices at network edge
VLANs versus IP subnets: Why use a VLAN over IP subnetting?
Troubleshooting VLANs: How to monitor 802.1q tagged traffic

IP Networking
What is the definition of ATM (Asynchronous Transfer Mode)?
Do I have to disable DHCP on my router to create a DHCP server?
Windows Server 2008 IP routing configuration: Static and dynamic RIPv2
What is IP?
Connect your LAN to the Internet using static or dynamic NAT
Using tracert and TTL to troubleshoot network connectivity problems
Test your TCP/IP protocol stack to troubleshoot network connectivity
IP addressing and subnetting explained
Checking IP configuration to troubleshoot Windows network connectivity
Does IPv6 abandon TCP/IP fragmentation?

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
32-bit IP addressing  (SearchNetworking.com)
ARCNET  (SearchNetworking.com)
master  (SearchNetworking.com)
master/slave  (SearchNetworking.com)
Port Address Translation (PAT)  (SearchNetworking.com)
subnet  (SearchNetworking.com)
subnet mask  (SearchNetworking.com)
system administrator  (SearchNetworking.com)
Technical Office Protocol  (SearchNetworking.com)
virtual systems management  (SearchNetworking.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


There is much confusion about addresses ending in .0 or .255 and this is clearly the result of misunderstanding the rules of subnetting – a topic most newcomers dread!

Even though the answer is pretty much straight forward (no, you can't in most cases, but there are some exceptions!), I'm going to take a different approach and give you a bit of theory as to why you can't use certain addresses to help you truly understand the reason and not just memorize a range of numbers.

As you would already know, every network uses some type of addressing scheme. This is required in order for the computers to communicate with each other. The ranges used can vary and depend on the administrator's preference and the network's requirements. As such, most select the good old 192.168.0.0 address range, while some prefer shorter addresses like 10.0.0.0. These addresses are what we call 'logical' addresses, meaning that they are based purely on software (the operating system).

One of the very basic rules in IP networks is that every logical network, no matter how small or big it is, must have a network identifier address and a network broadcast address. To make things simple, the engineers that designed all the above though it would be a great idea to use the first and last addresses of each logical network to do their job!

So, as you've already correctly guessed, networks ending in .0 or .255 are not usable… in most cases! The reason for this is because we tend to allocate full Class C type addresses to our networks, making it obviously very simple for us to administer.

A standard Class C network consists of 256 addresses (0 to 255 inclusive), of which one is the network address (.0) and the other is the network broadcast address (.255).

To help make this clear, if we selected network address 192.168.0.0/255.255.255.0 for our office, then we can say that:

The network identifier would be 192.168.0.0
The broadcast address would be 192.168.0.255
Valid (or usuable) ip addresses would be 192.168.0.1 to 192.168.0.254.

In the above example, addresses .0 & .255 are not usable, but in the one to follow, they are:

Consider a huge office with more than 15,000 workstations. You decide that you want all these hosts in one logical network, so a Class A network address is not able to cover your needs. A Class B gives you a total of 65,535 IP addresses – a really big network which you would surely want to break down, but for the sake of this example, we won't.

If we consider 172.16.0.0 / 255.255.0.0 as the preferred choice, then the network characteristics are as follows:

Network identifier: 172.16.0.0
Network Broadcast: 172.16.255.255
Valid (or usable) IP addresses: 172.16.0.1 to 172.16.255.254

If you take a closer look at the valid addresses, you'll notice that IP addresses 172.16.255.0 and 172.16.0.255 can be used!

The above example is the reason I didn't want you to memorize that all addresses ending in .0 or .255 cannot be assigned!

The trick to understanding all the above is of course the network theory. If you would like to read more about subnetting, IP classes e.t.c. then I'd highly advise you to visit www.Firewall.cx and check out one of the worlds finest tutorials to subnetting and IP addressing.




Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Expert networking advice and tips for IT professionals
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts