Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-27-2004, 11:00 PM   #1
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?

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

Rep: Reputation: 180Reputation: 180
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
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

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


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 > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:00 PM.

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