From owner-freebsd-questions Fri Dec 10 11:23:40 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 5F86615A76 for ; Fri, 10 Dec 1999 11:13:09 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id OAA63506; Fri, 10 Dec 1999 14:17:25 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199912101917.OAA63506@cc942873-a.ewndsr1.nj.home.com> Subject: Re: A networking problem In-Reply-To: <38513634.230E57A4@journalstar.com> from Tony Wells at "Dec 10, 1999 11:19:48 am" To: awells@journalstar.com (Tony Wells) Date: Fri, 10 Dec 1999 14:17:25 -0500 (EST) Cc: freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Tony Wells wrote, > Alex Charalabidis wrote: > > > > On Fri, 10 Dec 1999, Tony Wells wrote: > > > > > I can't ping the router or any of the other machines on the subnet. > > > This is a machine I'm colocating which happens to be about 50 miles from > > > my present location so it's kind of a pain to troubleshoot. I don't > > > need to run routed since I just need to get to the gateway do I? Is > > > there anyway that the router could be poisoning my routing table? > > > > > > I also noticed that entry in the routing table: > > > 206.103.113.194/27 link#1 UC > > > > > > With a netmask of 255.255.255.224, shouldn't it show: > > > 206.103.113.194/29 link#1 ? (I'm assuming that the numbers after the / > > > are the number of bits allocated to the host address.) > > > > > Actually, it should be 206.103.113.192/27 > > What are the numbers after the / in the IP address of netstat -rn? I > looked in the manpage and on the web but haven't been able to find any > information. The number of bits in the network mask. Your netmask is 255.255.255.224 which is 0xffffffe0. If we count the bits in that from the left byte-by-byte, we get, 8 + 8 + 8 + 3 = 27 So, any IP address where ((your_ip&netmask)==(other_ip&netmask)) -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message