Running 4.6-stable:
$ dmesg
OpenBSD 4.6-stable (GENERIC) #0: Wed Nov 25 08:10:07 EST 2009
...
Attempting to enable dhcrelay to run via rc.conf.local is barfing.
Specifically running the daemon interactively seems happy:
$ sudo dhcrelay -i fxp3 192.168.100.6
$
$ ps -ax | grep dhcrelay
31341 ?? Is 0:00.00 dhcrelay -i fxp3 192.168.100.6
$
Subsequently, my DHCP server now responds to DHCP requests forwarded
from the segment on fxp3. Life is good.
However attempting to configure for start upon reboot fails:
$ cat /etc/rc.conf.local | grep dhcrelay
dhcrelay_flags="-i fxp3 192.168.100.6"
*INSERT REBOOT HERE*
$ ps -ax | grep dhcrelay
$
$ more /var/log/daemon | grep dhcrelay
Jan 4 16:11:49 fw01 dhcrelay: fxp3: host unknown
Jan 4 16:11:49 fw01 dhcrelay: no interface given
Jan 4 16:11:49 fw01 dhcrelay: exiting.
Jan 4 16:11:57 fw01 dhcrelay: Can't find free bpf: Permission denied
Jan 4 16:11:57 fw01 dhcrelay: exiting.
Jan 4 16:12:12 fw01 dhcrelay: Can't find free bpf: Permission denied
Jan 4 16:12:12 fw01 dhcrelay: exiting.
Jan 4 16:14:25 fw01 dhcrelay: Can't find free bpf: Permission denied
Jan 4 16:14:25 fw01 dhcrelay: exiting.
Jan 4 17:00:54 fw01 dhcrelay: Can't find free bpf: Permission denied
Jan 4 17:00:54 fw01 dhcrelay: exiting.
Jan 4 17:12:58 fw01 dhcrelay: connect: Address already in use
Jan 4 17:12:58 fw01 dhcrelay: exiting.
$
Haven't found much online about others dealing with this. Man pages for
dhcrelay, rc.conf.local, etc... haven't yielded much either.
Any pointers and or RTFM suggestions appreciated.
Entire dmesg below sig
-sc
$ dmesg
OpenBSD 4.6-stable (GENERIC) #0: Wed Nov 25 08:10:07 EST 2009
[email protected]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) III CPU family 1266MHz ("GenuineIntel"
686-class) 1.27 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,
MMX,FXSR,SSE
real mem = 1610166272 (1535MB)
avail mem = 1547108352 (1475MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xf0000,
SMBIOS rev. 2.3 @ 0xf7ce8 (23 entries)
bios0: vendor Compaq version "P21" date 06/13/2001
bios0: Compaq ProLiant DL360
acpi0 at bios0: rev 0, can't enable ACPI
mpbios0 at bios0: Intel MP Specification 1.4
cpu0 at mainbus0: apid 3 (boot processor)
cpu0: apic clock running at 132MHz
mpbios0: bus 0 is type PCI
mpbios0: bus 3 is type PCI
mpbios0: bus 9 is type ISA
ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 11, 35 pins
ioapic0: misconfigured as apic 0, remapped to apid 8
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x4000! 0xe8000/0x6000
0xee000/0x2000!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20LE Host" rev 0x06
pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20LE Host" rev 0x06
pci1 at pchb1 bus 3
fxp0 at pci1 dev 4 function 0 "Intel 8255x" rev 0x08, i82559: apic 8 int
17 (irq 5), address 00:02:a5:8b:95:32
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
fxp1 at pci1 dev 5 function 0 "Intel 8255x" rev 0x08, i82559: apic 8 int
24 (irq 7), address 00:02:a5:8b:95:31
inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
ppb0 at pci1 dev 6 function 0 "DEC 21152 PCI-PCI" rev 0x03
pci2 at ppb0 bus 4
fxp2 at pci2 dev 4 function 0 "Intel 8255x" rev 0x05, i82558: apic 8 int
23 (irq 11), address 00:03:47:42:3a:c5
inphy2 at fxp2 phy 1: i82555 10/100 PHY, rev. 0
fxp3 at pci2 dev 5 function 0 "Intel 8255x" rev 0x05, i82558: apic 8 int
22 (irq 10), address 00:03:47:42:3a:c6
inphy3 at fxp3 phy 1: i82555 10/100 PHY, rev. 0
cac0 at pci0 dev 1 function 0 "Symbios Logic 53c1510" rev 0x02: apic 8
int 19 (irq 3), Integrated Array
scsibus0 at cac0: 1 targets
sd0 at scsibus0 targ 0 lun 0: <Compaq, RAID1 vol #00, > SCSI2 0/direct
fixed
sd0: 17359MB, 512 bytes/sec, 35553120 sec total
vga1 at pci0 dev 3 function 0 "ATI Mach64" rev 0x7a
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"Compaq Netelligent ASMC" rev 0x00 at pci0 dev 4 function 0 not
configured
ppb1 at pci0 dev 5 function 0 "DEC 21152 PCI-PCI" rev 0x03
pci3 at ppb1 bus 1
fxp4 at pci3 dev 4 function 0 "Intel 8255x" rev 0x05, i82558: apic 8 int
21 (irq 10), address 00:d0:b7:82:dd:ae
inphy4 at fxp4 phy 1: i82555 10/100 PHY, rev. 0
fxp5 at pci3 dev 5 function 0 "Intel 8255x" rev 0x05, i82558: apic 8 int
20 (irq 11), address 00:d0:b7:82:dd:af
inphy5 at fxp5 phy 1: i82555 10/100 PHY, rev. 0
piixpm0 at pci0 dev 15 function 0 "ServerWorks OSB4" rev 0x51: SMBus
disabled
pciide0 at pci0 dev 15 function 1 "ServerWorks OSB4 IDE" rev 0x00: DMA
atapiscsi0 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <COMPAQ, CD-224E, 9.0C> ATAPI 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
isa0 at mainbus0
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
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
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
mtrr: Pentium Pro MTRR support
softraid0 at root
root on sd0a swap on sd0b dump on sd0b
$