From: Donny MATEO (donny.mateo@sg.ca-indosuez.com)
Date: Mon May 12 2003 - 23:06:23 GMT-3
as weird as it can be, could it be the router is assuming that static route is a connected network and for a connected network it doesn't bother to check AD configured hehehe...
Have you tried to change the AD or simulate it in other router, and see if it comes to the same behaviour ?
Donny Mateo
CCIE #11189
"Volkov, Dmitry
(IDS Canada)" To: "'ccielab@groupstudy.com'" <ccielab@groupstudy.com>
<dmitry_volkov@ca cc:
.ml.com> Subject: statics to Null, BGP weird
Sent by:
nobody@groupstudy
.com
05/13/2003 07:22
AM
Please respond to
"Volkov, Dmitry
(IDS Canada)"
Hello group,
Can anybody explain that ??
On R8 I have in RT prefix via Null0 with AD 250 better than learned via
IBGP with AD 200 ??
R8-------R4------R5
R8 and R4 run IBGP, R4 and R5 EIGRP
network 170.240.0.0/19 in EIGRP and in RT on R4:
D EX 170.240.0.0/19 [170/281600] via 206.143.72.142, 01:49:29,
Ethernet0/0
R4#
router bgp 1
network 170.240.0.0 mask 255.255.224.0
R8#
router bgp 1
network 170.240.0.0 mask 255.255.224.0
!
ip route 170.240.0.0 255.255.224.0 Null0 250
r8#sh ip bgp 170.240.0.0 255.255.224.0
BGP routing table entry for 170.240.0.0/19, version 29
Paths: (1 available, best #1, table Default-IP-Routing-Table)
Advertised to non peer-group peers:
206.143.95.49
Local
206.143.95.242 (metric 896000) from 206.143.95.242 (206.143.95.242)
Origin IGP, metric 281600, localpref 100, valid, internal, best
r8#sh ip ro 170.240.0.0
Routing entry for 170.240.0.0/19
Known via "static", distance 250, metric 0 (connected)
Redistributing via eigrp 100
Routing Descriptor Blocks:
* directly connected, via Null0
Route metric is 0, traffic share count is 1
r8(config)#access-list 10 permit 170.240.0.0 0.0.31.255
r8(config)#^Z
r8#deb ip routing 10
IP routing debugging is on for access list 10
r8#
r8#conf t
Enter configuration commands, one per line. End with CNTL/Z.
r8(config)#no ip route 170.240.0.0 255.255.224.0 Null0 250
r8(config)#
07:12:01: RT: del 170.240.0.0/19 via 0.0.0.0, static metric [250/0]
07:12:01: RT: delete subnet route to 170.240.0.0/19
07:12:01: RT: network 170.240.0.0 is now variably masked
07:12:01: RT: add 170.240.0.0/19 via 206.143.95.242, bgp metric [200/281600]
r8(config)#^Z
r8#conf t
r8#sh ip ro 170.240.7.1
Routing entry for 170.240.0.0/19
Known via "bgp 1", distance 200, metric 281600, type internal
Redistributing via eigrp 100
Last update from 206.143.95.242 00:00:15 ago
Routing Descriptor Blocks:
* 206.143.95.242, from 206.143.95.242, 00:00:15 ago
Route metric is 281600, traffic share count is 1
AS Hops 0
r8#conf t
r8(config)#ip route 170.240.0.0 255.255.224.0 Null0 250
r8(config)#^Z
r8#clear ip bgp *
r8#
07:14:54: %BGP-5-ADJCHANGE: neighbor 206.143.95.49 Down User reset
07:14:54: %BGP-5-ADJCHANGE: neighbor 206.143.95.242 Down User reset
r8#
07:14:54: RT: delete route to 170.240.24.0/21
07:14:54: RT: delete route to 170.240.0.0/19
07:14:54: RT: add 170.240.0.0/19 via 0.0.0.0, static metric [250/0]
r8#
07:15:23: %BGP-5-ADJCHANGE: neighbor 206.143.95.242 Up
r8#
07:15:23: RT: network 170.240.0.0 is now variably masked
07:15:23: RT: add 170.240.24.0/21 via 206.143.95.242, bgp metric
[200/281600]
r8#
07:15:33: %BGP-5-ADJCHANGE: neighbor 206.143.95.49 Up
r8#sh ip ro 170.240.0.0
Routing entry for 170.240.0.0/19
Known via "static", distance 250, metric 0 (connected)
Redistributing via eigrp 100
Routing Descriptor Blocks:
* directly connected, via Null0
Route metric is 0, traffic share count is 1
r8#sh ip bgp
* i170.240.0.0/19 206.143.95.242 281600 100 0 i
*> 0.0.0.0 0 32768 i
170.240.0.0/19 exist in BGP - valid and best , however route via Null (with
higher AD) is installed in RT.
Why ???
Dmitry Volkov
CCIE # 10292
This message is for information purposes only and its content
should not be construed as an offer, or solicitation of an offer,
to buy or sell any banking or financial instruments or services
and no representation or warranty is given in respect of its
accuracy, completeness or fairness. The material is subject
to change without notice. You should take your own independent
tax, legal and other professional advice in respect of the content
of this message. This message may contain confidential or
legally privileged material and may not be copied, redistributed
or published (in whole or in part) without our prior written consent.
This email may have been intercepted, partially destroyed,
arrive late, incomplete or contain viruses and no liability is
accepted by any member of the Credit Agricole Indosuez group
as a result. If you are not the intended recipient of this message,
please immediately notify the sender and delete this message
from your computer.
This archive was generated by hypermail 2.1.4 : Mon Jun 02 2003 - 15:13:41 GMT-3