public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Special promisc receive mode
@ 2004-01-24 12:58 Karel Kulhavý
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Kulhavý @ 2004-01-24 12:58 UTC (permalink / raw)
  To: linux-kernel

Hello

I need to tell kernel that e. g. eth0 is a point-to-point link and that every
ethernet frame should be treated this way:
1) Replace destination MAC with MAC of the eth0 network card
2) Process as normally

I tried to set up promisc mode but it seems to not work - it looks like the
frames are intercepted, however are not treated as destinated for my host (are
not forwared etc.)

Cl<

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

* Re: Special promisc receive mode
       [not found] <fa.ijk3qim.15ls9ju@ifi.uio.no>
@ 2004-01-27 17:09 ` Andy Lutomirski
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Lutomirski @ 2004-01-27 17:09 UTC (permalink / raw)
  To: Karel Kulhavý; +Cc: linux-kernel

Try ebtables (http://ebtables.sourceforge.net/).  You'll need to add 
eth0 to a bridge first, though.

--Andy

Karel Kulhavý wrote:

> Hello
> 
> I need to tell kernel that e. g. eth0 is a point-to-point link and that every
> ethernet frame should be treated this way:
> 1) Replace destination MAC with MAC of the eth0 network card
> 2) Process as normally
> 
> I tried to set up promisc mode but it seems to not work - it looks like the
> frames are intercepted, however are not treated as destinated for my host (are
> not forwared etc.)
> 
> Cl<
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

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

end of thread, other threads:[~2004-01-27 17:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <fa.ijk3qim.15ls9ju@ifi.uio.no>
2004-01-27 17:09 ` Special promisc receive mode Andy Lutomirski
2004-01-24 12:58 Karel Kulhavý

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox