Re: Broadcast

2000-11-01 Thread Richard B. Johnson
On Wed, 1 Nov 2000, Dennis Bjorklund wrote: > On Wed, 1 Nov 2000, Richard B. Johnson wrote: > > > > I'm trying to turn of the broadcast flag for a network card. But I > > > can't, why?? > > > > Your version of `ifconfig` is probably broken (just like mine). > > `strace` it and see: > > ioctl(5,

Re: Broadcast

2000-11-01 Thread Dennis Bjorklund
On Wed, 1 Nov 2000, Dennis Bjorklund wrote: > > ioctl(5, SIOCGIFFLAGS, 0xb620) = 0 > > ioctl(5, SIOCSIFFLAGS, 0xb620) = 0 > > > > In this case the flags were gotten with SIOCGIFFLAGS, then the > > exact same stuff was written back with SIOCSIFFLAGS. > > IFF_BROADCAST is bit nu

Re: Broadcast

2000-11-01 Thread Dennis Bjorklund
On Wed, 1 Nov 2000, Richard B. Johnson wrote: > > I'm trying to turn of the broadcast flag for a network card. But I > > can't, why?? > > Your version of `ifconfig` is probably broken (just like mine). > `strace` it and see: > ioctl(5, SIOCGIFFLAGS, 0xb620) = 0 > ioctl(5, SIOCSIFFLAGS,

Re: Broadcast

2000-11-01 Thread Richard B. Johnson
On Wed, 1 Nov 2000, Dennis Bjorklund wrote: > I'm trying to turn of the broadcast flag for a network card. But I > can't, why?? > Your version of `ifconfig` is probably broken (just like mine). `strace` it and see: ioctl(5, SIOCGIFFLAGS, 0xb620) = 0 ioctl(5, SIOCSIFFLAGS, 0xb620)

Re: Broadcast

2000-11-01 Thread Dennis Bjorklund
On Wed, 1 Nov 2000, William T Wilson wrote: > If rwhod doesn't have an option as to which address to bind to, your only > choice is to block its communication with ipchains. I don't think you can specify the addresses. It looks at the interfaces and sends to the ones that can broadcast. I have

Re: Broadcast

2000-11-01 Thread Rik van Riel
On Wed, 1 Nov 2000, Dennis Bjorklund wrote: > I'm trying to turn of the broadcast flag for a network card. But > I can't, why?? Because ethernet is a broadcast medium (in contrast to P-t-P media) > eth1 Link encap:Ethernet HWaddr 00:50:BA:6E:76:63 > inet addr:192.168.0.1 Bcas

Re: Broadcast

2000-11-01 Thread William T Wilson
On Wed, 1 Nov 2000, Dennis Bjorklund wrote: > I'm trying to turn of the broadcast flag for a network card. But I > can't, why?? Broadcast determines the type of connection - broadcast or point-to-point (there can be other types also, but you will not see them much). You wouldn't want to do this