From owner-freebsd-questions Thu Aug 13 12:40:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA26523 for freebsd-questions-outgoing; Thu, 13 Aug 1998 12:40:34 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA26512 for ; Thu, 13 Aug 1998 12:40:29 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.5/8.8.8) with SMTP id MAA21652; Thu, 13 Aug 1998 12:40:00 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Thu, 13 Aug 1998 12:39:59 -0700 (PDT) From: Doug White To: "Aaron D. Gifford" cc: questions@FreeBSD.ORG Subject: Re: ipfw problem??? In-Reply-To: <35D169F1.3129B23C@infowest.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 12 Aug 1998, Aaron D. Gifford wrote: > 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. > 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. Well, you didn't mention that it was a PPP link ;) I assumed it was an Ethernet link. > 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. That happens. :) > Again, thanks for the reply. No problem. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message