incorrect broadcast address.

Robert G. (Doc) Savage dsavage at peaknet.net
Sat Nov 15 20:29:37 UTC 2003


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?

--Doc Savage
  Fairview Heights, IL






More information about the fedora-list mailing list