Merit Network
Can't find what you're looking for? Search the Mail Archives.
  About Merit   Services   Network   Resources & Support   Network Research   News   Events   Home

Discussion Communities: Merit Network Email List Archives

North American Network Operators Group

Date Prev | Date Next | Date Index | Thread Index | Author Index | Historical

Re: Cisco's connected->bgp redistribution

  • From: Vijay Gill
  • Date: Fri Jul 13 18:03:14 2001

On Fri, 13 Jul 2001, Bill Woodcock wrote:

>
>     > 	Can anyone shed some light on why cisco ignores "ip classless" when
>     > redistributing classless connected routes into bgp, making things such as
>     > /30 into /24s?
>
> Because you forgot to append the "subnets" keyword to your redist.

Subnets are not needed, chances are it is a failure of no auto-summary.
Autosummary is on by default.

router#show ip route x.y.106.122
Routing entry for x.y.106.120/30
  Known via "connected", distance 0, metric 0 (connected, via interface)
  Redistributing via bgp abcd
  Advertised by bgp abcd route-map connected-to-bgp
  Routing Descriptor Blocks:
  * directly connected, via Serial2/0/0:0
      Route metric is 0, traffic share count is 1

router#show int Serial2/0/0:0
Serial2/0/0:0 is up, line protocol is up
  Hardware is Multichannel T1
  Description: by the perception of illusion we experience reality
  Internet address is x.y.106.122/30

router bgp abcd
 no synchronization
 bgp log-neighbor-changes
 bgp dampening
 redistribute connected route-map connected-to-bgp
 redistribute static route-map static-to-bgp

 no auto-summary
!
ip classless


router#show ip bgp x.y.106.122
BGP routing table entry for x.y.106.120/30, version 11186014
Paths: (1 available, best #1)

etc

If you have no auto-summary turned on, then there might be a bug or more
probably, some sort of typo or mismatch (pilot error).

/vijay





Discussion Communities


About Merit | Services | Network | Resources & Support | Network Research
News | Events | Contact | Site Map | Merit Network Home


Merit Network, Inc.