We have a rather mysterious issue with our OpenBGPD box. We use it to
inject a bogon BGP feed and as a router monitor. We recently upgrade
from 3.6 to 4.0 and bgpd keeps closing the session because max-prefix
has been reached. I configured MRTG to generate graphs of prefixes on
each of our BGP session and can see the prefix count slowly growing from
about 160000 to 250000 over an 18 hour period. The Cisco router in
question would hit hardware limitations before it could announce 250k
prefixes, so I'm wondering if this could be an incompatibility or bug.
The same configuration was working under 3.6.

Cisco config except:
 neighbor --openbsdbox-- remote-as --ourasn--
 neighbor --openbsdbox-- description iBGP with OpenBGPD
 neighbor --openbsdbox-- password 7 --md5 password removed--
 neighbor --openbsdbox-- version 4
 neighbor --openbsdbox-- next-hop-self
 neighbor --openbsdbox-- route-map bogons in
 neighbor --openbsdbox-- maximum-prefix 1000 70

/etc/bgpd.conf except:
group "iBGP" {
        remote-as --ourasn--
        announce all
        max-prefix 250000 restart 5
        multihop 3

        neighbor --cisco-- {
                descr "iBGP with cisco"
                tcp md5sig password --md5 password removed--
        }
        neighbor --anothercisco-- {
                descr "iBGP with anothercisco"
                tcp md5sig password --md5 password removed--
        }
}

Thanks,


Dustin Lundquist


> $ dmesg
> console is /[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED]/[EMAIL 
> PROTECTED],3803f8
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>         The Regents of the University of California.  All rights reserved.
> Copyright (c) 1995-2006 OpenBSD. All rights reserved.  http://www.OpenBSD.org
> 
> OpenBSD 4.0 (GENERIC) #953: Sun Sep 17 00:56:22 MDT 2006
>     [EMAIL PROTECTED]:/usr/src/sys/arch/sparc64/compile/GENERIC
> total memory = 536870912
> avail memory = 479199232
> using 3276 buffers containing 26836992 bytes of memory
> bootpath: /[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED],0/[EMAIL 
> PROTECTED],0
> mainbus0 (root): Netra t1 (UltraSPARC-IIi 440MHz)
> cpu0 at mainbus0: SUNW,UltraSPARC-IIi @ 440.012 MHz, version 0 FPU
> cpu0: physical 32K instruction (32 b/l), 16K data (32 b/l), 2048K external 
> (64 b/l)
> psycho0 at mainbus0 addr 0xfffc0000: SUNW,sabre, impl 0, version 0, ign 7c0
> psycho0: bus range 0-3, PCI bus 0
> psycho0: dvma map c0000000-dfffffff, iotdb 26a8000-2728000
> pci0 at psycho0
> ppb0 at pci0 dev 1 function 1 "Sun Simba PCI-PCI" rev 0x13
> pci1 at ppb0 bus 1
> ebus0 at pci1 dev 1 function 0 "Sun PCIO Ebus2" rev 0x01
> auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003, 
> 72c000-72c003, 72f000-72f003
> power0 at ebus0 addr 724000-724003 ipl 37
> "SUNW,pll" at ebus0 addr 504000-504002 not configured
> com0 at ebus0 addr 3803f8-3803ff ipl 28: ns16550a, 16 byte fifo
> com0: console
> com1 at ebus0 addr 3602f8-3602ff ipl 20: ns16550a, 16 byte fifo
> lpt0 at ebus0 addr 340278-340287, 30015c-30015d, 700000-70000f ipl 34: polled
> "fdthree" at ebus0 addr 3203f0-3203f7, 706000-70600f, 720000-720003 ipl 39 
> not configured
> clock1 at ebus0 addr 0-1fff: mk48t59
> "flashprom" at ebus0 addr 0-fffff not configured
> "watchdog" at ebus0 addr 200000-20003f ipl 4 not configured
> "display7seg" at ebus0 addr 200040-200040 not configured
> beeper0 at ebus0 addr 722000-722003
> "flashprom" at ebus0 addr 400000-5fffff not configured
> "flashprom" at ebus0 addr 800000-9fffff not configured
> pcfiic0 at ebus0 addr 600000-600003 ipl 40
> iic0 at pcfiic0
> pcfadc0 at iic0 addr 0x4f
> "i2cpcf,8574a" at iic0 addr 0x38 not configured
> "i2cpcf,8574a" at iic0 addr 0x39 not configured
> pcfiic1 at ebus0 addr 100000-100003 ipl 27
> iic1 at pcfiic1
> "SUNW,lom" at ebus0 addr 400000-400063 not configured
> hme0 at pci1 dev 1 function 1 "Sun HME" rev 0x01: ivec 0x7e1, address 
> 08:00:20:c1:d6:12
> luphy0 at hme0 phy 0: LU6612 10/100 PHY, rev. 1
> siop0 at pci1 dev 2 function 0 "Symbios Logic 53c875" rev 0x03: ivec 0x7e0, 
> using 4K of on-board RAM
> scsibus0 at siop0: 16 targets
> sd0 at scsibus0 targ 0 lun 0: <IBM, DDRS39130SUN9.0G, S98E> SCSI2 0/direct 
> fixed
> sd0: 8637MB, 4926 cyl, 27 head, 133 sec, 512 bytes/sec, 17689267 sec total
> sd1 at scsibus0 targ 1 lun 0: <FUJITSU, MAJ3182M SUN18G, 0804> SCSI2 0/direct 
> fixed
> sd1: 17274MB, 7508 cyl, 19 head, 248 sec, 512 bytes/sec, 35378533 sec total
> hme1 at pci1 dev 3 function 1 "Sun HME" rev 0x01: ivec 0x7da, address 
> 08:00:20:c1:d6:13
> luphy1 at hme1 phy 0: LU6612 10/100 PHY, rev. 1
> ppb1 at pci0 dev 1 function 0 "Sun Simba PCI-PCI" rev 0x13
> pci2 at ppb1 bus 2
> ppb2 at pci2 dev 1 function 0 "DEC 21150 PCI-PCI" rev 0x04
> pci3 at ppb2 bus 3
> pciide0 at pci3 dev 14 function 0 "CMD Technology PCI0646" rev 0x03: DMA, 
> channel 0 configured to native-PCI, channel 1 configured to native-PCI
> pciide0: using ivec 0x7c2 for native-PCI interrupt
> pciide0: channel 0 disabled (no drives)
> pciide0: channel 1 disabled (no drives)
> pcons at mainbus0 not configured
> No counter-timer -- using %tick at 440MHz as system clock.
> root on sd0a
> siop0: target 0 now using tagged 16 bit 20.0 MHz 15 REQ/ACK offset xfers
> rootdev=0x700 rrootdev=0x1100 rawdev=0x1102
> siop0: target 1 now using tagged 16 bit 20.0 MHz 16 REQ/ACK offset xfers

Reply via email to