incorrect broadcast address.

Jack Bowling jbinpg at shaw.ca
Sat Nov 15 20:38:32 UTC 2003


On Sat, Nov 15, 2003 at 02:29:37PM -0600, Robert G. (Doc) Savage wrote:
> On Fri, 2003-11-14 at 12:51, Aaron Konstam wrote:
> > The network programs on out FC1 machine is calculating the wrong
> > broadcast address. For a machine with ip: 131.194.131.27 and 
> > netmask: 255.255.192.0  the broadcast address should
> > be: 131.194.191.255
> > 
> > However, running ifconfig eth0 I get  Bcast:255.255.191.255
> > 
> > This causes problems with commands that do broadcasts.
> > 
> > Can anyone comment on this or indicate a cure for this error.
> 
> Aaron,
> 
> Here's a datapoint where it works correctly. I have four systems in a
> 192.168.1.0 network behind a gateway router providing NAT and reserved
> DHCP services:
> 
> # ifconfig eth0
> eth0      Link encap:Ethernet  HWaddr 00:03:47:90:C2:D7
>           inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
>           (blah blah blah...)
> 
> Are you using static addressing? If not, what does your DHCP server
> config look like?

Looks like whatever RH program handles ip calculation (route?)
doesn't get it right unless you use the "old" classful netmask schema.

-- 
Jack Bowling
mailto: jbinpg at shaw.ca





More information about the users mailing list