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

Routing which depends on source address?



hi!

I've the following problem:

i have a private network with lets say two workstations an one router
ws1 : 192.168.1.11
ws2 : 192.168.1.12
gw  : 192.168.1.1

the gw is running debian. the goal is to use two different dialups depending
on the source address, e.g use default route over ppp0 device when data
comes from 192.168.1.11 and use default route over ppp0 device when data
comes from 192.168.1.12. 

i heard that iptables can do this, examples?

any further sugestions?


cu
markus

-- 
-------------------------------------------------------------------------------
 Markus Garscha                        email: mg@gama.de 
 Hartmannstr. 129                        fon: 09131/626715 
 91058 Erlangen                          fax: +49 89 244356966 
                                   pgp-keyid: 0xEE18AF3B  
-------------------------------------------------------------------------------

Attachment: pgp_IHDUTxBWY.pgp
Description: PGP signature


Reply to: