{
    "content": [
        {
            "type": "text",
            "text": "# ipcalc(1) (man)\n\n**Summary:** ipcalc - An IPv4 Netmask/broadcast/etc calculator\n\n**Synopsis:** ipcalc  [options] ADDRESS[[/]NETMASK] [NETMASK]\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -n | --nocolor | — | Don't display ANSI color codes |\n| -b | --nobinary | — | Suppress the bitwise output |\n| -c | --class | — | Just print bit-count-mask of given address |\n| -h | --html | — | Display results as HTML |\n| -v | --version | — | Print Version |\n| -s | --split | — | Split into networks of size n1, n2, n3 |\n| -r | --range | — | Deaggregate address range |\n\n## Examples\n\n- `ipcalc 192.168.0.1/24`\n- `ipcalc 192.168.0.1/255.255.128.0`\n- `ipcalc 192.168.0.1 255.255.128.0 255.255.192.0`\n- `ipcalc 192.168.0.1 0.0.63.255`\n- `deaggregate address range`\n- `ipcalc <ADDRESS1> - <ADDRESS2>`\n- `split network to subnets where a b c fits in`\n- `ipcalc <ADDRESS>/<NETMASK> -s a b c`\n\n## See Also\n\n- ipsc(1)\n- gipsc(1)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (7 lines) — 7 subsections\n  - -n --nocolor (2 lines)\n  - -b --nobinary (2 lines)\n  - -c --class (2 lines)\n  - -h --html (2 lines)\n  - -v --version (2 lines)\n  - -s --split (2 lines)\n  - -r --range (2 lines)\n- **EXAMPLES** (14 lines)\n- **AUTHOR** (2 lines)\n- **SEE ALSO** (8 lines)\n\n## Full Content\n\n### NAME\n\nipcalc - An IPv4 Netmask/broadcast/etc calculator\n\n### SYNOPSIS\n\nipcalc  [options] ADDRESS[[/]NETMASK] [NETMASK]\n\n### DESCRIPTION\n\nipcalc  takes  an  IPv4  address and netmask and calculates the resulting broadcast, network,\nCisco wildcard mask, and host range. By giving a second netmask, you can design sub- and  su‐\npernetworks.  It  is also intended to be a teaching tool and presents the results as easy-to-\nunderstand binary values.\n\n--help Display help usage\n\n#### -n --nocolor\n\nDon't display ANSI color codes\n\n#### -b --nobinary\n\nSuppress the bitwise output\n\n#### -c --class\n\nJust print bit-count-mask of given address\n\n#### -h --html\n\nDisplay results as HTML\n\n#### -v --version\n\nPrint Version\n\n#### -s --split\n\nSplit into networks of size n1, n2, n3\n\n#### -r --range\n\nDeaggregate address range\n\n### EXAMPLES\n\nipcalc 192.168.0.1/24\n\nipcalc 192.168.0.1/255.255.128.0\n\nipcalc 192.168.0.1 255.255.128.0 255.255.192.0\n\nipcalc 192.168.0.1 0.0.63.255\n\ndeaggregate address range\nipcalc <ADDRESS1> - <ADDRESS2>\n\nsplit network to subnets where a b c fits in\nipcalc <ADDRESS>/<NETMASK> -s a b c\n\n### AUTHOR\n\nWritten by Krischan Jodies <krischan@jodies.de>\n\n### SEE ALSO\n\nipsc(1) gipsc(1)\n\nThe ipcalc website: http://jodies.de/ipcalc\n\n\n\n\n.                                        ipcalc(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "ipcalc",
        "section": "1",
        "mode": "man",
        "summary": "ipcalc - An IPv4 Netmask/broadcast/etc calculator",
        "synopsis": "ipcalc  [options] ADDRESS[[/]NETMASK] [NETMASK]",
        "flags": [
            {
                "flag": "-n",
                "long": "--nocolor",
                "arg": null,
                "description": "Don't display ANSI color codes"
            },
            {
                "flag": "-b",
                "long": "--nobinary",
                "arg": null,
                "description": "Suppress the bitwise output"
            },
            {
                "flag": "-c",
                "long": "--class",
                "arg": null,
                "description": "Just print bit-count-mask of given address"
            },
            {
                "flag": "-h",
                "long": "--html",
                "arg": null,
                "description": "Display results as HTML"
            },
            {
                "flag": "-v",
                "long": "--version",
                "arg": null,
                "description": "Print Version"
            },
            {
                "flag": "-s",
                "long": "--split",
                "arg": null,
                "description": "Split into networks of size n1, n2, n3"
            },
            {
                "flag": "-r",
                "long": "--range",
                "arg": null,
                "description": "Deaggregate address range"
            }
        ],
        "examples": [
            "ipcalc 192.168.0.1/24",
            "ipcalc 192.168.0.1/255.255.128.0",
            "ipcalc 192.168.0.1 255.255.128.0 255.255.192.0",
            "ipcalc 192.168.0.1 0.0.63.255",
            "deaggregate address range",
            "ipcalc <ADDRESS1> - <ADDRESS2>",
            "split network to subnets where a b c fits in",
            "ipcalc <ADDRESS>/<NETMASK> -s a b c"
        ],
        "see_also": [
            {
                "name": "ipsc",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/ipsc/1/json"
            },
            {
                "name": "gipsc",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/gipsc/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 7,
                "subsections": [
                    {
                        "name": "-n --nocolor",
                        "lines": 2,
                        "flag": "-n",
                        "long": "--nocolor"
                    },
                    {
                        "name": "-b --nobinary",
                        "lines": 2,
                        "flag": "-b",
                        "long": "--nobinary"
                    },
                    {
                        "name": "-c --class",
                        "lines": 2,
                        "flag": "-c",
                        "long": "--class"
                    },
                    {
                        "name": "-h --html",
                        "lines": 2,
                        "flag": "-h",
                        "long": "--html"
                    },
                    {
                        "name": "-v --version",
                        "lines": 2,
                        "flag": "-v",
                        "long": "--version"
                    },
                    {
                        "name": "-s --split",
                        "lines": 2,
                        "flag": "-s",
                        "long": "--split"
                    },
                    {
                        "name": "-r --range",
                        "lines": 2,
                        "flag": "-r",
                        "long": "--range"
                    }
                ]
            },
            {
                "name": "EXAMPLES",
                "lines": 14,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 8,
                "subsections": []
            }
        ]
    }
}