incorrect broadcast address.
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: 18.104.22.168 and
> > netmask: 255.255.192.0 the broadcast address should
> > be: 22.214.171.124
> > 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.
> 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.
mailto: jbinpg at shaw.ca
More information about the fedora-list