Re: incorrect broadcast address.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2003-11-14 at 20:14, Kwan Lowe wrote:
> 
> >
> > On Fri, Nov 14, 2003 at 12:51:31PM -0600, 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.
> >> --
> > I have a perfect record. Three postings about problems with yarrow
> > and no one has an answer. Could some one look if their broadcast
> > address is reported correctly wqhen you run: 
> > ifconfig eth0
> > and let me know so at least I would
> > know it is possible even if I don't know how to make my system do it.
> > Obviously I don't want several hundred responses so we can stop
> > after 2 or 3.
> 
> 
> [root@phi root]# ifconfig -a
> eth0  Link encap:Ethernet  HWaddr 00:0C:29:84:7E:25
>       inet addr:192.168.8.32  Bcast:192.168.8.255  Mask:255.255.255.
>  [..]
> 
> [root@phi root]# ifconfig eth0 131.194.131.27 netmask 255.255.192.0
> [root@phi root]# ifconfig -a
> eth0   Link encap:Ethernet  HWaddr 00:0C:29:84:7E:25
>        inet addr:131.194.131.27  Bcast:131.194.255.255  Mask:255.255.192.0
>  [..]
> 

does the same here

I would bugzilla this fast. I wonder if the probs some folks are having
is caused by this sort of thing.

There may be some reason this is ont working but I do not know what it
is


[root@test1 root]# ifconfig eth0:1 131.194.131.27 netmask 255.255.192.0

[root@test1 root]# ifconfig eth0:1
eth0:1    Link encap:Ethernet  HWaddr 00:30:84:3E:96:59  
          inet addr:131.194.131.27  Bcast:131.194.255.255 
Mask:255.255.192.0
          UP BROADCAST NOTRAILERS RUNNING  MTU:1500  Metric:1
          Interrupt:10 Base address:0x9f00 


for reference:
[bhughes@bretsony bin]$ ipcalc.pl 131.194.131.27 255.255.192.0

Address:   131.194.131.27        10000011.11000010.10 000011.00011011
Netmask:   255.255.192.0 = 18    11111111.11111111.11 000000.00000000
Wildcard:  0.0.63.255            00000000.00000000.00 111111.11111111
=>
Network:   131.194.128.0/18      10000011.11000010.10 000000.00000000
(Class B)
Broadcast: 131.194.191.255       10000011.11000010.10 111111.11111111
HostMin:   131.194.128.1         10000011.11000010.10 000000.00000001
HostMax:   131.194.191.254       10000011.11000010.10 111111.11111110
Hosts/Net: 16382                 


Bret




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux