reserved ip addresses

30
Reserved IP Addresses Nangarhar University Faculty Of Computer Science Networking and Communication Dept. Spring- 2014

Upload: nangarhar-university

Post on 28-Nov-2014

164 views

Category:

Internet


1 download

DESCRIPTION

Reserved IP Addressees, IP Address,

TRANSCRIPT

Page 1: Reserved ip addresses

Reserved IP Addresses

Nangarhar University Faculty Of Computer Science

Networking and Communication Dept.Spring- 2014

Page 2: Reserved ip addresses

Reserved IP Addresses

• Certain IP addresses are reserved and cannot be assigned to individual devices on a network.

• These reserved addresses include a network address, which is used to identify the network itself, and a broadcast address, which is used for broadcasting packets to all of the devices on a network

Page 3: Reserved ip addresses

Reserved IP Addresses

• This topic describes the types of reserved IP addresses and provides examples of each.

Page 4: Reserved ip addresses

Reserved IP Addresses

Page 5: Reserved ip addresses

Network Address

• An IP address that has binary 0s in all host bit positions is reserved for the network address

• Therefore, as a Class A network example, 10.0.0.0 is the IP address of the network containing the host 10.1.2.3

Page 6: Reserved ip addresses

Network Address

• As a Class B network example, the IP address 172.16.0.0 is a network address, while 192.16.1.0 would be a Class C network.

• A router uses the network IP address when it searches its IP route table for the destination network location.

Page 7: Reserved ip addresses

• A broadcast address is a special Internet Protocol (IP) address used to transmit messages and data packets to network systems. Network administrators (NA) verify successful data packet transmission via broadcast addresses.

Page 8: Reserved ip addresses

Directed Broadcast Address

• To send data to all the devices on a network, a broadcast address is used. Broadcast IP addresses end with binary 1s in the entire host part of the address (the host field).

• For the network in the example (172.16.0.0), in which the last 16 bits make up the host field (or host part of the address), the broadcast that would be sent out to all devices on that network would include a destination address of 172.16.255.255.

Page 9: Reserved ip addresses

• The directed broadcast is capable of being routed. However, for some versions of the Cisco IOS operating system, routing directed broadcasts is not the default behavior.

Page 10: Reserved ip addresses

Local Broadcast Address

• If an IP device wants to communicate with all devices on the local network, it sets the destination address to all 1s (255.255.255.255) and transmits the packet

• For example, hosts that do not know their network number and are asking some server for it may use this address. The local broadcast is never routed.

Page 11: Reserved ip addresses

• In computer networking, the broadcast address is used to distribute a signal across a network, commonly used to declare to other devices on a network that a new device has connected to the network and to give those other devices information about the newly connected device. The broadcast address on a network is commonly an address that ends with 255.

Page 12: Reserved ip addresses

• The limited broadcast address is the address formed by setting all 32 bits of the IP address to 1 (255.255.255.255). The limited broadcast address is used when an IP node must perform a one-to-everyone delivery on the local network but the network ID is unknown.

Page 13: Reserved ip addresses

Local Loopback Address

• A local loopback address is used to let the system send a message to itself for testing. A typical local loopback IP address is 127.0.0.1.

Page 14: Reserved ip addresses

Auto configuration IP Addresses

• When neither a statically nor a dynamically configured IP address is found on startup, those hosts supporting IPv4 link-local addresses (RFC 3927) will generate an address in the 169.254/16 prefix range.

Page 15: Reserved ip addresses

Network ID

• The network portion of an IP address is also referred to as the network ID, which is important because most hosts on a network can directly communicate only with devices in the same network

• If the hosts need to communicate with devices that have interfaces assigned to some other network ID, there must be a network device that can route data between the networks.

• This is true even when the devices share the same physical media segment.

Page 16: Reserved ip addresses

Network ID

• A network ID enables a router to put a packet onto the appropriate network segment.

Page 17: Reserved ip addresses

Host ID

• Each class of a network allows a fixed number of hosts In a Class A network, the first octet is assigned to the network, leaving the last three octets to be assigned to hosts.

• The first host address in each network (all 0s) is reserved for the actual network address, and the final host address in each network (all 1s) is reserved for broadcasts.

Page 18: Reserved ip addresses

Host ID

• The maximum number of hosts in a Class A network is 2 to the power of 24 and (subtracting the network and broadcast reserved addresses means minus 2), or 16,777,214.

Page 19: Reserved ip addresses

Conti…

• In a Class B network, the first two octets are assigned to the network, leaving the final two octets to be assigned to hosts

• The maximum number of hosts in a Class B network is 2 to the power of 16 minus 2 or

65,534.

Page 20: Reserved ip addresses

• In a Class C network, the first three octets are assigned to the network. This leaves the final octet to be assigned to hosts, so the maximum number of hosts is

• 2 to the power of 8 minus 2 or 254

Page 21: Reserved ip addresses

Public and Private IP Addresses

• Some networks connect to each other through the Internet, while others are private. For instance, the example addresses used in this course are private, which means that they are not assigned to public use. Both public and private IP addresses are required for both of these network types.

Page 22: Reserved ip addresses
Page 23: Reserved ip addresses

Pub

Page 24: Reserved ip addresses

IP Address

Class

Total # Of Bits For Network ID / Host

ID

First Octet of

IP Address

# Of Network ID Bits

Used To Identify Class

Usable # Of

Network ID Bits

Number of

Possible Network

IDs

# Of Host IDs Per Network

ID

Class A 8 / 24 0xxx xxxx 1 8-1 = 7 27-2 = 126224-2 =

16,277,214

Class B 16 / 16 10xx xxxx 2 16-2 = 14214 =

16,384216-2 = 65,534

Class C 24 / 8 110x xxxx 3 24-3 = 21221 =

2,097,15228-2 = 254

Page 25: Reserved ip addresses

Class A network

• The network ID is not allowed to have all its bits set to 0 or all bits set to 1. The 127 network ID is excluded from this address class.

Page 26: Reserved ip addresses

Class B, C Network

• Unlike Class A networks, all network IDs in this range are available for use.

• Like with Class B networks, all the network IDs are available for use on networks. This is the last of the network classes that will be used for network devices on a TCP/IP network.

Page 27: Reserved ip addresses

Class D

• Class D network addresses are not assigned to devices on a network.

• These addresses are used for special-purpose, multicast applications

• These addresses all need to be registered with IANA to be used globally

Page 28: Reserved ip addresses

Class D

• Addresses in this class have the first bits of the first octet set to 1110, yielding addresses in the first octet ranging from 11100000 to 11101111, or 224 to 239.

Page 29: Reserved ip addresses

Class E

• If Class D is special, Class E addresses are even more special. There is no defined use for this address class. Officially, it is listed as reserved for usage and testing by IANA

• Class E was updated to “reserved for future use.”

Page 30: Reserved ip addresses