*BSD News Article 56049


Return to BSD News archive

Newsgroups: comp.unix.bsd.bsdi.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!howland.reston.ans.net!ix.netcom.com!news3.noc.netcom.net!zdc!zippo!usenet
From: kish@sri.lanka.net (kish)
Subject: netmask on route command
X-Newsreader: WinVN 0.92.1
Sender: usenet@news.zippo.com
Nntp-Posting-Host: 202.51.128.31
Organization: Lanka Internet Services
Message-ID: <DJ2p5A.9wx@news.zippo.com>
Date: Mon, 4 Dec 1995 17:41:34 GMT
Lines: 19


hi,

from reading the man page oh the route command for bsdi 1.1 it seems 
as if tho u can specify a netmask for a particular route , i.e. as
follows:

route add 202.51.132.16 202.51.132.12 -netmask 255.255.255.240 

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??

thanx,

---kish