Date: Wed, 12 Aug 1998 04:09:53 -0600 From: "Aaron D. Gifford" <agifford@infowest.com> To: Doug White <dwhite@resnet.uoregon.edu>, questions@FreeBSD.ORG Subject: Re: ipfw problem??? Message-ID: <35D169F1.3129B23C@infowest.com> References: <Pine.BSF.4.00.9808120020260.28795-100000@resnet.uoregon.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35D169F1.3129B23C>