Re: route lookup based on default route

From: Jules Eyabane <jep7619_at_gmail.com>
Date: Thu, 9 Jun 2011 22:01:59 -0400

Thanks Garry! "show ip cef <>" did it.
greatly appreciated!
Jep.

On Thu, Jun 9, 2011 at 8:38 PM, garry baker <baker.garry_at_gmail.com> wrote:

> this is standard behavoir for 'show ip route' if you only have a 0.0.0.0
> default route...
>
> take a look at 'sh ip cef exact-route' and see what it says...
>
> R1#sh ip route
> Gateway of last resort is 12.12.12.1 to network 0.0.0.0
> 12.0.0.0/24 is subnetted, 1 subnets
> C 12.12.12.0 is directly connected, FastEthernet0/0
> B* 0.0.0.0/0 [200/0] via 12.12.12.1, 00:01:58
>
> R1#sh ip route 100.100.100.100
> % Network not in table
>
> R1#ping 100.100.100.100
> Type escape sequence to abort.
> Sending 5, 100-byte ICMP Echos to 100.100.100.100, timeout is 2 seconds:
> !!!!!
> Success rate is 100 percent (5/5), round-trip min/avg/max = 68/102/140 ms
>
> R1#sh ip cef exact-route 12.12.12.2 100.100.100.100
> 12.12.12.2 -> 100.100.100.100: FastEthernet0/0 (next hop 12.12.12.1)
>
>
> en
> conf t
> host R1
> int f0/0
> ip add 12.12.12.1 255.255.255.0
> no shut
> router bgp 1
> neighbor 12.12.12.2 remote-as 1
> neighbor 12.12.12.2 default-originate
>
> en
> conf t
> host R1
> int f0/0
> ip add 12.12.12.2 255.255.255.0
> no shut
> router bgp 1
> neighbor 12.12.12.1 remote-as 1
> neighbor 12.12.12.1 default-originate
> --
> Garry L. Baker
>
> "With sufficient thrust, pigs fly just fine..." - RFC 1925
>
>
>
> On Fri, Jun 10, 2011 at 3:06 AM, Jules Eyabane <jep7619_at_gmail.com> wrote:
>
>> hello group!
>> on a remote BGP peer B, i issued the command "neighbor x.x.x.x
>> default-originate" to send a default route to this peer A (output below).
>> now, on A, i do see the default route in the routing table, but yet i
>> can't
>> lookup an unknown route using that default route. i made sure that the ip
>> classless command was enabled (which it is by default on this IOS). what
>> could be wrong?
>>
>> Rack6R5#sho ip route 0.0.0.0
>> Routing entry for 0.0.0.0/0, supernet
>> Known via "bgp 200", distance 200, metric 77, candidate default path,
>> type
>> internal
>> Last update from 155.6.0.2 00:09:23 ago
>> Routing Descriptor Blocks:
>> * 155.6.0.2, from 155.6.0.2, 00:09:23 ago
>> Route metric is 77, traffic share count is 1
>> AS Hops 0
>>
>> Rack6R5#sho ip route 94.0.0.0
>> % Network not in table
>> Rack6R5#sho ip route 94.0.0.0 255.0.0.0
>> % Network not in table
>> Rack6R5#sho ip route 192.168.17.0 255.255.255.0
>> % Network not in table
>> Rack6R5#sho run | incl classless
>> Rack6R5#sho run | incl Classless
>> Rack6R5#
>>
>>
>> Blogs and organic groups at http://www.ccie.net
>>
>> _______________________________________________________________________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Thu Jun 09 2011 - 22:01:59 ART

This archive was generated by hypermail 2.2.0 : Fri Jul 01 2011 - 06:24:28 ART