routing 2 internal & 2 external nic's

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi all,
i have one problem with routing.

what i will do is this: ISP router
|
ISP switch
| | | ( we have 3 ports)
| | |
Our switch
| |
| |
eth0 eth1 firewall-1 | |
(4 nics) eth2 eth3 | |
| |
DMZ switch ( one network )
|
| DMZ linux router(SNAT all outgoing connection from LAN to one IP,
| in the same network as DMZ ,default route to eth3 )
|
LAN

i will that all outgoing traffic from DMZ get over eth2 - eth0 NIC's to ISP and over eth2 back to DMZ.

And all outgoing traffic from LAN get over eth3 - eth1 NIC's to ISP switch.


But allways i send packet from eth3 get away over eth0 (default route) ...

which ip rule i must set to do this routing?

thanks in advace


roman




_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux