From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Message-ID: <47BAE521.3090702@mail.ru> Date: Tue, 19 Feb 2008 17:18:09 +0300 From: Vladimir Karpinsky User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: slava@tangramltd.com, ALT Linux Community general discussions References: <47BAE282.6010105@tangramltd.com> In-Reply-To: <47BAE282.6010105@tangramltd.com> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-Antivirus: Dr.Web (R) for Mail Servers on geo host X-Antivirus: avast! (VPS 080218-0, 18.02.2008), Outbound message X-Antivirus-Status: Clean X-Antivirus-Code: 100000 Subject: Re: [Comm] =?koi8-r?b?8NLP18XSy8Eg0M8gcmVnZXhwINfIz9bExc7J0SBJUCDX?= =?koi8-r?b?INDPxNPF1Ng=?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2008 14:18:19 -0000 Archived-At: List-Archive: List-Post: Slava Dubrovskiy пишет: > Подскажите пожалуйста, как проверить с помощью regexp входит ли IP в > подсеть? > > Например: сеть дана в виде 192.168.1.0/24 > Как проверить при помощи regexp входит ли IP 192.168.1.5 в эту подсеть? ipcalc и его man -- С уважением, Владимир