InetDaemon
The guy  "geeks" call for tech support..

WHAT IS AN IP NETWORK

Networks provide communication between computing devices. To communicate properly, all computer (hosts) on a network need to use the same communication protocols. An Internet Protocol network is a network of computer using Internet Protocol for their communication protocol.

All computer within an IP network must have an IP address that uniquely identifies that individual host. An Internet Protocol-based network (an IP Network) is a group of hosts that share a common physical connection and that use Internet Protocol for network layer communication. The IP addresses in an IP network are contiguous, that is, one address follows right after the other with no gaps.

Address Types in an IP Network

Within a given range of IP addresses used in every IP network are special addresses reserved for

In addition, a IP network has a subnet mask. The subnet mask is a value stored one each computer that allows that computer to identify which IP addresses are within the network to which they are attached, and which IP addresses are on an outside network.

Host address

A host's IP address is the address of a specific host on an IP network. All hosts on a network must have a unique IP address. This IP address is usually not the first or the last IP address in the range of network IP addresses as the first IP address and last IP address in the range of IP addresses are reserved for special functions. The host addresses are all the addresses in the IP network range of IP addresses except the first and last IP addresses. Host IP addresses allow network hostst to establish one-to-one direct communication. This one-to-one communication is referred to as unicast communication.

All host IP addresses can be split into two parts: a network part and a host part. The network part of the IP addresses identifies the IP Network the host is a member of. The host part uniquely identifies an individual host.

Network Address

The network address is the first IP address in the range of IP addresses. To be more precise, the network address is the address in which all binary bits in the host portion of the IP address are set to zero. The purpose of the Network Address is to allow hosts that provide special network services to communicate. In practice, the network address is rarely used for communication.

Broadcast Address

The broadcast IP address is the last IP address in the range of IP addresses. To be more precise, the broadcast address is the IP address in which all binary bits in the host portion of the IP address are set to one. The broadcast address is reserved and allows a single host to make an announcement to all hosts on the network. This is called broadcast communication and the last address in a network is used for broadcasting to all hosts because it is the address where the host portion is all ones. This special address also sometimes called the all hosts address. Some vendors allow you to set an address other than the last address as the broadcast address.

Note that each network has its own network and broadcast addresses. Network addresses do not necessarilly have a zero in the decimal representation of the host portion of their address.

EXAMPLE 1

  network portion host portion  
Network Address (decimal) 192 . 168 . 1 . 0 All zeroes in the host portion
Network Address (binary) 11000000 . 10011000 . 0000001 . 000000
 
First host address (decimal) 192 . 168 . 1 . 1

00000001
00000010
00000011
...
11111100
11111101
11111110

First host address (binary) 11000000 . 10011000 . 00000001 . 00000001
...and all the addresses in between.
Last host address (decimal) 192 . 168 . 1 . 254
Last host address (binary) 11000000 . 10011000 . 00000001 . 11111110
 
Broadcast Address (decimal) 192 . 168 . 1 . 255 All ones in the host portion
Broadcast Address (binary) 11000000 . 10011000 . 00000001 . 11111111

HINT: If this table is giving you trouble, you might need help with binary.

EXAMPLE 2

In example 2, we borrow 2 bits from what would normally be the host portion and use it as bits that indicate the network portion. This makes a smaller network of just 64 addresses, of which 62 are usable for hosts. Remember, the first address in a range of IP addresses is reserved for the network address. The last address is reserved for the broadcast address.

  network portion host portion  
Network Address (decimal) 192 . 168 . 1 . 64 All zeroes in the host portion
Network Address (binary) 11000000 . 10011000 . 0000001 . 01000000
 
First host address (decimal) 192 . 168 . 1 . 1  
First host address (binary) 11000000 . 10011000 . 00000001 . 01000001
...and all the addresses in between.
Last host address (decimal) 192 . 168 . 1 . 254
Last host address (binary) 11000000 . 10011000 . 00000001 . 01111110
 
Broadcast Address (decimal) 192 . 168 . 1 . 127 All ones in the host portion
Broadcast Address (binary) 11000000 . 10011000 . 00000001 . 01111111

HINT: If this table is giving you trouble, you might need help with binary.

HOW IT WORKS

Your computer uses a a mask in its network connection that allows it to determine whether the computer it wants to talk to over the local network is actaully on the local network or on a network outside the local network. If it is a computer that is local, it will use a local protocol to find the other computer's hardware address. If the other computer is not local (it is outside the local network), then it will send the data to the local gateway (usually called the default gateway). Your computer will try to determine the hardware address of the local default gateway and will use the hardware address in the Ethernet header (or FDDI header or Token Ring header etc.). The Ethernet frame will contain a payload which will be filled with IP data. The IP address of the remote computer will be in this payload as part of the IP header. Since the IP address in the IP datagram is the remote computer, but the Ethernet frame is addressed to the local default gateway, the default gateway will accept the Ethernet frame, read the IP data, verify the IP address is indeed outside the local network and then forward the IP datagram over whatever other network connections the computer has that will allow it to reach all the other outside networks.

That's how Internet Protocol makes routing work in a network with a default gateway.

Fact and Fiction

Routers are NOT used for local communication on the local IP network. They are bypassed completely and are not required. Routers are used to forward data into different networks and to restrict broadcasts on the local network from swamping external networks with traffic that is important only to the local network.

 


The Internet | Internet Protocol | IP Addresses|IP Subnetting | IP Supernetting |VLSM | IP Routing

 

 


classless >>

YOUR DONATIONS SUPPORT THE CONSTRUCTION OR COMPLETION OF TUTORIALS THROUGHOUT THIS SITE

Comments and Suggestions | FAQ's | About InetDaemon.Com | About InetDaemon | Acceptable Use Policy | Privacy Policy
© 1996 - 2008 InetDaemon, InetDaemon Enterprises

This is a 'WHYFF' (We Help You For Free) site. One Person maintains this site in his spare time.
InetDaemon is an IT expert, not an English professor. Grammar and spelling errors are to be expected.

Standard disclaimer: The statements, views and opinions presented on this web page are those of the author and are not endorsed by, nor do they necessarily reflect, the opinions of the author's present and/or former employers or any other organization the author may be associated with. We do not warranty or guarantee the correctness of the information provided or its fitness for any purpose.