From owner-freebsd-questions Wed Aug 12 03:11:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA04229 for freebsd-questions-outgoing; Wed, 12 Aug 1998 03:11:12 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from infowest.com (infowest.com [204.17.177.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA04212 for ; Wed, 12 Aug 1998 03:11:02 -0700 (PDT) (envelope-from agifford@infowest.com) Received: from infowest.com (eq.net [207.49.60.250]) by infowest.com (8.8.8/8.8.8) with ESMTP id EAA22627; Wed, 12 Aug 1998 04:10:04 -0600 (MDT) Message-ID: <35D169F1.3129B23C@infowest.com> Date: Wed, 12 Aug 1998 04:09:53 -0600 From: "Aaron D. Gifford" X-Mailer: Mozilla 4.05 [en] (X11; U; FreeBSD 2.2.7-STABLE i386) MIME-Version: 1.0 To: Doug White , questions@FreeBSD.ORG Subject: Re: ipfw problem??? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug White wrote: > > On Mon, 10 Aug 1998, Aaron D. Gifford wrote: > > > Something's weird with my ipfw setup. It seems to work perfectly as I > > expected except for this tiny bit of weirdness. My ipfw setup lets me > > ping and traceroute and telnet to my heart's content EXCEPT when the > > remote address is within the same class C address space as my own > > dynamically assigned IP number. Then I get "sendto: Permission denied." > > errors left and right. Why is this? I checked my netmask via 'netstat > > -in' and sure enough, my netmask is 255.255.255.255. What's going on > > here? > > Your netmask is wrong. 255.255.255.255 is not a valid netmask for a > standard class C, it should be 255.255.255.0. > > Doug White | University of Oregon > Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant > http://gladstone.uoregon.edu/~dwhite | Computer Science Major Thanks for your reply. I notice you take a lot of time to be very helpful answering all manner of questions on the FreeBSD lists. I appreciate it, and I'm sure others do as well. The world needs more helpful folks like you! I must respectfully disagree, however. The netmask I used above, 255.255.255.255 is perfectly valid in my situation, since my computer is at the end of a PPP connection and does not have a directly connected network of its own to talk to except through the PPP connection. All traffic, even that to other addresses on the same class C still has to be routed via the default route to my ISP. As for the problem I described in my previous message, I managed to solve it shortly after posting. Doesn't it always seem to happen that way? *grin* I feel somewhat foolish. It was a simple routing table problem. An old routing table entry existed from a previous PPP connection that I'd killed and so it never got a chance to clean up the routes when it terminated. Once I got rid of the old entry, my ipfw weirdness went away. Again, thanks for the reply. Sincerely. Aaron Gifford To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message