Bikeshed time ! :-)

----- Original Message ----- 
From: "Valentin Nechayev" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, March 25, 2001 3:08 PM
Subject: Re: /etc/exports: 192.168.5 = 192.168.0.5


> > > /var -alldirs -maproot=root: -network 192.168.5 -mask 255.255.255.0
> > > showmount -e showed 192.168.5 was being interpreted as 192.168.0.5
> > This is the correct interpretation.
> > > Changing -network to 192.168.5.0 fixed it, naturally, but the 192.168.5
> > > used to work.
> > It was broken, then. :-)
> 
> 192.168.5 should be interpreted as 192.168.0.5 in host address context,
> but as 192.168.5.0 in network address context. (Such network address
> context is well seen in sentences such as "10/8", "192.168/16".)
> 
> netch@iv:~/tmp>netstat -rn | grep 192
> 192/8              127.0.0.1          UGSc        0        0      lo0
> 
> In case in question, when -network prefix is occured, parsing should
> be performed with network address context, not host address context.
> 
> 
> /netch
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
> 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to