Hello! I created a simple ospf test lab, but i ran into the following error:
The setup: ospfd.conf rdomain 2 area 0.0.0.0 { interface vio2 } route -T2 -n show Routing tables Internet: Destination Gateway Flags Refs Use Mtu Prio Iface default 127.0.0.1 UGBS 0 0 32768 8 lo2 127/8 127.0.0.1 UGRS 0 0 32768 8 lo2 127.0.0.1 127.0.0.1 UHl 0 9 32768 1 lo2 172.16.2/24 172.16.2.1 UC 0 0 - 4 vio2 172.16.2.1 08:00:27:1b:ce:55 UHLl 0 5 - 1 vio2 172.16.2.255 172.16.2.1 UHb 0 0 - 1 vio2 224/4 127.0.0.1 URS 0 0 32768 8 lo2 ifconfig lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768 priority: 0 groups: lo inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet 127.0.0.1 netmask 0xff000000 vio0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 08:00:27:48:6a:16 priority: 0 groups: egress media: Ethernet autoselect status: active inet 10.0.2.15 netmask 0xffffff00 broadcast 10.0.2.255 vio1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 08:00:27:e8:94:dc priority: 0 media: Ethernet autoselect status: active inet 192.168.56.11 netmask 0xffffff00 broadcast 192.168.56.255 vio2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> rdomain 2 mtu 1500 lladdr 08:00:27:1b:ce:55 priority: 0 media: Ethernet autoselect status: active inet 172.16.2.1 netmask 0xffffff00 broadcast 172.16.2.255 enc0: flags=0<> priority: 0 groups: enc status: active pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33144 priority: 0 groups: pflog lo2: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> rdomain 2 mtu 32768 priority: 0 groups: lo inet 127.0.0.1 netmask 0xff000000 ospfd -dvv -f /etc/ospfd2.conf WARNING: IP forwarding NOT enabled, running as stub router password = "secret" warning: macro 'password' not used startup if_join_group: error IP_ADD_MEMBERSHIP, interface vio2 address 224.0.0.5: Can't assign requested address if_fsm: error changing state for interface vio2, event UP, state DOWN error starting interface vio2 ospfctl show interfaces Interface Address State HelloTimer Linkstate Uptime nc ac vio2 172.16.2.1/24 DOWN - active 00:00:00 0 0 ospfctl show fib flags: * = valid, O = OSPF, C = Connected, S = Static Flags Prio Destination Nexthop *S 8 0.0.0.0/0 127.0.0.1 *C 0 127.0.0.0/8 link#0 *S 8 127.0.0.0/8 127.0.0.1 * 1 127.0.0.1/32 127.0.0.1 *C 4 172.16.2.0/24 link#3 *S 8 224.0.0.0/4 127.0.0.1 ospfctl show summary Router ID: 10.0.2.15 Uptime: 00:01:33 RFC1583 compatibility flag is disabled SPF delay is 1000 msec(s), hold time between two SPFs is 5000 msec(s) Number of external LSA(s) 0 (Checksum sum 0x0) Number of areas attached to this router: 1 Area ID: 0.0.0.0 Number of interfaces in this area: 1 Number of fully adjacent neighbors in this area: 0 SPF algorithm executed 0 time(s) Number LSA(s) 0 (Checksum sum 0x0) I miss something, or this is a bug? Thx Godot OpenBSD 5.9-beta (GENERIC) #1658: Sun Dec 27 17:03:23 MST 2015 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 520028160 (495MB) avail mem = 500244480 (477MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xe1000 (10 entries) bios0: vendor innotek GmbH version "VirtualBox" date 12/01/2006 bios0: innotek GmbH VirtualBox acpi0 at bios0: rev 2 acpi0: sleep states S0 S5 acpi0: tables DSDT FACP APIC SSDT acpi0: wakeup devices acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i5-4310U CPU @ 2.00GHz, 2594.82 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,RDRAND,HV,NXE,LONG,LAHF,ABM,ITSC cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: CPU supports MTRRs but not enabled by BIOS cpu0: apic clock running at 1000MHz cpu0: mwait min=64, max=64 ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 11, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0: C1(@1 halt!) acpibat0 at acpi0: BAT0 model "1" serial 0 type VBOX oem "innotek" acpiac0 at acpi0: AC unit online acpivideo0 at acpi0: GFX0 pvbus0 at mainbus0: KVM pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02 pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00 pciide0 at pci0 dev 1 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility pciide0: channel 0 disabled (no drives) atapiscsi0 at pciide0 channel 1 drive 0 scsibus1 at atapiscsi0: 2 targets cd0 at scsibus1 targ 0 lun 0: <VBOX, CD-ROM, 1.0> ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 vga1 at pci0 dev 2 function 0 "InnoTek VirtualBox Graphics Adapter" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) virtio0 at pci0 dev 3 function 0 "Qumranet Virtio Network" rev 0x00 vio0 at virtio0: address 08:00:27:48:6a:16 virtio0: apic 1 int 19 "InnoTek VirtualBox Guest Service" rev 0x00 at pci0 dev 4 function 0 not configured auich0 at pci0 dev 5 function 0 "Intel 82801AA AC97" rev 0x01: apic 1 int 21, ICH AC97 ac97: codec id 0x83847600 (SigmaTel STAC9700) audio0 at auich0 ohci0 at pci0 dev 6 function 0 "Apple Intrepid USB" rev 0x00: apic 1 int 22, version 1.0 piixpm0 at pci0 dev 7 function 0 "Intel 82371AB Power" rev 0x08: SMBus disabled virtio1 at pci0 dev 8 function 0 "Qumranet Virtio Network" rev 0x00 vio1 at virtio1: address 08:00:27:e8:94:dc virtio1: apic 1 int 16 virtio2 at pci0 dev 9 function 0 "Qumranet Virtio Network" rev 0x00 vio2 at virtio2: address 08:00:27:1b:ce:55 virtio2: apic 1 int 17 mpi0 at pci0 dev 20 function 0 "Symbios Logic 53c1030" rev 0x00: apic 1 int 20 mpi0: VBox MPT Fusion, firmware 0.0.0.0 scsibus2 at mpi0: 16 targets, initiator 7 sd0 at scsibus2 targ 0 lun 0: <VBOX, HARDDISK, 1.0> SCSI3 0/direct fixed sd0: 2048MB, 512 bytes/sector, 4194304 sectors mpi0: target 0 Async at 0MHz width 8bit offset 0 QAS 0 DT 0 IU 0 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pckbd0 at pckbc0 (kbd slot) wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 usb0 at ohci0: USB revision 1.0 uhub0 at usb0 "Apple OHCI root hub" rev 1.00/1.00 addr 1 vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root scsibus4 at softraid0: 256 targets root on sd0a (0b0e9c09ae81800d.a) swap on sd0b dump on sd0b