Please Whitelist This Site?

I know everyone hates ads. But please understand that I am providing premium content for free that takes hundreds of hours of time to research and write. I don't want to go to a pay-only model like some sites, but when more and more people block ads, I end up working for free. And I have a family to support, just like you. :)

If you like The TCP/IP Guide, please consider the download version. It's priced very economically and you can read all of it in a convenient format without ads.

If you want to use this site for free, I'd be grateful if you could add the site to the whitelist for Adblock. To do so, just open the Adblock menu and select "Disable on tcpipguide.com". Or go to the Tools menu and select "Adblock Plus Preferences...". Then click "Add Filter..." at the bottom, and add this string: "@@||tcpipguide.com^$document". Then just click OK.

Thanks for your understanding!

Sincerely, Charles Kozierok
Author and Publisher, The TCP/IP Guide


NOTE: Using software to mass-download the site degrades the server and is prohibited.
If you want to read The TCP/IP Guide offline, please consider licensing it. Thank you.

The Book is Here... and Now On Sale!

Enjoy The TCP/IP Guide? Get the complete PDF!
The TCP/IP Guide

Custom Search







Table Of Contents  The TCP/IP Guide
 9  TCP/IP Lower-Layer (Interface, Internet and Transport) Protocols (OSI Layers 2, 3 and 4)
      9  TCP/IP Internet Layer (OSI Network Layer) Protocols
           9  Internet Protocol (IP/IPv4, IPng/IPv6) and IP-Related Protocols (IP NAT, IPSec, Mobile IP)
                9  Internet Protocol Version 4 (IP, IPv4)
                     9  IP Addressing
                          9  IP Addressing Concepts and Issues

Previous Topic/Section
IP Addressing Concepts and Issues
Previous Page
Pages in Current Topic/Section
1
2
3
Next Page
IP Address Size, Address Space and "Dotted Decimal" Notation
Next Topic/Section

IP Addressing Overview and Fundamentals
(Page 2 of 3)

Number of IP Addresses Per Device

Any device that has data sent to it at the network layer will have at least one IP address: one per network interface. As I mentioned above, this means that normal hosts such as computers and network-capable printers usually get one IP address, while routers get more than one IP address. Some special hosts may have more than one IP address if they are multihomed—connected to more than one network.

Lower-level network interconnection devices such as repeaters, bridges and switches don't require an IP address because they pass traffic based on layer two (data link layer) addresses. Network segments connected by bridges and switches form a single broadcast domain and any devices on them can send data to each other directly without routing. To the Internet Protocol, these devices are “invisible”, they are no more significant than the wires that connect devices together (with a couple of exceptions). Such devices may, however, optionally have an IP address for management purposes. In this regard, they are acting like a regular host on the network. See Figure 55 for an illustration.


Figure 55: IP Interfaces for Common Network Devices

This illustration shows the IP interfaces of a few common of LAN devices as small cyan circles. Each regular host has one interface, while the router that serves this LAN has three, since it connects to three different networks. Note that the LAN switch has no IP interfaces; it connects the hosts and router at layer two. Also see Figure 59, which shows the IP interfaces of devices in a more complex configuration.

 


Address Uniqueness

Each IP address on a single internetwork must be unique. This seems rather obvious (although there are exceptions in IPv6, in the form of special anycast addresses!)

Network-Specificity of IP Addresses

Since IP addresses represent network interfaces and are used for routing, the IP address is specific to the network to which it is connected. If the device moves to a new network, the IP address will usually have to change as well. For the full reason why, see the discussion of basic IP address structure. This issue was a primary motivation for the creation of Mobile IP.

Contrasting IP Addresses and Data Link Layer Addresses

IP addresses are used for network-layer data delivery across an internetwork. This makes IP addresses quite different from the data link layer address of a device, such as its Ethernet MAC address. (In TCP/IP parlance these are sometimes called physical addresses or hardware addresses.) At the network layer, a single datagram may be sent “from device A to device B”. However, the actual delivery of the datagram may require that it passes through a dozen or more physical devices, if A and B are not on the same network.

It is also necessary to provide a function that maps between IP and data link layer addresses. In TCP/IP this is the job of the Address Resolution Protocol (ARP).


Previous Topic/Section
IP Addressing Concepts and Issues
Previous Page
Pages in Current Topic/Section
1
2
3
Next Page
IP Address Size, Address Space and "Dotted Decimal" Notation
Next Topic/Section

If you find The TCP/IP Guide useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider purchasing a download license of The TCP/IP Guide. Thanks for your support!
Donate $2
Donate $5
Donate $10
Donate $20
Donate $30
Donate: $



Home - Table Of Contents - Contact Us

The TCP/IP Guide (http://www.TCPIPGuide.com)
Version 3.0 - Version Date: September 20, 2005

© Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.