Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 May 1998 15:39:31 -0700 (PDT)
From:      "Jonathan M. Bresler" <jmb>
To:        jonny@coe.ufrj.br (Joao Carlos Mendes Luis)
Cc:        x5gb7uk9@wna-linknet.com, freebsd-net@FreeBSD.ORG
Subject:   Re: home network
Message-ID:  <199805102239.PAA21595@hub.freebsd.org>
In-Reply-To: <199805102107.SAA04000@roma.coe.ufrj.br> from Joao Carlos Mendes Luis at "May 10, 98 06:07:51 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Joao Carlos Mendes Luis wrote:
> #define quoting(Arnold J. Rimmer)
> // ed0: flags=8843 <UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> // 	inet 192.168.1.2  netmask 0xff000000 broadcast 192.168.1.255
> // 	ether 00:00:c0:0f:62:9b
> 
> Hey, your netmask is wrong !

	no!  it is not wrong!

	the netmask is limited by two factors:
	upper limit: address space that you are allowed to use
		from rfc1918 the maximal netmask is 255.255.0.0
		or 192.169/16, to use the correct description.
	lower limit: 4 addresses which is a /30.
		our network connections to uunet and crl
		are both /30 networks (if they could use /31 or /32
		networks they would)

	between those two limits you are free to define the 
	netmask on whatever bit boundary suits your needs.

jmb

> 
> If you need the equivalent of a class A address, use net 10.0.0.0
> 
> Quoted from RFC1918:
> 
> 3. Private Address Space
> 
>    The Internet Assigned Numbers Authority (IANA) has reserved the
>    following three blocks of the IP address space for private internets:
> 
>      10.0.0.0        -   10.255.255.255  (10/8 prefix)
>      172.16.0.0      -   172.31.255.255  (172.16/12 prefix)
>      192.168.0.0     -   192.168.255.255 (192.168/16 prefix)
> 
>    We will refer to the first block as "24-bit block", the second as
>    "20-bit block", and to the third as "16-bit" block. Note that (in
>    pre-CIDR notation) the first block is nothing but a single class A
>    network number, while the second block is a set of 16 contiguous
>    class B network numbers, and third block is a set of 256 contiguous
>    class C network numbers.
> 
> 					Jonny
> 
> --
> Joao Carlos Mendes Luis			jonny@gta.ufrj.br
> +55 21 290-4698 ( Job )			jonny@coppe.ufrj.br
> M.Sc. Student				Electrical Engineering
> Universidade Federal do Rio de Janeiro
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-net" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805102239.PAA21595>