ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dmitry Lebkov <dima@sakhalin.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Маска сети - входит ли адрес...
Date: Sun, 30 May 2004 12:46:34 +1100
Message-ID: <20040530124634.34d1d5d6.dima@sakhalin.ru> (raw)
In-Reply-To: <624443515.20040530011328@fxp.ru>

On Sun, 30 May 2004 01:13:28 +0400
"Anatol A. Ivanov" <anatol@fxp.ru> wrote:

> Здравствуйте, community.
> 
> Помогите разобраться с маской подсети, необходимо определить входит ли
> адрес: 212.24.38.xx
> 
> в список сетей из:
> 
> 212.17.0.0/19
> 212.20.0.0/18
> 212.26.224.0/19
> 212.28.64.0/19
> 212.32.192.0/19
> 
> Есть ли какие-нибудь программы, которые помогают определять это.

man ipcalc.

$ ipcalc -n 212.24.38.1/19
NETWORK=212.24.32.0

$ ipcalc -n 212.24.38.1/18
NETWORK=212.24.0.0

Ни одна из NETWORK'ов не входит в приведенный тобой список. Следовательно,
адрес не входит в перечисленные тобой блоки.

--
WBR, Dmitry Lebkov


  reply	other threads:[~2004-05-30  1:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-29 21:13 Anatol A. Ivanov
2004-05-30  1:46 ` Dmitry Lebkov [this message]
2004-06-01 12:05 ` Max
2004-06-01 12:39   ` Mike Lykov
2004-06-01 12:40     ` Re[2]: " Max
2004-06-01 13:48       ` Александр Новосёлов
2004-06-01 13:51         ` Re[2]: " Max
2004-06-01 13:02     ` Nick S. Grechukh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040530124634.34d1d5d6.dima@sakhalin.ru \
    --to=dima@sakhalin.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git