All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Newbie question
@ 2002-02-27 11:11 suresh
  2002-02-28 11:44 ` Ard van Breemen
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: suresh @ 2002-02-27 11:11 UTC (permalink / raw)
  To: lartc

Hello All,

I have two Internet link and two LAN networks
I have Redhat-7.1 linux-2.4.17 kernel and 2 NICs
In eth0 172.16.1.1 and eth0:1 192.168.1.1
in eth1 are public ips of isps as eth1 a.b.c.d and eth1:0 w.x..y.z

I want do source routing using ip rule command.

echo 200 isp1 >> /etc/iproute2/rt_tables
ip rule add from 172.16.1.0/24 table isp1
ip rule ls
0:      from all lookup local 
32765:  from 172.16.1.0/24 lookup isp1
32766:  from all lookup main 
32767:  from all lookup default

ip route add default via a.b.c.d dev eth1 table isp1
ip route flush cache

Its work fine when request comes from 172.16.1.0 netwok

When i add
ip route add default via w.x.y.z dev eth1

to forward request from another lan network it works fine
but req from 172.16.1.0 does not work

if i remove 
ip route del default via w.x.y.z dev eth1

its work well.

Did i leaveout anything in configuration?

Is my confifuration is correct?

Thanks,
Suresh


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2004-09-28  7:35 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-27 11:11 [LARTC] Newbie question suresh
2002-02-28 11:44 ` Ard van Breemen
2002-02-28 12:30 ` suresh
2002-02-28 12:31 ` Arthur van Leeuwen
2002-02-28 13:24 ` Ard van Breemen
2002-12-16 15:58 ` [LARTC] newbie question Del Riesgo, Christopher D
2003-10-09 11:45 ` Muhammad Reza
2003-10-09 11:46 ` jeremie le-hen
2003-10-09 12:15 ` Muhammad Reza
2003-10-13 11:38 ` Muhammad Reza
2003-10-13 18:46 ` Stef Coene
2004-03-02 14:22 ` [LARTC] Newbie question Aravind babu
2004-03-03  5:45 ` Martin A. Brown
2004-09-28  7:35 ` Mark S. Nesterovich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.