LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Routing tables (https://www.linuxquestions.org/questions/linux-networking-3/routing-tables-346511/)

TPB 07-25-2005 07:47 AM

Routing tables
 
Hello,

i am using 3 laptop with RH 7.3 and two of the are used as GWs nad one as a client. The GW have two interfaces etho and wlan0. Is there any chance to create my own routing table insted of using a bridge and how?

Thanks a lot for your time

mpeg4codec 07-25-2005 09:41 PM

It would strongly recommend doing a bridge, there's little reason not to. If you wanted to do it with routing tables, you'd have to set up a different block of IPs for the client. For instance, on one of the gateways, you'd have routes like this:

eth0: 192.168.1.0/24
wlan0: 192.168.2.0/24

With eth0 being 192.168.1.1 and wlan0 being 192.168.2.1. You would make the client laptop be 192.168.2.2, and it would be routed through eth0. If this doesn't make sense, I suggest using bridging. It's easy, and I can show you how if you want.

TPB 07-26-2005 05:33 AM

Routing tables reply
 
Hi,

thanks for your post. The fact is that the 2 GW already have a bridge and i have to implement a firewall. So i downloaded a Kernel patch ebtables-bridge-nf to do it. I wrote my own script but the problem is that some packets are prevented ti go in because of this patch even if i don't put any filtering rules. I mean that when i have the same Kernel without the patch everything works fine. I wanted to put the firewall at the wireless side of the bridge. After i made a search to the internet i saw that there are only a few bridging firewalls and all use that patch with or without the ebtables. So i was thinking to replace the bridge with routing tables. There is a mobility protocol that i have to use so that the client can handoff from one GW to another without the session being interrupted. Any suggestions?

Thanks for your time

mpeg4codec 07-27-2005 09:01 PM

Erm, you lost me in there somewhere. My best suggestion to you would be to simplify things as much as possible. Instead of having one laptop as an internet gateway and another as a wireless bridge, run the two things on the same laptop. It'll save you a ton of headaches, I promise.


All times are GMT -5. The time now is 10:28 AM.