PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Noms de domaine > comp.protocols.tcp-ip > assigning IP addresses
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.protocols.tcp-ip TCP and IP network protocols.

assigning IP addresses

Réponse
 
LinkBack Outils de la discussion
Vieux 30/05/2006, 14h47   #1
new guy
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut assigning IP addresses

I would like to connect a PC to my network with IP address 192.168.1.54/27
By AND-ing 54 with 224 the subnet IP is 192.168.1.32 and the host IP range
is 192.168.1.33 to 192.168.1.62.
Technically, I could assign to my PC the address 192.168.1.54 , because 54
lives on the IP host range (33-62) of the subnet.
However, 192.168.1.54 is the IP address of the network. Isn't there a
conflict of IP addresses?

What did I do/understand wrong, please?

Thanks in advance for your !

new guy


  Réponse avec citation
Vieux 30/05/2006, 15h23   #2
cephalon
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: assigning IP addresses

192.168.1.54 can't be the network address in a /27 subnet. The /27
network addresses would be 192.168.1.0, 192.168.1.32, 192.168.1.64,
192.168.1.96, etc.

As long as I'm not missing anything here, it looks like you're right on
the proper host range for this IP's network (33-62) while .32 would be
the network address, and .63 would be the broadcast address for this
subnet.

  Réponse avec citation
Vieux 30/05/2006, 15h59   #3
Albert Manfredi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: assigning IP addresses

"new guy" <new guy@now.anonymous> wrote in message
news:K1Yeg.211895$7a.111031@pd7tw1no...
>I would like to connect a PC to my network with IP address
>192.168.1.54/27


192.168.1.54 with mask 255.255.255.224, which makes the prefix 27 bits
wide, cannot be the address of a network. It has to be the address of an
interface.

If you want a prefix that is 27 bits wide, then any network ID with a
prefix that wide must have all zeroes in the host ID bits, i.e. the 5
low order bits must be set to 0. But if the last number in the address
is 54, the 5 low order bits are 10110, so this cannot be a subnet ID.
This must be an individual interface address.

> By AND-ing 54 with 224 the subnet IP is 192.168.1.32 and the host IP
> range is 192.168.1.33 to 192.168.1.62.
> Technically, I could assign to my PC the address 192.168.1.54 ,
> because 54 lives on the IP host range (33-62) of the subnet.
> However, 192.168.1.54 is the IP address of the network. Isn't there a
> conflict of IP addresses?


With a mask of 255.255.255.224 (27 bits of prefix), the subnet which
incorporates the .54 address is indeed the .32 subnet, which
accommodates 30 host interfaces, which would be from .33 to .62.

Bert

  Réponse avec citation
Vieux 31/05/2006, 06h38   #4
new guy
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: assigning IP addresses


"Albert Manfredi" <albert.e.manfredi@nospam.com> wrote in message
news:J032z3.7v4@news.boeing.com...
> "new guy" <new guy@now.anonymous> wrote in message
> news:K1Yeg.211895$7a.111031@pd7tw1no...
>>I would like to connect a PC to my network with IP address 192.168.1.54/27

>
> 192.168.1.54 with mask 255.255.255.224, which makes the prefix 27 bits
> wide, cannot be the address of a network. It has to be the address of an
> interface.
>
> If you want a prefix that is 27 bits wide, then any network ID with a
> prefix that wide must have all zeroes in the host ID bits, i.e. the 5 low
> order bits must be set to 0. But if the last number in the address is 54,
> the 5 low order bits are 10110, so this cannot be a subnet ID. This must
> be an individual interface address.
>
>> By AND-ing 54 with 224 the subnet IP is 192.168.1.32 and the host IP
>> range is 192.168.1.33 to 192.168.1.62.
>> Technically, I could assign to my PC the address 192.168.1.54 , because
>> 54 lives on the IP host range (33-62) of the subnet.
>> However, 192.168.1.54 is the IP address of the network. Isn't there a
>> conflict of IP addresses?

>
> With a mask of 255.255.255.224 (27 bits of prefix), the subnet which
> incorporates the .54 address is indeed the .32 subnet, which accommodates
> 30 host interfaces, which would be from .33 to .62.
>
> Bert


Thanks a lot for the clarification!

new guy


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 18h02.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,17944 seconds with 12 queries