From owner-freebsd-questions Sat Apr 4 11:21:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA29753 for freebsd-questions-outgoing; Sat, 4 Apr 1998 11:21:02 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA29718 for ; Sat, 4 Apr 1998 11:20:55 -0800 (PST) (envelope-from markem@primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.8/8.8.8) id MAA20146; Sat, 4 Apr 1998 12:20:53 -0700 (MST) Received: from xdsl-ip47-064.phx.primenet.com(207.218.25.64), claiming to be "dad" via SMTP by smtp03.primenet.com, id smtpd020132; Sat Apr 4 12:20:46 1998 Message-Id: <3.0.5.32.19980404121813.009ae350@pop.primenet.com> X-Sender: markem@pop.primenet.com X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Sat, 04 Apr 1998 12:18:13 To: Dan Busarow From: "M. Monninger" Subject: Re: Invalid netmask? Cc: "freebsd-questions@FreeBSD.ORG" In-Reply-To: References: <3.0.5.32.19980404102923.009ac3c0@pop.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 10:52 AM 4/4/98 -0800, Dan Busarow wrote: >On Sat, 4 Apr 1998, M. Monninger wrote: >> Question: Is a netmask of 255.255.255.255 valid? > >Perfectly valid. > >Send the usual netstat -in and netstat -rn output with the >255.255.255.255 netmask in place. > >Dan OK...the netstat output is attached. My understanding has always been that the netmask defines the network portion of the address (the 1 bits) and the the rest (the 0 bits) are the node addresses. How can you have any nodes addresses if the entire address is the network address? Not flaming, just trying to understand. At any rate, it does not work with 255.255.255.255 as a netmask. I get Network is unreachable. Hmmm...I'm also running natd. Wonder if that could be part of it??? In the attached stuff, the 192.168.1.x addresses are my LAN, the 207.218.25.x addresses are the ISP via a dsl line. There does not appear to be a default routiong but when I try to add it I get the Network is unreachable from route. It's been running fine for months but yesterday they changed the netmask and it hasn't worked since (unless I manually set it up). Any help on this will be greatly appreciated. Many thanks... Mark netstat -in Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll ed0 1500 00.40.95.e2.0f.92 22091 0 18367 0 3 ed0 1500 207.218.25.64 207.218.25.64 22091 0 18367 0 3 ed1 1500 00.40.05.4f.c2.68 36032 0 40529 0 0 ed1 1500 192.168.1 192.168.1.5 36032 0 40529 0 0 lp0* 1500 0 0 0 0 0 lo0 16384 3 0 3 0 0 lo0 16384 127 127.0.0.1 3 0 3 0 0 # netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 0 3 lo0 192.168.1 link#2 UC 0 0 192.168.1.1 0:40:95:0:f0:77 UHLW 1 30023 ed1 1052 192.168.1.3 2:60:8c:b:6f:8e UHLW 0 4988 ed1 370 207.218.25.64/32 link#1 UC 0 0 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message