Re: [LARTC] routing: multiple tables dude

Linux Advanced Routing and Traffic Control

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

 



Martin, many thanks for your reply.

 : $ip rule add from 10.10.10.0/24 lookup 90
 : $ip route add 172.16.0.5 via 172.16.0.254 table 90
 : $ip route add 172.16.0.6 via 172.16.0.254 table 90
 : $ip route add 172.16.0.7 via 172.16.0.254 table 90
 :
 : Should I add this routes for the traffic from 10.10.10.0/24?
 : (as you can note I didn't define the 'ip rule add to' line but I am not
 : sure if it is correct)

I'm really not sure what it is you are trying to accomplish, so I'm not
sure whether you should add that rule or not.

As I read through the routes and rules you added above, I am struck that
the only hosts which can reach the 10.10.10.0/24 network are the hosts
172.16.0.{5,6,7}.  Is that what you intended?

Yes :)




Luis Miguel Cruz Miranda.               |       B2B INTEGRAL, S.A.
CCNA - Systems Administrator            |       Pol. Ind. de Asipo
                                        |       C/A - Parcela 86-C
Tel: +34 902 506 605                    |       33.428 - CAYES - LLANERA
Fax:+34 985 980 794                     |       ASTURIAS (ESPAÑA/SPAIN)




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