|
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
|