[LARTC] multiple route tables dude, the packet travel.

Linux Advanced Routing and Traffic Control

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

 



I have here this configuration into a script:

$ip rule add from 10.10.10.64/26 lookup 30
$ip rule add to 10.10.10.64/26 lookup 31
$ip route add 10.10.10.64/26 via 10.10.10.126 table 31
$ip route add 0.0.0.0/0 via 10.1.0.254 table 30

$ip rule add from 192.168.0.0/24 lookup 60
$ip rule add to 192.168.0.0/24 lookup 61
$ip route add 192.168.0.0/24 via 192.168.0.1 table 61
$ip route add 0.0.0.0/0 via 10.1.1.254 table 60

Ok.
The question is... how is the travel of a packet from 10.10.10.1 to 
192.168.0.1?


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