Skip to contentSkip to conversation

Split Routing

LARTC Muhammad Reza 1 participant 2 messages Feb 20, 2004

lore
Share & tools
lore
#0 lore raw

Dear All,

Can ip tools and netfilter deal with my routing problem here :

192.168.0.0/24 --- | |------------|
(eth1) 203.158.254.2/24 ------ 203.158.254.1 /24(e0) |---------|

                          |-----19216.80.225(eth0)|  RH-9.0  
|                                                                       
            |  Cisco | --internet
192.168.0.231 ---  |                                 | 
-----------|(eth1:2) 203.158.252.236/30 
---203.158.252.237/30(e0.1)|-------- |

Default gateway to internetfrom RH-9.0 to internet is 202.158.254.1. how can i make routing decision from 203.158.252.236 (virtual interface) to internet via 203.158.252.237 ?
I want do SNAT from 203.138.252.236 to 192.168.0.231,and make routing decision for outgoing 192.168.0.231 to internet via 203.138.252.236. Is that possible ?, please help me.

regards
reza

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw

Dear All,

Can ip tools and netfilter deal with my routing problem here :

    192.168.0.0/24   192.168.0.231
                |                    |
                |                    |  
                -----------------
                          |
                          |(eth0)192.168.0.1    
                     -----------
                    |    rh-9.0  |
                    | ---------- |
(eth1)203.158.254.2 |  (eth1:1)203.158.232.236/30  
                              |    
                              |
 (e0)203.158.254.1----(e0.1) 203.158.232.237/30   
                      |   Cisco  |     
                      -----------
                             |
                        Internet   

Default gateway to internetfrom RH-9.0 to internet is 203.158.254.1. how can i make routing decision from 203.158.252.236 (virtual interface) to internet via 203.158.252.237 ?
I want do SNAT from 203.138.252.236 to 192.168.0.231,and make routing decision for outgoing 192.168.0.231 to internet via 203.138.252.236. Is that possible ?, please help me.

regards
reza

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/