*BSD News Article 56013


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!yarrina.connect.com.au!munnari.OZ.AU!spool.mu.edu!agate!ihnp4.ucsd.edu!swrinde!newsfeed.internetmci.com!news.kei.com!newsstand.cit.cornell.edu!newsstand.cit.cornell.edu!jch
From: jch@nr-atp.cit.cornell.edu (Jeffrey C Honig)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: netmask on route command
Date: 04 Dec 1995 21:05:56 GMT
Organization: Berkeley Software Design, Inc.; Ithaca, NY USA
Lines: 12
Sender: jch1@cornell.edu (Verified)
Message-ID: <JCH.95Dec4160556@birddog.cit.cornell.edu>
References: <DJ2p5A.9wx@news.zippo.com>
NNTP-Posting-Host: birddog.cit.cornell.edu
In-reply-to: kish@sri.lanka.net's message of Mon, 4 Dec 1995 17:41:34 GMT

In article <DJ2p5A.9wx@news.zippo.com> kish@sri.lanka.net (kish) writes:
   I have used this facility to implement ip subnetting
   for dial up subnets, i.e. subnet the class C address 202.51.132.0 into
   several  subnets.. and it seems to work fine. However when i 
   try to view the netmask using the route get command the netmask 
   for route is shown as fffff0ff instead of fffffff0 . can anyone
   explain why this happens??

The netmasks are installed in network byte order and they were not
properly converted into host byte order before being printed.  

Jeff