Ipcalc is a simple tool to calculate network, broadcast, netmask, etc. from an IP address.

It also gives the class of the IP. It might facilitate the work of network admins.

Here is an example of using it against a “local” IP address:

Example 1:

Deb:~# ipcalc
Address: 11000000.10101000.00000100. 00011001
Netmask: = 24 11111111.11111111.11111111. 00000000
Wildcard: 00000000.00000000.00000000. 11111111
Network: 11000000.10101000.00000100. 00000000
HostMin: 11000000.10101000.00000100. 00000001
HostMax: 11000000.10101000.00000100. 11111110
Broadcast: 11000000.10101000.00000100. 11111111
Hosts/Net: 254 Class C, Private Internet

Continue Reading…

Step 1. Open the network configuration file (pico /etc/network/interfaces)

Check the name of your network interface. You should see a line similar to this one: “iface eth0 inet static”. In my case the name is eth0.

Add these lines to the end of the file:

auto eth0:1

iface eth0:1 inet static





Continue Reading…

Page 1 of 11