Hi,

I am curious as to if this is really normal. I would say not, but may be I miss something, or miss understood something. All active and configured interfaces does show up in the fib table as they should and same for the standard loopback on as well as below:

Loopback interface lo0 at 127.0.0.1/8 is present in the fib table:

# ifconfig lo0
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33160
        groups: lo
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6

# bgpctl s f 127.0.0.0
flags: * = valid, B = BGP, C = Connected, S = Static
       N = BGP Nexthop reachable via this route
       r = reject route, b = blackhole route

flags destination          gateway
*S r  127.0.0.0/8          127.0.0.1


So, I would assume that configuring and additional loopback interface in hostname.lo2 for example should show up the same way on reboot just like any other interfaces on the router specially if it is showing up in the ipconfig as well no? Why is it not present in the fib table?

Example:

# ifconfig lo2 inet 10.0.0.1 netmask 255.255.255.0
# ifconfig lo2 up
#
# ifconfig lo2
lo2: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33160
        groups: lo
        inet 10.0.0.1 netmask 0xffffff00

Should show up the same way in the fib table no?

# bgpctl s f 10.0.0.0
flags: * = valid, B = BGP, C = Connected, S = Static
       N = BGP Nexthop reachable via this route
       r = reject route, b = blackhole route

flags destination          gateway
*SN   0.0.0.0/0            66.63.0.145


Is there something I am missing?

This is on 4.4

Thanks for your time and input.

Daniel


======================================
OpenBSD 4.4 (GENERIC) #1559: Wed Aug  6 11:30:53 MDT 2008
    dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 1059876864 (1010MB)
avail mem = 1028841472 (981MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.34 @ 0x3ff7c000 (46 entries)
bios0: vendor IBM version "IBM BIOS Version 1.28 -[P4E128AUS-1.28]-" date 03/29/ 2006
bios0: IBM IBM eServer 326m -[796976U]-
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SRAT SSDT SSDT APIC SPCR
acpi0: wakeup devices RTC_(S5) COMA(S5) COMB(S5) PXB2(S5) PXB3(S5) EXB2(S5) EXB3 (S5)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (PPBX)
acpiprt2 at acpi0: bus 1 (PXB_)
acpiprt3 at acpi0: bus 3 (PXB2)
acpiprt4 at acpi0: bus 4 (PXB3)
acpiprt5 at acpi0: bus 6 (EXB1)
acpiprt6 at acpi0: bus 5 (EXB2)
acpiprt7 at acpi0: bus 7 (EXB3)
acpicpu0 at acpi0
acpibtn0 at acpi0: PWRB
ipmi at mainbus0 not configured
cpu0 at mainbus0: (uniprocessor)
cpu0: Dual Core AMD Opteron(tm) Processor 280, 2394.35 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF
LUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16- way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: AMD erratum 89 present, BIOS upgrade may be required
pci0 at mainbus0 bus 0: configuration mode 1
ppb0 at pci0 dev 1 function 0 "ServerWorks HT-1000 PCI" rev 0x00
pci1 at ppb0 bus 1
ppb1 at pci1 dev 13 function 0 "ServerWorks HT-1000 PCIX" rev 0xb2
pci2 at ppb1 bus 2
pciide0 at pci1 dev 14 function 0 "ServerWorks HT-1000 SATA" rev 0x00: DMA
pciide0: using irq 11 for native-PCI interrupt
pciide0: port 0: device present, speed: 1.5Gb/s
wd0 at pciide0 channel 0 drive 0: <WDC WD800JD-23LSA0>
wd0: 16-sector PIO, LBA48, 76324MB, 156312576 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide0: port 1: PHY offline
pciide0: port 2: PHY offline
pciide0: port 3: PHY offline
pciide1 at pci1 dev 14 function 1 "ServerWorks HT-1000 SATA" rev 0x00
piixpm0 at pci0 dev 2 function 0 "ServerWorks HT-1000" rev 0x00: polling
iic0 at piixpm0
spdmem0 at iic0 addr 0x52: 512MB DDR SDRAM registered ECC PC3200CL3.0
spdmem1 at iic0 addr 0x53: 512MB DDR SDRAM registered ECC PC3200CL3.0
pciide2 at pci0 dev 2 function 1 "ServerWorks HT-1000 IDE" rev 0x00: DMA
atapiscsi0 at pciide2 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, CD-ROM GCR-8240N, 1.06> ATAPI 5/cdrom r emovable
cd0(pciide2:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 0
pcib0 at pci0 dev 2 function 2 "ServerWorks HT-1000 LPC" rev 0x00
ohci0 at pci0 dev 3 function 0 "ServerWorks HT-1000 USB" rev 0x01: irq 10, versi on 1.0, legacy support ohci1 at pci0 dev 3 function 1 "ServerWorks HT-1000 USB" rev 0x01: irq 10, versi on 1.0, legacy support
ehci0 at pci0 dev 3 function 2 "ServerWorks HT-1000 USB" rev 0x01: irq 10
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "ServerWorks EHCI root hub" rev 2.00/1.00 addr 1
vga1 at pci0 dev 4 function 0 "ATI ES1000" rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
drm at vga1 unsupported
ppb2 at pci0 dev 6 function 0 "ServerWorks HT-2000 PCIX" rev 0xa3
pci3 at ppb2 bus 3
ppb3 at pci0 dev 7 function 0 "ServerWorks HT-2000 PCIX" rev 0xa3
pci4 at ppb3 bus 4
bge0 at pci4 dev 4 function 0 "Broadcom BCM5780" rev 0x03, BCM5714 B3 (0x8003): irq 7, address 00:11:25:c4:0e:e4
brgphy0 at bge0 phy 1: BCM5780 10/100/1000baseT/SX PHY, rev. 0
bge1 at pci4 dev 4 function 1 "Broadcom BCM5780" rev 0x03, BCM5714 B3 (0x8003): irq 12, address 00:11:25:c4:0e:e5
brgphy1 at bge1 phy 1: BCM5780 10/100/1000baseT/SX PHY, rev. 0
ppb4 at pci0 dev 8 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3
pci5 at ppb4 bus 5
ppb5 at pci0 dev 9 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3
pci6 at ppb5 bus 6
ppb6 at pci0 dev 10 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3
pci7 at ppb6 bus 7
em0 at pci7 dev 0 function 0 "Intel PRO/1000 PT (82571EB)" rev 0x06: irq 10, add ress 00:15:17:0b:75:54 em1 at pci7 dev 0 function 1 "Intel PRO/1000 PT (82571EB)" rev 0x06: irq 10, add ress 00:15:17:0b:75:55
ppb7 at pci0 dev 11 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3
pci8 at ppb7 bus 8
pchb0 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00
pchb1 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00
pchb2 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00
kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00
isa0 at pcib0
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
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "ServerWorks OHCI root hub" rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 "ServerWorks OHCI root hub" rev 1.00/1.00 addr 1
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd0a swap on wd0b dump on wd0b

Reply via email to