Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Dec 1999 14:17:25 -0500 (EST)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        awells@journalstar.com (Tony Wells)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: A networking problem
Message-ID:  <199912101917.OAA63506@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <38513634.230E57A4@journalstar.com> from Tony Wells at "Dec 10, 1999 11:19:48 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912101917.OAA63506>