summaryrefslogtreecommitdiff
path: root/README
blob: eaf460818a74f0eddd4cd1c6c86f225aca7a30ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
tools:

ipgen: generates IPs based on IP and netmask.
example: ipgen 192.168.0.4 255.255.255.252
outputs:
192.168.0.4
192.168.0.5
192.168.0.6
192.168.0.7

cidr: converts cidr notation to IP and netmask.
example: cidr 192.168.0.4/30
outputs:
192.168.0.4 255.255.255.252

these two programs were made to be used together like:

ipgen $(cidr 192.168.0.4/30)