LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 09-27-2004, 11:00 PM   #1
micaheli
LQ Newbie
 
Registered: Dec 2002
Location: Sherwood, OR
Distribution: Mandrake 9.0
Posts: 6

Rep: Reputation: 0
Advanced Networking - Multiple gateways, routing question/shorewall


Okay, let me take a DEEEEP breath... <inhales>


This is a router/firewall with 7 interfaces - it needs to do quite a bit... smile.gif

SWITCH(Cable Modem Network) -->eth0 --firewall-- eth6 --> cable modem(bridge)
SWITCH(DSL Modem Network) -->eth1 --firewall-- eth5 --> DSL Modem(bridge)
SWITCH(PXEBoot Network) -->eth2 --firewall
CORP. Network -->eth3 --firewall
WIFI AP -->eth4 --firewall-- eth5 --> DSL Modem (previously mentioned)

Here's the problem. The networks that need to access the net through their corresponding devices need to do so, while at the same time allowing people from the large corporate network (multi subnet, routed, very complex) to access the firewall box.. for other reasons.

The problem is, it seems that each device wants to have only 1 default gateway assigned for them in order to route packets appropriately for their network... So, how do I get all of this working at the same time.

I need:

CM users -->firewall--> CM
CM users --> Firewall
DSL users -->firewall--> DSL
DSL users --> Firewall
WIFI users -->firewall-->DSL
WIFI users -->firewall
Corp Network Users --> Firewall
PXE Users --> Firewall

No matter what combination of gateways I use, nothing seems to work.. they just don't play nice with each other.

The OS is Gentoo 2004.2, and the kernel is 2.4.27.. newest iptables, shorewall 2.0.x, etc.

Any ideas?

--Micah
 
Old 09-28-2004, 05:00 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,535

Rep: Reputation: 148Reputation: 148
I must say I don't understand where's the problem exactly. Yes, you can assign only one default gateway. But I can see no connection with the scenario above. Do you mean the firewall box is default gateway for some machines?
 
Old 09-30-2004, 12:05 AM   #3
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
micaheli, your setup and what you're asking is not very clear, although very interesting...

i'm sure if you clear things up you will start to get some good input...
 
  


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 to multiple gateways The Jesus Linux - Networking 6 09-20-2012 01:58 AM
Advanced routing across multiple WAN links ? michaelsanford Linux - Networking 1 06-28-2005 09:23 PM
Routing question on RH9, two gateways tscman Linux - Networking 2 11-25-2004 06:39 AM
Red Hat 7.3 and multiple gateways on multiple interfaces bluefmc Linux - Networking 2 11-19-2004 05:01 PM
multiple ips, multiple gateways, one interface drpixel Linux - Networking 6 12-04-2002 12:56 AM


All times are GMT -5. The time now is 04:52 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