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

next in thread | previous in thread | raw e-mail | index | archive | help
Joao Carlos Mendes Luis wrote:
> #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.

	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



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