Hi,
I'm not so familiar with ip, and avoid it (why ?!), so
try these things :

ifconfig eth0 10.0.1.10 netmask 255.255.255.0 up
ifconfig eth1 10.0.2.10 netmask 255.255.255.0 up
ifconfig eth2 10.0.3.10 netmask 255.255.255.0 up
route add default gw 10.0.1.1 dev eth0
route add default gw 10.0.2.1 dev eth1
route add default gw 10.0.3.1 dev eth2

what's the result, now ?

Sincerely yours,
Moeen Alinaghian

--- Jaison Jose <[EMAIL PROTECTED]> wrote:

> Hi,
>  Anyone can help me to setup policy based routing in
> linux(Fedora 3). I want
> to put seperate gateways to all of my three
> interfaces, which are connected
> to seperate routers.
>  I configured like;
> ip addr add dev eth0 10.0.1.10/24
> <http://10.0.1.10/24>
> ip addr add dev eth1 10.0.2.10/24
> <http://10.0.2.10/24>
> ip addr add dev eth2 10.0.3.10/24
> <http://10.0.3.10/24>
>  ip rule add dev eth0 table 1
> ip route add default via 10.0.1.1 <http://10.0.1.1>
> table 1
>  ip rule add dev eth1 table 2
> ip route add default via 10.0.2.1 <http://10.0.2.1>
> table 2
>  ip rule add dev eth2 table 3
> ip route add default via 10.0.3.1 <http://10.0.3.1>
> table 3
> ip ro flush cache
>  But I cant ping to any ip behind the router..
> Thanks in advance
>  Regards
> Jaison
> 



        
                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


                
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/0XFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/dubailug/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to