On Thu, 25 Sep 2008 19:07:54 +0700, Henning Brauer <[EMAIL PROTECTED]>
wrote:
* Claudio Jeker <[EMAIL PROTECTED]> [2008-09-25 11:15]:
> $ bgpctl sh fib next
> flags: * = valid, B = BGP, C = Connected, S = Static
> N = BGP Nexthop reachable via this route
> r = reject route, b = blackhole route
>
> flags destination gateway
> *BN 121.52.128.0/24 202.149.67.121
> *BN 121.52.128.112/30 202.90.194.3
> *BN 121.52.128.136/30 202.90.194.5
> *CN 202.90.194.0/29 link#8
> *BN 202.90.194.8/30 202.90.194.5
> *BN 202.90.194.16/30 202.90.194.3
> *BN 202.90.194.96/27 202.90.194.5
> *CN 202.149.67.120/29 link#3
> *SN 202.149.94.234/32 202.149.67.121
> *BN 202.149.95.0/24 202.149.67.121
> *BN 202.149.95.172/30 202.90.194.5
> *BN 202.149.95.220/30 202.90.194.5
>
> No flags *CN on network 202.90.194.12/30.
> Anyone can help?
Did you configure the interface after starting bgpd?
If this is the case I think I know where the problem is.
no, he simply doesn't have a route with nexthop within
202.90.194.12/30, thus it does not show up in 'show nexthop'.
Hi Henning, Claudio and Misc@,
I have these;
$ bgpctl sh rib |more
flags: * = Valid, > = Selected, I = via IBGP, A = Announced
origin: i = IGP, e = EGP, ? = Incomplete
flags destination gateway lpref med aspath origin
*> 3.0.0.0/8 202.149.94.234 500 0 17826 4788 9304 80 i
I* 3.0.0.0/8 202.90.194.13 100 0 17826 4788 9304 80 i
and on bgpd.conf;
jktcore ="202.90.194.13"
neighbor $jktcore {
remote-as 38776
announce all
announce capabilities yes
softreconfig in yes
softreconfig out yes
descr "JKT-CORE01"
route-reflector
set {localpref 100 nexthop 202.90.194.13}
}
on the filter;
allow from $jktcore inet prefixlen 8 - 30 set nexthop 202.90.194.13
and,
$ bgpctl sh next
Nexthop State
202.149.95.221 valid
202.149.95.173 valid
121.52.128.137 valid
121.52.128.113 valid
202.90.194.110 valid
202.90.194.103 valid
202.90.194.102 valid
202.90.194.100 valid
202.149.95.45 valid
202.90.194.17 valid
202.90.194.14 valid
202.90.194.13 valid
202.90.194.9 valid
202.90.194.5 valid vlan6 UP, Ethernet, active, 100 MBit/s
202.90.194.4 valid vlan6 UP, Ethernet, active, 100 MBit/s
202.90.194.3 valid vlan6 UP, Ethernet, active, 100 MBit/s
202.90.194.2 valid vlan6 UP, Ethernet, active, 100 MBit/s
202.149.94.234 valid em1 UP, Ethernet, active, 1000 MBit/s
and,
Interface Nexthop state Flags Link state
pflog0 ok UP unknown
vlan6 ok UP Ethernet, active, 100 MBit/s
vlan111 ok UP Ethernet, active, 100 MBit/s
lo0 ok UP unknown
enc0 invalid unknown
em2 ok UP Ethernet, active, 100 MBit/s
em1 ok UP Ethernet, active, 1000 MBit/s
sk0 ok UP Ethernet, active, 100 MBit/s
em0 ok UP Ethernet, active, 100 MBit/s
$ ifconfig em2
em2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:15:17:49:04:0e
description: BACK_IF.ISAT.BDG
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::215:17ff:fe49:40e%em2 prefixlen 64 scopeid 0x4
inet 202.90.194.14 netmask 0xfffffffc broadcast 202.90.194.15
Last boot dmesg, taken from /var/run/dmesg.boot
OpenBSD 4.4-current (GENERIC) #38: Sun Sep 14 13:34:34 WIT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
RTC BIOS diagnostic error f<fixed_disk,invalid_time>
cpu0: Intel(R) Pentium(R) D CPU 3.00GHz ("GenuineIntel" 686-class) 3.01 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,S
SE3,MWAIT,DS-CPL,EST,CNXT-ID,CX16,xTPR
real mem = 1069604864 (1020MB)
avail mem = 1025802240 (978MB)
RTC BIOS diagnostic error f<fixed_disk,invalid_time>
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/13/07, SMBIOS rev. 2.4 @
0x3fbe4000 (42 entries)
bios0: vendor Intel Corporation version
"S3000.86B.02.00.0048.042920081306" date 04/29/2008
bios0: Intel S3000AH
acpi0 at bios0: rev 0
acpi0: tables DSDT SLIC FACP APIC WDDT MCFG ASF! SSDT SSDT SSDT SSDT SSDT
HEST BERT ERST EINJ
acpi0: wakeup devices SLPB(S4) P32_(S4) UAR1(S1) PEX4(S4) PEX5(S4)
UHC1(S1) UHC2(S1) UHC3(S1) UHC4(S1) EHCI(S1) AC9M(S4) AZAL(
S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (P32_)
acpiprt2 at acpi0: bus 1 (PEX0)
acpiprt3 at acpi0: bus -1 (PEX1)
acpiprt4 at acpi0: bus -1 (PEX2)
acpiprt5 at acpi0: bus -1 (PEX3)
acpiprt6 at acpi0: bus 2 (PEX4)
acpiprt7 at acpi0: bus 3 (PEX5)
acpicpu0 at acpi0: FVS, 3000, 2400 MHz
acpibtn0 at acpi0: SLPB
bios0: ROM list: 0xc0000/0x9000 0xc9000/0x1800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel E7230 Host" rev 0x00
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: irq 9
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01: irq 9
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01: irq 11
pci3 at ppb2 bus 3
em0 at pci3 dev 0 function 0 "Intel PRO/1000MT (82573E)" rev 0x03: irq 9,
address 00:15:17:49:04:0d
"Intel 82573E Serial" rev 0x03 at pci3 dev 0 function 3 not configured
"Intel 82573E KCS" rev 0x03 at pci3 dev 0 function 4 not configured
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: irq 11
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: irq 10
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: irq 11
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: irq 11
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: irq 11
ehci0: timed out waiting for BIOS
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1
pci4 at ppb3 bus 4
skc0 at pci4 dev 0 function 0 "D-Link Systems DGE-530T B1" rev 0x11, Yukon
Lite (0x9): irq 11
sk0 at skc0 port A: address 00:1c:f0:11:6c:d4
eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
em1 at pci4 dev 1 function 0 "Intel PRO/1000MT (82540EM)" rev 0x02: irq
11, address 00:07:e9:0f:44:e3
vga1 at pci4 dev 4 function 0 "ATI ES1000" rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
em2 at pci4 dev 5 function 0 "Intel PRO/1000MT (82541GI)" rev 0x05: irq 9,
address 00:15:17:49:04:0e
ichpcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01: PM
disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x01: DMA,
channel 0 configured to compatibility, channel 1 configur
ed to compatibility
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVD-ROM GDR-H30N, 1.00> ATAPI
5/cdrom removable
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 "Intel 82801GB SATA" rev 0x01: DMA,
channel 0 configured to native-PCI, channel 1 configured
to native-PCI
pciide1: using irq 10 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <ST3160211AS>
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x01: irq 10
iic0 at ichiic0
adt0 at iic0 addr 0x2e: sch5027 rev 0x69
spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask fded netmask ffed ttymask ffff
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
and, there are some fishiness just like this on /var/log/messages;
Sep 24 23:57:19 Border-RF /bsd: Non-unique normal route, mask not entered
Sep 25 00:00:01 Border-RF syslogd: restart
Sep 25 00:04:32 Border-RF /bsd: rtfree: 0xde5d4160 not freed (neg refs)
Sep 25 00:10:30 Border-RF /bsd: Non-unique normal route, mask not entered
Sep 25 00:13:36 Border-RF /bsd: Non-unique normal route, mask not entered
Sep 25 00:20:42 Border-RF /bsd: Non-unique normal route, mask not entered
Sep 25 00:39:53 Border-RF /bsd: Non-unique normal route, mask not entered
If you guys need more info, I'll try to provide more.
Thanks,
Insan
--
insandotpraja(at)gmaildotcom