From owner-freebsd-hackers Sat Aug 23 05:51:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA11095 for hackers-outgoing; Sat, 23 Aug 1997 05:51:36 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id FAA11078 for ; Sat, 23 Aug 1997 05:51:32 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id OAA17022 for FreeBSD-hackers@FreeBSD.ORG; Sat, 23 Aug 1997 14:51:31 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.7/8.8.5) id OAA11676; Sat, 23 Aug 1997 14:38:13 +0200 (MET DST) Message-ID: <19970823143813.EY59755@uriah.heep.sax.de> Date: Sat, 23 Aug 1997 14:38:13 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: FreeBSD-hackers@FreeBSD.ORG (FreeBSD-hackers) Subject: Re: broadcast question References: <199708231004.MAA05509@gvr.gvr.org> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199708231004.MAA05509@gvr.gvr.org>; from Guido van Rooij on Aug 23, 1997 12:04:50 +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Guido van Rooij wrote: > If I have a host in a subnetted C-net, say 192.1.1.0/28 > and I send an icmp echo request to the broadcast address of the C-net > (so NOT to 192.1.1.15) the 2.1.7 stack does send an echo reply > but the 2.2 stack does not. > So an all-subnets directed broadcast seems to be ignored on 2.2 > stacks...I think this broken, yet fail to see where it was broken. I think 2.1.x was broken. What is an ``all-subnets'' broadcast in a CIDR world? Forget about class A/B/C, forget the term `subnet', they don't exist anymore. (*) The address 192.1.1.255 is not in any way a valid broadcast address for net 192.1.1.0/28, it's a valid broadcast address for 192.1.1.128/25, or maybe for 192.1.1.240/28 (which are entirely different networks from 192.1.1.0/28). (*) The only meaning of the historic classes A/B/C that does still exist is that they determine the default netmask if nothing else has been specified in ifconfig(8), or route(8), etc. This can sometimes be convenient to type. 255.255.255.255 should work, i believe. I'm surprised 2.1.x was still broken in this respect. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)