メインコンテンツへスキップ

ワイルドカードマスク計算ツール

サブネットマスクからワイルドカードマスクを、またはワイルドカードマスクからサブネットマスクを計算します。

Inputs

Enter a subnet mask (e.g. 255.255.255.0) or a wildcard mask (e.g. 0.0.0.255)

Mask Details

Results will appear here.

Wildcard masks are the inverse of subnet masks and are used extensively in Cisco ACLs, OSPF network statements, and other router configurations where you want to specify which bits of an address must match. Getting the wildcard mask wrong is one of the most common sources of misconfigured access lists, leading to either over-permissive rules or blocked legitimate traffic.

This tool computes the wildcard mask for any subnet mask or CIDR prefix. It also works in reverse — given a wildcard mask, it derives the corresponding subnet mask — making it useful for both writing new rules and interpreting existing ones in router configurations or audit reports.

オンラインでワイルドカードマスクを計算する方法

  1. 1

    サブネットマスクまたはプレフィックス長を入力

    ドット区切り10進数(例: 255.255.255.0)でサブネットマスクを入力するか、CIDRプレフィックス長(例: /24)を入力します。ツールは対応するワイルドカードマスクを自動計算します。

  2. 2

    ワイルドカードマスクを確認

    ツールはワイルドカードマスク(例: 0.0.0.255)を即時表示します。Cisco IOS ACLまたはOSPF設定に直接使用できます。

  3. 3

    コピーして適用

    ワイルドカードマスクをクリップボードにコピーして、ルーターまたはファイアウォール設定に貼り付けます。

How Wildcard Masks Work

A wildcard mask is the bitwise complement of the subnet mask. Where the subnet mask has a 1 bit (network portion), the wildcard mask has a 0 (must match); where the subnet mask has a 0 bit (host portion), the wildcard mask has a 1 (any value matches). A wildcard of 0.0.0.255 applied to 192.168.1.0 matches all addresses from 192.168.1.0 to 192.168.1.255.

Unlike subnet masks, wildcard masks do not need to be contiguous. Cisco IOS uses non-contiguous wildcards to match non-contiguous address sets — for example, matching every even-numbered host in a range. This tool focuses on the standard contiguous case, which covers the vast majority of real-world configurations.

FileCrank ワイルドカードマスク計算機を使う理由

  • ✓ サブネットマスクまたはCIDRプレフィックス長からワイルドカードマスクを即時計算
  • ✓ 標準IPv4サブネットサイズをすべてサポート
  • ✓ 完全ブラウザ内で動作 — データを転送しない
  • ✓ 登録不要で無料
  • ✓ Cisco ACL、OSPF、ファイアウォール設定に最適

機能と仕様

最大ファイルサイズ
最大100 MB
プライバシー
ファイルは約1時間後に削除されます
料金
無料、登録不要
処理方式
サーバーサイド
対応プロトコル
IPv4
処理
ブラウザローカル
データ保持
なし
費用
無料
計算はブラウザ内でローカルに完結 — サーバーにデータを送信しません。登録不要。無料 — 隠れた料金なし。

よくある質問

How do I use the Wildcard Mask Calculator?

Enter a subnet mask (e.g., 255.255.255.0) or CIDR prefix (e.g., /24) and the tool instantly calculates the equivalent wildcard mask (e.g., 0.0.0.255).

What is a wildcard mask?

A wildcard mask specifies which bits in an address must match and which can vary. In a wildcard mask, 0 = must match, 1 = can vary. It is the bitwise inverse of a subnet mask.

What is the difference between a subnet mask and a wildcard mask?

A subnet mask divides an address into network and host portions (1s = network, 0s = host). A wildcard mask specifies matching rules (0 = must match, 1 = can vary). They are binary inverses of each other.

When do you use wildcard masks in ACLs?

Wildcard masks are used in Cisco access control lists (ACLs) to specify which packets to permit or deny. For example, 'permit tcp any 192.168.1.0 0.0.0.255' permits traffic to any host in the 192.168.1.0/24 network.

Does the calculator send my data anywhere?

No. All wildcard mask calculations run entirely in your browser using binary inversion. Your network configuration data stays on your device.

Is this tool useful for CCNA exam preparation?

Yes. Understanding wildcard masks is essential for CCNA exam success, especially for access list configuration and route filtering. This tool helps you practice mask calculations quickly.

Wildcard Calculator vs. Subnet Calculator

Most subnet calculators include the wildcard mask as one field among many, burying it in output alongside network and broadcast addresses. This tool makes the wildcard mask the primary focus, accepting either a subnet mask or CIDR prefix as input and returning the wildcard immediately — optimised for the specific workflow of writing or reviewing router ACLs.

FileCrank ワイルドカードマスク計算機はサブネットマスクまたはCIDRプレフィックス長からワイルドカードマスクを計算します。Cisco ACLとOSPF設定に最適です。計算はブラウザ内でローカルに完結し、データを保存しません。アカウント不要で無料。

Advertisement

Ad