ifconfig -a error?

ifconfig -a error?

Post by Bill Wyz » Tue, 24 Nov 1998 04:00:00



When I run ifconfig -a i get a response that has

inet 138.1.84.70
broadcast 138.1.87.255

Why is broadcast not 138.1.84.255??

 
 
 

ifconfig -a error?

Post by Thad Toucht » Tue, 24 Nov 1998 04:00:00


That would be correct, assuming you have a 21 bit subnet mask (255.255.248.0).

subnet mask     255.255.{1111 1000}.0           255.255.248.0
inet            138.001.{0101 0100}.70  138.1.84.70
broadcast       138.001.{0101 0111}.255 138.1.87.255

Thad Touchton


>When I run ifconfig -a i get a response that has

>inet 138.1.84.70
>broadcast 138.1.87.255

>Why is broadcast not 138.1.84.255??


 
 
 

1. Weird ifconfig error: ifconfig: ioctl (SIOCAIFADDR): File exists

Hello,

my company has a colocated server with 8 ip addresses.
This sunday I cvsupped it to 4-stable. Before I rebooted I had 8 ip adresses
with subnetmask 255.255.255.0.
After the reboot it seemed that the ip adresses didn't work. When I tried:
/sbin/ifconfig fxp0 alias 217.xxx.xxx.xxx it says:
ioctl(SIOCAIFADDR): File exists

This doesn't seem logic to me.
When I try adding it with subnetmask 255.255.255.255 it works. This ip is
accessible. However this doesn't
seem logic to me because it shouldn't be able to reach it's gateway?

Anyone who knows an answer to this?

Ruben van Gogh

2. Sony News port

3. ifconfig le0 and ifconfig le1 show same MAC address

4. Apache 1.3.9 ScriptAlias question

5. ifconfig -a = ifconfig: ioctl (SIOCGIFFLAGS): no such interface

6. BOYCOTT JUMBO was: Re: Arrrrgh!! JUMBO GOOFED! -- Big Time!!

7. TX error during ifconfig

8. HELP HELP HELP

9. ifconfig SIOCSIFFLAGS error, Intel EtherExpress card, 1.3.4 kernel

10. 0821-515 ifconfig: error loading /usr/lib/drivers/if_/=.q/=.|/=.?/=.?/

11. ifconfig showing lots of errors

12. EAGAIN Try Again = interrupt conflict (was Re: ifconfig SIOCSIFFLAGS error)

13. ifconfig errors