Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 May 1998 19:57:58 -0300 (EST)
From:      Joao Carlos Mendes Luis <jonny@coe.ufrj.br>
To:        jmb@FreeBSD.ORG (Jonathan M. Bresler)
Cc:        jonny@coe.ufrj.br, x5gb7uk9@wna-linknet.com, freebsd-net@FreeBSD.ORG
Subject:   Re: home network
Message-ID:  <199805102257.TAA01239@roma.coe.ufrj.br>
In-Reply-To: <199805102239.PAA21595@hub.freebsd.org> from "Jonathan M. Bresler" at "May 10, 98 03:39:31 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
#define quoting(Jonathan M. Bresler)
// 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.

Hi Jonathan,

  Look again: 0xff000000 is /8, which is not between /16 and /30.

  The broadcast address indicates a netmask of /24, but it may have
been set manually.

					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



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