LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-25-2005, 07:47 AM   #1
TPB
LQ Newbie
 
Registered: Jul 2005
Location: UK
Posts: 2

Rep: Reputation: 0
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
 
Old 07-25-2005, 09:41 PM   #2
mpeg4codec
Member
 
Registered: Jul 2005
Distribution: Debian, Gentoo, self-built [not LFS]
Posts: 109

Rep: Reputation: 15
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.
 
Old 07-26-2005, 05:33 AM   #3
TPB
LQ Newbie
 
Registered: Jul 2005
Location: UK
Posts: 2

Original Poster
Rep: Reputation: 0
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
 
Old 07-27-2005, 09:01 PM   #4
mpeg4codec
Member
 
Registered: Jul 2005
Distribution: Debian, Gentoo, self-built [not LFS]
Posts: 109

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
routing tables props666999 Linux - Networking 1 10-14-2005 08:27 PM
IP Routing Tables collern2 Linux - Security 1 05-23-2005 10:48 AM
two routing tables fugzi Linux - Networking 7 12-03-2004 06:02 PM
routing tables help hadoque Linux - Networking 0 08-28-2004 09:10 AM
routing tables dunkyb Linux - Networking 3 05-25-2003 02:10 PM


All times are GMT -5. The time now is 09:23 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration