Re: is it possibel to give another next hop in for advertised

From: Marko Milivojevic <markom_at_ipexpert.com>
Date: Tue, 4 May 2010 13:40:49 +0000

Have you tried changing nexthop in the inbound route-map on R5,
instead using outbound one on R1?

--
Marko Milivojevic - CCIE #18427
Senior Technical Instructor - IPexpert
YES! We include 400 hours of REAL rack
time with our Blended Learning Solution!
Mailto: markom_at_ipexpert.com
Telephone: +1.810.326.1444
Fax: +1.810.454.0130
Web: http://www.ipexpert.com/
On Sun, May 2, 2010 at 10:48, Mustafa Yadav <mustafa.yadav_at_gmail.com> wrote:
> hi all,
>
> I want to know via a route-map changing next-hop works or not.As you see
> below for 136.1.129.0 B I want to send B next hop as B 136.1.245.2 to R5.In R5
> I am getting below error.In the error it says denied to the not connected
> next hop but as you see in the routing table actually it is directly
> connected.Can someone commnt on this?
>
>
>
>
> Rack1R1#sh route-map prepend
> route-map prepend, permit, sequence 10
> B Match clauses:
> B  B ip address prefix-lists: 1
> B Set clauses:
> B  B as-path prepend 100 100 100 100
> B Policy routing matches: 0 packets, 0 bytes
> *route-map prepend, permit, sequence 15
> B Match clauses:
> B  B ip address prefix-lists: 2
> B Set clauses:
> B  B ip next-hop 136.1.245.2
> * B Policy routing matches: 0 packets, 0 bytes
> route-map prepend, permit, sequence 20
> B Match clauses:
> B Set clauses:
> B Policy routing matches: 0 packets, 0 bytes
>
> *ip prefix-list 2: 1 entries
> B  seq 15 permit 136.1.29.0/24*
> Rack1R1#
>
>
> *R5 ERROR*
> **
> **Mar B 1 04:15:33.134: BGP(0): 136.1.15.1 rcv UPDATE w/ attr: nexthop
> 136.1.245.2, origin i, originator 0.0.0.0, path 100 300, community ,
> extended community
> *Mar B 1 04:15:33.142: BGP(0): 136.1.15.1 rcv UPDATE about 136.1.29.0/24 --
> DENIED due to: non-connected NEXTHOP;*
> **
> Rack1R5# SH IP route
> Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
> B  B  B  D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
> B  B  B  N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
> B  B  B  E1 - OSPF external type 1, E2 - OSPF external type 2
> B  B  B  i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
> B  B  B  ia - IS-IS inter area, * - candidate default, U - per-user static
> route
> B  B  B  o - ODR, P - periodic downloaded static route
> Gateway of last resort is not set
> B  B  136.1.0.0/16 is variably subnetted, 12 subnets, 2 masks
> O B  B  B  136.1.245.4/32 [110/64] via 136.1.245.4, 02:40:54, Serial0/0.245
> *C B  B  B  136.1.245.0/24 is directly connected, Serial0/0.245
> O B  B  B  136.1.245.2/32 [110/64] via 136.1.245.2, 02:40:54, Serial0/0.245
> *C B  B  B  136.1.15.0/24 is directly connected, Serial0/0.15
> O B  B  B  136.1.15.1/32 [110/64] via 136.1.15.1, 02:40:54, Serial0/0.15
> B B  B  B  136.1.3.0/24 [20/0] via 136.1.245.2, 00:20:45
> O IA B  B 136.1.4.0/24 [110/65] via 136.1.245.4, 02:40:54, Serial0/0.245
> B B  B  B  136.1.29.0/24 [20/0] via 136.1.245.2, 00:20:45
> C B  B  B  136.1.45.4/32 is directly connected, Serial0/1
> C B  B  B  136.1.45.0/24 is directly connected, Serial0/1
> O IA B  B 136.1.44.0/24 [110/65] via 136.1.245.4, 02:40:54, Serial0/0.245
> C B  B  B  136.1.57.0/24 is directly connected, FastEthernet0/1
> O E2 212.18.1.0/24 [110/20] via 136.1.15.1, 02:40:55, Serial0/0.15
> B --More--
>
>
> 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 Tue May 04 2010 - 13:40:49 ART

This archive was generated by hypermail 2.2.0 : Tue Jun 01 2010 - 07:09:52 ART