Sunteți pe pagina 1din 4

Direccionamiento IP

Cada host TCP/IP est identificado por una direccin IP lgica. Esta direccin es nica para cada host que se comunica mediante TCP/IP. Cada direccin IP de 32 bits identifica la ubicacin de un sistema host en la red de la misma manera que una direccin identifica un domicilio en una ciudad. Al igual que una direccin tiene un formato de dos partes estndar (el nombre de la calle y el nmero del domicilio), cada direccin IP est dividida internamente en dos partes: un Id. de red y un Id. de host:

El Id. de red, tambin conocido como direccin de red, identifica un nico segmento de red dentro de un conjunto de redes (una red de redes) TCP/IP ms grande. Todos los sistemas que estn conectados y comparten el acceso a la misma red tienen un Id. de red comn en su direccin IP completa. Este Id. tambin se utiliza para identificar de forma exclusiva cada red en un conjunto de redes ms grande. El Id. de host, tambin conocido como direccin de host, identifica un nodo TCP/IP (estacin de trabajo, servidor, enrutador u otro dispositivo TCP/IP) dentro de cada red. El Id. de host de cada dispositivo identifica de forma exclusiva un nico sistema en su propia red.

A continuacin, se muestra un ejemplo de una direccin IP de 32 bits:


10000011 01101011 00010000 11001000

Para facilitar el direccionamiento IP, las direcciones IP se expresan en notacin decimal con puntos. La direccin IP de 32 bits est segmentada en cuatro octetos de 8 bits. Estos octetos se convierten a formato decimal (sistema numrico de base 10) y se separan con puntos. Por tanto, la direccin IP del ejemplo anterior es 131.107.16.200 cuando se convierte a la notacin decimal con puntos. Para obtener ms informacin acerca de la notacin decimal con puntos y la conversin de nmeros del sistema binario al decimal, En la siguiente ilustracin se muestra un ejemplo de direccin IP (131.107.16.200) tal como est dividida en las secciones de Id. de red y host. La parte de Id. de red (131.107) est indicada por los dos primeros nmeros de la direccin IP. La parte de Id. de host (16.200) est indicada por los dos ltimos nmeros de la direccin IP.

Notas

Puesto que las direcciones IP identifican los dispositivos de una red, debe asignarse una direccin IP nica a cada dispositivo de la red. En general, la mayor parte de los equipos tienen nicamente un adaptador de red instalado y, por tanto, necesitan slo una direccin IP. Si un equipo tiene varios adaptadores de red instalados, cada uno necesita su propia direccin IP.

Clases de direcciones IP
La comunidad de Internet ha definido cinco clases de direcciones. Las direcciones de las clases A, B y C se utilizan para la asignacin a nodos TCP/IP. La clase de direccin define los bits que se utilizan para las partes de Id. de red e Id. de host de cada direccin. La clase de direccin tambin define el nmero de redes y hosts que se pueden admitir por cada red. En la siguiente tabla se utiliza w.x.y.z para designar los valores de los cuatro octetos de cualquier direccin IP dada. La tabla siguiente sirve para mostrar:

Cmo el valor del primer octeto (w) de una direccin IP dada indica la clase de direccin. Cmo estn divididos los octetos de una direccin en el Id. de red y el Id. de host. El nmero de redes y hosts posibles por cada red que hay disponibles para cada clase.

Clase A B C D E

Valor Identificador de red de w 1-126 w 128w.x 191 192w.x.y 223 Reservado para 224direcciones de 239 multidifusin 240Reservado para uso 254 experimental

Identificador de Nmero de Nmero de host redes hosts por red x.y.z 126 16,777,214 y.z z No disponible No disponible 16,384 2,097,152 No disponible No disponible 65,534 254 No disponible No disponible

Subnetting
Subnetting is the process of breaking down an IP network into smaller sub-networks called "subnets." Each subnet is a non-physical description (or ID) for a physical sub-network (usually a switched network of host containing a single router in a multi-router network).

Subnet Mask Notation


There are two forms of subnet notation, standard notation and CIDR (Classless Internet Domain Routing) notation. Both versions of notation use a base address (or network address) to define the starting point of the network, such as 192.168.1.0. This means that the network begins at 192.168.1.0 and the first possible host IP address on this subnet would be 192.168.1.1. In standard subnet mask notation, a four octet numeric value is used as with the base address, for example 255.255.255.0. The standard mask can be calculated by creating four binary values for each octet, and assigning the binary digit of .1. to the network potion, and assigning the binary digit of .0. to the network potion. In the example above this value would be 11111111.11111111.11111111.00000000. In combination with the base address you have a subnet definition, in this case the subnet in standard notation would be 192.168.1.0 255.255.255.0.

In CIDR notation, the number of 1.s in the binary version of the mask are counted from the left, and that number is appended to the end of the base address following a slash (/). In the example here the subnet would be listed in CIDR notation as 192.168.1.0/24.

When is Subnetting Used?

Subnets are created to limit the scope of broadcast traffic, to apply network security measures, to separate network segments by function, and/or to assist in resolving network congestion problems.., A subnet is usually composed of a network router, a switch or hub, and at least one host

How can I Compute the Maximum Number of Hosts for a Subnet Mask?
To compute the maximum number of hosts for a subnet mask, take two and raise it to the amount of bits allocated to the subnet (count the number of 0.s in the subnet mask binary value) and subtract two. You must subtract two from the resulting value because the first value in the IP address range (all 0s) is reserved for the network address, and the last value in the IP address range (all 1s) is reserved for the network broadcast address. For example, DSL networks commonly use 8 bits for their subnets. The amount of allowable hosts for such a DSL network could be computed by the following formula: max hosts = (2^8)-2 = 254 hosts. As you subnet networks, the number of bits represented by the subnet mask will decrease. You decrease the octets in order starting from the rightmost value and proceed left as you reach a zero value. Mask values decrease by a power of two each time you split a network into more subnets. Values are 255, 254*, 252, 248, 240, 224, 224, 192, 128. Each decrease indicates that an additional bit has been allocated. After 128, the next bit allocated will reduce the fourth octet to 0; and the third octet will follow same 8-number progression. For instance, a subnet mask dotted decimal number of 255.255.255.255 indicates that no bits have been allocated and that the maximum number of hosts is 1 (0^1=1). The subnet mask 255.255.255.128 indicates that the maximum number of hosts is 128. And the subnet mask 255.255.128.0 indicates that the maximum number of hosts is 32,786. * 254 is not a valid number for the fourth octet because no addresses are available for hosts. i.e. (2^1)-2 = 0.

S-ar putea să vă placă și