New Zealand ADSL Mailing List


Re: (OT) Help: Subnet Mask

From: Daniel Neville <bmange_at_airdmhor.gen.nz>
Date: Wed, 03 Oct 2001 15:59:04 +1200
Message-ID: <3BBA8D08.43247E5E@airdmhor.gen.nz>

James Pluck wrote:
>
> On my lan at home I use 192.168.1.x My friend's lan is on 192.168.0.x I am
> quite frequently around at his place with my pc for lan gaming sessions,
> etc. In my config I have a subnet mask of 255.255.255.0 (pretty standard I
> think) but ISTR a discussion once (not in this forum) that said that a
> simple alteration of this subnet mask would allow me to connect to my
> friend's lan without needing to change my fixed IP address.

If you plan to have gamefests often, it may be helpful to provide a DCHP
server, in the form of some kind of software on one of the computers, or
better still, a hardware thing like any halfway decent ADSL modem/router.

Then your guests only need to have DCHP enabled, and their IPs are assigned
automatically, along with the gateway and DNS addresses. It pays to keep your
range of DCHP addresses out of the way of fixed IPs you have sitting around.
MY DCHP IP range, for instance is: 192.168.33.201 - 192.168.33.250. No one
ever manually sets their IP to something that ends in a number greater
than 200 :)

It's odd that your friend uses a '0' in a part of his IP addresses. That
might be legal in the 'network' part of the address but it looks too
uncomfortably like the '0' that might happen in the 'host' part of the
address, which has a special meaning. For example:

  192.168.33.0 -> Network 'Slaughterhouse'
  192.168.33.5 -> The PC named 'Slasher' on the 'Slaughterhouse' network.
  192.168.33.255 -> Every machine on the 'Slaughterhouse' network.

(these are for a netmask of 255.255.255.0. If your netmask is 255.255.0.0,
say, then the brodcast IP address might be 192.168.255.255 and the IP of
the network itself would be 192.168.0.0)

I hope this helps, and that I haven't bollocks'd anything up.

Cheers.

-- 
   Blancmange
   bmange@airdmhor.gen.nz
   http://www.airdmhor.gen.nz/blancmange
This message is part of the NZ ADSL mailing list.
see http://unixathome.org/adsl/ for archives, FAQ,
and various documents.
To unsubscribe: send mail to majordomo@lists.unixathome.org
with "unsubscribe adsl" in the body of the message
Received on Wed Oct 3 15:57:33 2001

This archive was generated by hypermail 2.2.0 : Thu Nov 30 11:48:16 2006 EST