All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] setting promisc with iproute2
@ 2003-05-23 13:34 Padraig Brady
  2003-05-23 13:55 ` Martin A. Brown
  2003-05-23 14:20 ` Padraig Brady
  0 siblings, 2 replies; 3+ messages in thread
From: Padraig Brady @ 2003-05-23 13:34 UTC (permalink / raw)
  To: lartc

What's the equivalent of `ifconfig eth0 promisc`
using the ip command. The documentation says
that promisc is an obsolete flag?

thanks,
Pádraig.

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] setting promisc with iproute2
  2003-05-23 13:34 [LARTC] setting promisc with iproute2 Padraig Brady
@ 2003-05-23 13:55 ` Martin A. Brown
  2003-05-23 14:20 ` Padraig Brady
  1 sibling, 0 replies; 3+ messages in thread
From: Martin A. Brown @ 2003-05-23 13:55 UTC (permalink / raw)
  To: lartc

Helo Pádraig,

 : What's the equivalent of `ifconfig eth0 promisc`
 : using the ip command. The documentation says
 : that promisc is an obsolete flag?

I have been able to use the following command to alter device flags.

    ip link set dev eth0 promisc on

See:

  http://linux-ip.net/html/tools-ip-link.html#tools-ip-link-set

Perhaps somebody with deeper kernel knowledge can explain the comment
about the obsolescence of the promisc (and allmulti) flags.  (I use the
word obsolescence instead of obsolete because I'm still able to use these
flags on my recent 2.4 kernels.)  I, too, have wondered about this note.

See the bottom of this page from the ip-cref manual for reference.

  http://linux-ip.net/gl/ip-cref/node10.html

Can anybody provide some clarification of this cautionary note?

-Martin

-- 
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] setting promisc with iproute2
  2003-05-23 13:34 [LARTC] setting promisc with iproute2 Padraig Brady
  2003-05-23 13:55 ` Martin A. Brown
@ 2003-05-23 14:20 ` Padraig Brady
  1 sibling, 0 replies; 3+ messages in thread
From: Padraig Brady @ 2003-05-23 14:20 UTC (permalink / raw)
  To: lartc

Martin A. Brown wrote:
> Helo Pádraig,
> 
>  : What's the equivalent of `ifconfig eth0 promisc`
>  : using the ip command. The documentation says
>  : that promisc is an obsolete flag?
> 
> I have been able to use the following command to alter device flags.
> 
>     ip link set dev eth0 promisc on
> 
> See:
> 
>   http://linux-ip.net/html/tools-ip-link.html#tools-ip-link-set

Hmm I tried that previously to no avail.
Ah ha! tried it on rh7.3 and it worked,
because they applied a patch which you
can see in the iproute srpm.

cheers,
Pádraig.

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-05-23 14:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-23 13:34 [LARTC] setting promisc with iproute2 Padraig Brady
2003-05-23 13:55 ` Martin A. Brown
2003-05-23 14:20 ` Padraig Brady

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.