Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] Re: Routing that doesn't route
@ 2001-11-26 22:24 Julian Anastasov
  2002-02-28 12:56 ` Greg Scott
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Julian Anastasov @ 2001-11-26 22:24 UTC (permalink / raw)
  To: lartc


	Hello,

On Mon, 26 Nov 2001, Greg Scott wrote:

> [root@csfampls-fw /etc]# /sbin/route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> mmm.mmm.228.32  0.0.0.0         255.255.255.224 U     0      0        0 eth0
> sss.sss.200.64  mmm.mmm.228.34  255.255.255.224 UG    0      0        0 eth0
> 172.16.16.0     0.0.0.0         255.255.240.0   U     0      0        0 eth1
> 172.16.0.0      172.16.16.3     255.255.240.0   UG    0      0        0 eth1
> 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
> 0.0.0.0         206.144.228.62  0.0.0.0         UG    0      0        0 eth0
> [root@csfampls-fw /etc]#
>
> Other protocols work fine.  I tried some tests with DNS and ftp from
> St. Peter to Minneapolis and they make the round trip just fine.  Only
> ICMP ECHO REPLY packets fail the round trip.

	Are you sure TCP works between the same IPs where ICMP fails?
Can you show such traffic with tcpdump -n ?

> Here is a tcpdump trace I took from the Minneapolis firewall
> (forgive the text wrapping):
>
>
> 16:25:15.459714 < 172.16.16.2 > 172.16.0.252: icmp: echo reply

	The DNS requests you see are caused from tcpdump trying to
resolve the IPs. Always run tcpdump with -n because we don't see
the actual addresses.

	What is the value in /proc/sys/net/ipv4/conf/eth1/send_redirects ?
It is may be unrelated but run "ip route" instead of "route -n" to
see how look the routes. I'm not sure what is the pereferred source
address in each route you add by hand. On each Linux try to check with

ip route get from <SADDR> to <DADDR> iif <IN_DEVICE>

whether the packet has access to come from the specified device. You
will see where the packet should go. I assume the 3 hosts in
Minneapolis are on same subnet 172.16.16.0/20 and you expect 16.1
to/not to send ICMP redirects to redirect 16.2 to 16.3? I don't see
how such simple routing setup should fail. One of the problems
could be the conf/DEV/rp_filter settings but I don't see why it should
drop the packets. Run the above "ip route get" command.

> - Greg Scott

Regards

--
Julian Anastasov <ja@ssi.bg>


_______________________________________________
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] 7+ messages in thread

end of thread, other threads:[~2002-05-02 20:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-26 22:24 [LARTC] Re: Routing that doesn't route Julian Anastasov
2002-02-28 12:56 ` Greg Scott
2002-02-28 20:49 ` Julian Anastasov
2002-03-01 16:43 ` Julian Anastasov
2002-03-01 16:48 ` Greg Scott
2002-05-02  3:36 ` Greg Scott
2002-05-02 20:53 ` Julian Anastasov

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