I have a physical interface with no address: em3: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:04:23:d7:71:4a description: dmz zone groups: dmz media: Ethernet autoselect (1000baseT full-duplex,master,rxpause,txpause) status: active inet6 fe80::204:23ff:fed7:714a%em3 prefixlen 64 scopeid 0x4
being used for a carp interface: # ifconfig carp1 carp1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:00:5e:00:01:02 description: dmz zone carp: MASTER carpdev em3 vhid 2 advbase 1 advskew 0 groups: carp inet6 fe80::200:5eff:fe00:102%carp1 prefixlen 64 scopeid 0xb inet 216.143.151.1 netmask 0xfffffff0 broadcast 216.143.151.15 inet 70.184.242.161 netmask 0xfffffff0 broadcast 70.184.242.175 inet6 2001:4830:167d:5237::1 prefixlen 64 inet6 2001:470:880a:5237::1 prefixlen 64 I'm not using an IPv4 address on em3, as I'm kind of short of public addresses. I do, however, have one device (Cisco 7960 phone, should you care), on that segment that works much better with DHCP, so I want to run dhcpd. dhcpd refuses to run on em3, as there is no address: Mar 31 15:52:52 right dhcpd: Can't listen on em3 - it has no IP address. however, if one trusts tcpdump used with -i carp1 and -i em3, all those nice broadcast bootp requests are seen on em3 only, so asking dhcpd to listen on carp1, to my non-surprise, doesn't appear to do anything useful. (dhcpd doesn't log anything and nothing replies out either carp1 or em3). None of which is terribly surprising. However, before I go off and burn more IP addresses on the physical interfaces, or use a server other than my firewall for dhcpd, I was going to ask if I was missing a more elegant solution. Is there anyway to convince a carp device that it wants to pay attention to broadcasts? Obligatory dmesg found below. Thanks. --Jon Radel OpenBSD 4.2-stable (GENERIC) #0: Wed Mar 26 16:54:32 UTC 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC RTC BIOS diagnostic error 80<clock_battery> cpu0: Intel(R) Pentium(R) 4 CPU 2.80GHz ("GenuineIntel" 686-class) 2.80 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,SSE3,MWAIT,DS-CPL,TM2,CNXT-ID,CX16,xTPR real mem = 509440000 (485MB) avail mem = 484925440 (462MB) RTC BIOS diagnostic error 80<clock_battery> mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 11/01/06, SMBIOS rev. 2.4 @ 0xe4410 (31 entries) bios0: vendor Intel Corp. version "MQ96510J.86A.1545.2006.1101.2008" date 11/01/2006 bios0: Intel Corporation DG965SS apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 0% apm0: AC off, battery charge unknown, estimated 0:00 hours apm0: flags 30102 dobusy 0 doidle 1 pcibios at bios0 function 0x1a not configured bios0: ROM list: 0xc0000/0xb000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82965 MCH" rev 0x02 vga1 at pci0 dev 2 function 0 "Intel 82965 Video" rev 0x02: can't map mmadr registers : AGP GART wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) "Intel 82965 HECI" rev 0x02 at pci0 dev 3 function 0 not configured em0 at pci0 dev 25 function 0 "Intel ICH8 IGP C" rev 0x02: irq 9, address 00:16:76:b5:94:b7 uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x02: irq 11 uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x02: irq 10 ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x02: irq 11 usb0 at ehci0: USB revision 2.0 uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1 ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x02 pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x02 pci2 at ppb1 bus 2 pciide0 at pci2 dev 0 function 0 "Marvell 88SE6101 IDE" rev 0xb1: DMA (unsupported), channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide0: using irq 9 for native-PCI interrupt pciide0: channel 0 ignored (not responding; disabled or no drives?) pciide0: channel 1 ignored (not responding; disabled or no drives?) ppb2 at pci0 dev 28 function 2 "Intel 82801H PCIE" rev 0x02 pci3 at ppb2 bus 3 ppb3 at pci0 dev 28 function 3 "Intel 82801H PCIE" rev 0x02 pci4 at ppb3 bus 4 ppb4 at pci0 dev 28 function 4 "Intel 82801H PCIE" rev 0x02 pci5 at ppb4 bus 5 uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x02: irq 10 uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x02: irq 11 uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x02: irq 11 ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x02: irq 10 usb1 at ehci1: USB revision 2.0 uhub1 at usb1: Intel EHCI root hub, rev 2.00/1.00, addr 1 ppb5 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xf2 pci6 at ppb5 bus 6 em1 at pci6 dev 0 function 0 "Intel PRO/1000MT (82546GB)" rev 0x03: irq 10, address 00:04:23:d7:72:26 em2 at pci6 dev 0 function 1 "Intel PRO/1000MT (82546GB)" rev 0x03: irq 11, address 00:04:23:d7:72:27 em3 at pci6 dev 1 function 0 "Intel PRO/1000MT (82546GB)" rev 0x03: irq 11, address 00:04:23:d7:71:4a em4 at pci6 dev 1 function 1 "Intel PRO/1000MT (82546GB)" rev 0x03: irq 10, address 00:04:23:d7:71:4b ichpcib0 at pci0 dev 31 function 0 "Intel 82801H LPC" rev 0x02: PM disabled pciide1 at pci0 dev 31 function 2 "Intel 82801H SATA" rev 0x02: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide1: using irq 11 for native-PCI interrupt wd0 at pciide1 channel 0 drive 0: <ST380811AS> wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 ichiic0 at pci0 dev 31 function 3 "Intel 82801H SMBus" rev 0x02: irq 10 iic0 at ichiic0 pciide2 at pci0 dev 31 function 5 "Intel 82801H SATA" rev 0x02: DMA, channel 0 wired to native-PCI, channel 1 wired to native-PCI pciide2: using irq 11 for native-PCI interrupt usb2 at uhci0: USB revision 1.0 uhub2 at usb2: Intel UHCI root hub, rev 1.00/1.00, addr 1 usb3 at uhci1: USB revision 1.0 uhub3 at usb3: Intel UHCI root hub, rev 1.00/1.00, addr 1 usb4 at uhci2: USB revision 1.0 uhub4 at usb4: Intel UHCI root hub, rev 1.00/1.00, addr 1 usb5 at uhci3: USB revision 1.0 uhub5 at usb5: Intel UHCI root hub, rev 1.00/1.00, addr 1 usb6 at uhci4: USB revision 1.0 uhub6 at usb6: Intel UHCI root hub, rev 1.00/1.00, addr 1 isa0 at ichpcib0 isadma0 at isa0 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 biomask fffd netmask fffd ttymask ffff pctr: user-level cycle counter enabled mtrr: Pentium Pro MTRR support umass0 at uhub0 port 3 configuration 1 interface 0 umass0: PLEXTOR Corp. USB Storage Adapter, rev 2.00/0.00, addr 2 umass0: using ATAPI over Bulk-Only scsibus0 at umass0: 2 targets cd0 at scsibus0 targ 1 lun 0: <PLEXTOR, DVDR PX-708A, 1.06> SCSI0 5/cdrom removable dkcsum: wd0 matches BIOS drive 0x80 root on wd0a swap on wd0b dump on wd0b [demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]