Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] rule on aliases
@ 2002-06-19 12:27 Bashkim Salihu
  0 siblings, 0 replies; only message in thread
From: Bashkim Salihu @ 2002-06-19 12:27 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 1442 bytes --]

i need help,

at my scenario I need that pakets from hosts wich have default gw eth0 to lookup table 1 
and the pakets that come from hosts that have default gw eth0:0 to lookup tha main table

in my tests the scenario 1 didn't work and at the scenario 2 everything works
I reseted to default switches but everything is the same,

anyone have the idea or explanation what could be a problem,

router configuration

eth0 10.0.0.254/24 -- LAN
eth0:0 10.0.0.253/24 -- LAN
eth1  100.100.100.254/24 -- BACKBONE

Table main
ip route add 10.0.0.0/24 via 10.0.0.253 table main
ip route add 100.100.100.0/24 dev eth1 table main
ip route add default via 100.100.100.2 table main

Table 1
ip route add 10.0.0.0/24 via 10.0.0.254 table 1
ip route add 100.100.100.0/24 dev eth1 table 1
ip route add default via 100.100.100.1 table 1

ip rule add dev eth0 table 1

-------------------------------------------------------
Scenario 1

 backbone
==switch==
    |    
    |
==router== --- ==switch==
                    |
                    |
                   LAN

-------------------------------------------------------
Scenario 2

                 backbone
                ==switch==
     |-------------| |    
     |             | | 
 ==router== --- ==switch==
                    |
                    |
                   LAN
--------------------------------------------------------

thanks a lot,

[-- Attachment #2: Type: text/html, Size: 5440 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-06-19 12:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-19 12:27 [LARTC] rule on aliases Bashkim Salihu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox