lkml.org 
[lkml]   [2004]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Network routing issue

>>You're on the wrong track. C doesnt even need IP addresses, two
>>choices:
>>
>>
>>- C as bridge and use ebtables (C doesnt even need addresses
>>theoretically)
>>
>>
>>- C as router, use iptables. C needs one or more addresses which must
>>be different.
>>
>>
>My problem is I need to modify the messages before passing them on. As far
>as I'm aware, bridges don't do that - but then I'm a newbie when it comes to
>bridging!
>
>
http://www.spinics.net/lists/netfilter/msg13455.html

http://ebtables.sourceforge.net/documentation.html

I don't know if it will do what you want 'out of the box'

if not then the sensible thing to do would be to route and setup:

A ------------ C C ---------- B
192.168.1.1 192.168.1.2 192.168.2.1 192.168.2.2

and use iptables to do user space packet filtering.

http://www.netfilter.org/documentation/HOWTO//netfilter-hacking-HOWTO-4.html#ss4.7
http://www.lowth.com/howto/iptables-treasures.php

I saw that ebtables can use iptables modules (with some hacking)

David

-
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/

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.026 / U:4.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site