(Please post route(8) output with the -n switch). On Mon, Mar 17, 2003 at 02:54:42PM +0530, Rajesh wrote: > Route for the email server has default gateway of the isp : > > [EMAIL PROTECTED] /root]# route > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > LANPJM-72-10.go * 255.255.255.255 UH 0 0 0 ppp0 > 192.168.20.0 * 255.255.255.0 U 0 0 0 eth0 > 10.71.0.0 * 255.255.255.0 U 0 0 0 eth0 > 127.0.0.0 * 255.0.0.0 U 0 0 0 lo > default LANPJM-72-10.go 0.0.0.0 UG 0 0 0 ppp0 > > Hence traceroute goes through the isp gateway : > > [EMAIL PROTECTED] /root]# traceroute 10.71.12.1 > traceroute to 10.71.12.1 (10.71.12.1), 30 hops max, 38 byte packets > 1 LANPJM-72-10.goatelecom.com (61.1.72.10) 33.896 ms 29.268 ms 30.055 ms > 2 LANPJM-72-1.goatelecom.com (61.1.72.1) 39.795 ms 39.765 ms 39.901 ms > 3 Wansvd-77-10.goatelecom.com (61.1.77.10) 109.916 ms 39.779 ms 69.896 ms
That is because, as DVB pointed out, your route is for the network 10.71.0.0/255.255.255.0. So, only IPs in the range 10.71.0.0-10.71.0.255 will go through that route. 10.71.12.x doesn't fall in that range. What you need is a routing table entry like: route add -net 10.71.0.0 netmask 255.255.0.0 gateway 192.168.12.244 (on RedHat, you can put this line in /etc/sysconfig/static-routes to have it added at boot time. YMMV) Binand -- Russian Roulette with Unix: while :; do kill $RANDOM &> /dev/null && break || sleep 1; done ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
