Date: Thu, 13 Aug 1998 12:39:59 -0700 (PDT) From: Doug White <dwhite@resnet.uoregon.edu> To: "Aaron D. Gifford" <agifford@infowest.com> Cc: questions@FreeBSD.ORG Subject: Re: ipfw problem??? Message-ID: <Pine.BSF.4.00.9808131239180.11633-100000@resnet.uoregon.edu> In-Reply-To: <35D169F1.3129B23C@infowest.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.00.9808131239180.11633-100000>