On Fri, 23 Nov 2007 17:55:39 -0600
[EMAIL PROTECTED] wrote:

> You won't need to stipulate brdcast address in my own experience.
> I'm not sure you even need to list the netmask  but I always do.
> I've never listed broadcast address and have'nt had any problems.

you don't have to list the broadcast or netmask, if they can be guessed
from context.  In the case of using a 192.168.x/24 network they can
generally both be guessed properly, because that's a Class C private
address . 

However, in the case of 10.0.0/24, this may not be true.  that is
defined as class A private address space, and the networking utilities
would probably assume it was 10.0.0/8, a netmask of 255.0.0.0 and a
broadcast of 10.255.255.255.  That is what ifconfig does at least:

pascal ~ # ifconfig eth0:1 10.0.0.1
pascal ~ # ifconfig eth0:1
eth0:1    Link encap:Ethernet  HWaddr 00:50:70:56:2E:CA  
          inet addr:10.0.0.1  Bcast:10.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:225 Base address:0xc000 

ifconfig is probably being used to configure your interfaces, unless
you switched to iproute2.  
-- 
[EMAIL PROTECTED] mailing list

Reply via email to