I've been using the nbt images, and I'm finding that the ipcalc command has changed and is not reporting the prefix properly (or at least what I understand the prefix should be). I used the old one to produce a CIDR number for my firewall.user scripts and other IPSEC related tools. I've created a work around, but I think the PREFIX is not right, as it is always showing up as 8. Here are some notes on the situation.
the one I'm used to reports this...
~# ipcalc
BusyBox v1.00 (2006.02.18-21:41+0000) multi-call binary
Usage: ipcalc [OPTION]... <ADDRESS>[[/]<NETMASK>] [NETMASK]
Calculate IP network settings from a IP address
Options:
-b --broadcast Display calculated broadcast address.
-n --network Display calculated network address.
-m --netmask Display default netmask for IP.
-p --prefix Display the prefix for IP/NETMASK. -h --hostname Display first resolved host name.
-s --silent Don't ever display error messages.
And the new one shows this...
~# ipcalc
IP=0
NETMASK=0
BROADCAST=255.255.255.255
NETWORK=0
PREFIX=0
I've found that ipcalc also shows up in the /etc/init.d/S50dnsmasq script so I'm sure there was a reason for changing the functionality of this, but I don't understand it, and I can't seem to make it report a correct prefix.
Thanks
-hanz