nanog mailing list archives

RE: iBGP next hop and multi-access media


From: "Martin, Christian" <cmartin () gnilink net>
Date: Sun, 6 Oct 2002 23:42:25 -0400


Ralph,

What you are asking for is dynamic routing protocol to be able to tell you
how to do something locally scoped.  This is why we have redirects on
ethernets.  But, since you must do this with BGP, try this... (I haven't)

 router bgp x
 neighbor 10.10.10.2 remote-as x
 neighbor 10.10.10.2 route-map foofoo in
!
 route-map foofoo permit 1
  match ip address 1
  set interface e1
! 
 access-list 1 permit 172.16.16.0

-chris


-----Original Message-----
From: Ralph Doncaster [mailto:ralph () istop com] 
Sent: Sunday, October 06, 2002 9:06 PM
To: E.B. Dreger
Cc: nanog () merit edu
Subject: Re: iBGP next hop and multi-access media



RD> When I setup a situation like the above, with Router B 
advertising 
RD> the 172.16.16.0/24 to router A, router A sees a next hop of 
RD> 10.10.10.2.  This is not good since packets from A going to the 
RD> 172.16.16 subnet get sent to Router B, which then ARPs the 
RD> desitnation, instead of just being ARPed by router A.

Is this what you're trying to do:

    route-map <foo>
     match <whatever>
     set ip next-hop <something>

Not really, what I want is router A to learn that ther is no 
next hop IP- the subnet is on the local ethernet.

-Ralph



Current thread: