Re: single host netmask (255.255.255.255)



From RFC919

<snip> The address 255.255.255.255 denotes a broadcast on a local hardware network, which must not be forwarded. This address may be used, for example, by hosts that do not know their network number and are asking some server for it.

  Thus, a host on net 36, for example, may:

     - broadcast to all of its immediate neighbors by using
       255.255.255.255

     - broadcast to all of net 36 by using 36.255.255.255

  (Note that unless the network has been broken up into subnets, these
  two methods have identical effects.)

  If the use of "all ones" in a field of an IP address means
  "broadcast", using "all zeros" could be viewed as meaning
  "unspecified".  There is probably no reason for such addresses to
  appear anywhere but as the source address of an ICMP Information
  Request datagram.  However, as a notational convention, we refer to
  networks (as opposed to hosts) by using addresses with zero fields.
  For example, 36.0.0.0 means "network number 36" while 36.255.255.255
  means "all hosts on network number 36".
</snip>


Petr Laznovsky wrote:



Is single host netmask allowed on ethernet interface in Windows 2000? I need to assign IP 10.1.1.1 with netmask 255.255.255.255 to ETH interface, but i`v got following error message: "Invalid IP or subnet mask address". As I remember, dial-up DHCP requested address come normally with this mask..... Wha is wrong??????


L.



I think you remember wrong, fresch up your you basic tcp/ip knowledge.

The smallest usable net consists of 4 adresses (netmask 255.255.255.252)

First adress (host part all zero) is the net address.
Then come two addresses for hosts, you use on for your host and one for the default gateway (you want to talk to someone aren't you ?)
Last address is the broadcast address.


/David


David, please read Neteng`s answer to my question.

P.L.
.



Relevant Pages

  • Re: Ethernet switch flooding packets?
    ... is it normal and acceptable for a network to be flooding unicast ... a network of 5000 hosts in a broadcast domain *is* of concern. ... It happens by design. ...
    (comp.dcom.lans.ethernet)
  • Re: lan status
    ... to the computers present on that network, ... It appears that Microsoft's ICMP implementation lacks support for responding to broadcast requests. ... On the other hand, using the network services to look up hosts on the LAN will pick up things like networked printers, routers, etc., that may not be what you're looking for. ... If you go this route, the one issue to watch for when using ICMP/echo-request to see if the hosts are alive is that if they have their XP firewalls turned on, they won't respond in their default configuration. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: single host netmask (255.255.255.255)
    ... The address 255.255.255.255 denotes a broadcast on a local hardware network, ... This address may be used, for example, by hosts that do not know their network number and are asking some server for it. ... However, as a notational convention, we refer to networks by using addresses with zero fields. ...
    (microsoft.public.win2000.networking)
  • Re: Heavyweight Network Mapping Tools
    ... multiple threads so as not to adversely effect any individual sub network ... The goals for the OPTE project are slightly ... >> Hosts alive through ICMP ... I was loooking more for the vulnerability scanning approach without ...
    (Pen-Test)
  • Re: single host netmask (255.255.255.255)
    ... The address 255.255.255.255 denotes a broadcast on a local hardware network, ... This address may be used, for example, by hosts that do not know their network number and are asking some server for it. ... However, as a notational convention, we refer to networks by using addresses with zero fields. ...
    (microsoft.public.win2000.networking)