Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] Differencie between route and route-rule
@ 2001-04-18 15:58 M.F. PSIkappa
  0 siblings, 0 replies; only message in thread
From: M.F. PSIkappa @ 2001-04-18 15:58 UTC (permalink / raw)
  To: lartc

HI,
could you explain what's difference between this two examples ?

ip addr add 10.10.10.3/24 brd + dev eth0
ip addr add 192.168.1.254/24 brd + dev eth1
ip route add default 10.10.10.1

# first case
ip route add via 10.10.10.5 table 100
ip rule add to 192.168.2.0/24 table 100

# second case
ip route add to 192.168.2.0/24 via 10.10.10.5

In 1st case it make some stange thing. In 2nd case it work fine. I only 
see one difference that in 2nd case is all in table main. 
I would like if somebody explain me what happed in 1st and in 2nd case.

PSIkappa
psi@atlantis.sk

PS: sorry for my english


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

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

only message in thread, other threads:[~2001-04-18 15:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-18 15:58 [LARTC] Differencie between route and route-rule M.F. PSIkappa

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