Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.