On Sun, 25 Mar 2001, Matthew Schalit wrote:
> So I read your followup that I quoted above, and you mention
> that ifconfig should get it right, "if you specify the nemask
> and the IP address." I tried that and is doesn't use those
> two to calculate the broadcast.
>
> $ ifconfig eth0 63.194.213.179 netmask 255.255.255.0
>
> The output shows the correct IP and correct MASK, but the
> BROADCAST was unchanged and still reads 63.255.255.255.0
WOW. I can't believe that ifconfig really needs that info. I couldn't work
out the math for you in writing, but after a year and a half, I can
convert CIDR notation to IP/Netmask and give you a network and broadcast
address in my head in under 5 seconds. The math should be disgustingly
simple to implement, and I'm surprised that it doesn't do it.
I think I need to sit and think about this one. It really threw me for a
loop.
--
George Metz
Commercial Routing Engineer
[EMAIL PROTECTED]
"We know what deterrence was with 'mutually assured destruction' during
the Cold War. But what is deterrence in information warfare?" -- Brigadier
General Douglas Richardson, USAF, Commander - Space Warfare Center
_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-devel