This package is abandoned and no longer maintained. The author suggests using the s1lentium/iptools package instead.

IP tools for CIDR blocks.

1.0.0 2017-06-15 05:49 UTC

This package is not auto-updated.

Last update: 2023-02-17 18:35:59 UTC


README

List all IP Addresses within a CIDR block (IPv4 and IPv6.)

Installation

git clone git@github.com:emden-norfolk/cidrl.git
cd cidrl
make
sudo make install

Usage

cidrl for IPv4

$ cidrl 192.168.50.16/29
192.168.50.16
192.168.50.17
192.168.50.18
192.168.50.19
192.168.50.20
192.168.50.21
192.168.50.22
192.168.50.23

cidrl6 for IPv6

$ cidrl6 fa01::0000:0a10/124
fa01::a10
fa01::a11
fa01::a12
fa01::a13
fa01::a14
fa01::a15
fa01::a16
fa01::a17
fa01::a18
fa01::a19
fa01::a1a
fa01::a1b
fa01::a1c
fa01::a1d
fa01::a1e
fa01::a1f

Author

2017 Damien Bezborodow