From owner-freebsd-net Sun May 10 16:11:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA25011 for freebsd-net-outgoing; Sun, 10 May 1998 16:11:06 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: (from jmb@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA24977; Sun, 10 May 1998 16:10:28 -0700 (PDT) (envelope-from jmb) From: "Jonathan M. Bresler" Message-Id: <199805102310.QAA24977@hub.freebsd.org> Subject: Re: home network In-Reply-To: <199805102257.TAA01239@roma.coe.ufrj.br> from Joao Carlos Mendes Luis at "May 10, 98 07:57:58 pm" To: jonny@coe.ufrj.br (Joao Carlos Mendes Luis) Date: Sun, 10 May 1998 16:10:28 -0700 (PDT) Cc: jmb@FreeBSD.ORG, jonny@coe.ufrj.br, x5gb7uk9@wna-linknet.com, freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Joao Carlos Mendes Luis wrote: > #define quoting(Jonathan M. Bresler) > // Joao Carlos Mendes Luis wrote: > // > #define quoting(Arnold J. Rimmer) > // > // ed0: flags=8843 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. gack!!!!!! my apologies. you are clearly correct. gawd how did i miss that....must hvae jumped right to the broadcast address. Arnold J. Rimmer you have got to fix your netmask. take a look in /etc/rc.conf. try: ifconfig_ed0="inet 192.168.1.2 netmask 255.255.255.0...." "..." because i dont know if you have additional arguments or not. my 3c509 has AUI/BNC/UTP so i use ifconfig_ep0="inet 192.168.250.1 netmask 255.255.255.0 link2" jmb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message