[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: calcoli di subnet broadcast etc

Grazie, era quello che mi serviva

2005/9/28, Claudio M. <debian@cmaffio.it>:
Alle 23:26, martedì 27 settembre 2005, Gianluca Gargiulo ha scritto:
> Ciao a tutti,
> qualcuno conosce qualche risorsa che insegni a capirci qualcosa su netmask,
> broadcast, network, ovvero principi e calcolo?
> anche qualche risorsa che li calcoli in automatico?
apt-get install aptcalc

E' un programmino da shell che dato IP e subnet ti da molte informazioni

pb# ipcalc
Usage: ipcalc [options] <ADDRESS>[[/]<NETMASK>] [NETMASK]

ipcalc takes an IP address and netmask and calculates the resulting broadcast,
network, Cisco wildcard mask, and host range. By giving a second netmask, you
can design sub- and supernetworks. It is also intended to be a teaching tool
and presents the results as easy-to-understand binary values.

-n --nocolor  Don't display ANSI color codes.
-b --nobinary Suppress the bitwise output.
-c --class    Just print bit-count-mask of given address.
-h --html     Display results as HTML (not finished in this version).
-v --version  Print Version.
-s --split n1 n2 n3
               Split into networks of size n1, n2, n3.
-r --range    Deaggregate address range.
    --help     Longer help text.



ipcalc <ADDRESS1> - <ADDRESS2>  deaggregate address range

ipcalc <ADDRESS>/<NETMASK> --s a b c
                                split network to subnets
                                where a b c fits in.

Spero di esserti stato di aiuto


Reply to: