Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

RE: Defualt ip address out

From: David Gillett <gillettdavid(at)fhda.edu>
Date: Thu Aug 14 2003 - 13:19:04 EDT


  (As you can see, I had some trouble reading your message beyond the first line or two...)

  I recently had to dig into a case where the default route on a router was changing "by itself".

  The problem wasn't really with that router, but with one of its neighbors (a Cisco box), and an interaction between a couple of configuration options and some traffic we were receiving.

  The first problem was with this config:

 no ip redirects

which was missing from our interface configurations. Without this, if the router received any traffic that it routed back out the same interface, it would send an "ICMP redirect" message to the neighbour. The neighbour, seeing that a packet it forwarded elicited a redirect, updated the route table entry it had used, which in this case was the default.

  The second problem was

ip classless

Do you need help?X

  Looks harmless enough, but it means that any traffic to parts of our overall block for which we don't have a route will get forwarded to the default. (If we'd had "no ip classless", packets to our block without a route would be dropped.)
  (Note that the default gateway would see that the destination was within our address block, and hand it right back, back and forth until the packet's TTL expired. The changing default route was not really the only bad side effect!)   This is what was causing some "inbound" packets to get redirected to the outbound default gateway. The fix for this was to add a static summary route black-holing anything not handled by a more explicit route.

  This all had appeared to work fine, until anything scanned our entire address space. Sooner or later, one of the scan packets would be trying for an unpopulated subnet, and that would trigger the redirect.

David Gillett

> -----Original Message-----



Received on Fri Aug 15 17:25:17 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:07:20 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library