emden-norfolk / cidrl
IP tools for CIDR blocks.
Installs: 6 653
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 3
Forks: 0
Open Issues: 0
Language:C
Requires
- php: >=5.3.0
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