Changes between Version 9 and Version 10 of TipAndDoc/network


Ignore:
Timestamp:
Jul 1, 2009 1:57:32 AM (15 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/network

    v9 v10  
    5555   * sysctl -w net.ipv4.tcp_syncookies=1 
    5656   * /etc/sysctl.conf > net.ipv4.tcp_syncookies=1 
     57 
     58 = calculate netmask = 
     59 * ipcount <= perlのNet::IPモジュールに含まれる 
     60   * aptitude install libnet-ip-perl 
     61     * /usr/share/doc/libnet-ip-perl/examples/ipcount 
     62{{{ 
     63Usage: 
     64        ipcount [-r] [-d <prefix>] address 
     65 
     66        -r: Print Reverse Ranges 
     67        -d <prefix>: Cut down the original prefix in several prefixes 
     68 
     69The address range can be one of: 
     70 
     71ipcount IP + size 
     72ipcount IP1 - IP2 
     73ipcount IP/len 
     74}}} 
     75 * via [http://linux.mini13i.gotdns.org/?tool%2Fnetmask%B7%D7%BB%BB tool/netmask計算 - Linux Tips]