Discussion:
[sendbug] dhclient can't DHCPREQUEST using static route
Paul de Weerd
2017-06-20 18:23:31 UTC
Permalink
Synopsis: dhclient can't DHCPREQUEST using static route
Category: system
System : OpenBSD 6.1
Details : OpenBSD 6.1-current (GENERIC.MP) #76: Sun May 21 22:37:18 MDT 2017
***@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
When refreshing the DHCP lease from my ISP, dhclient first
DHCPREQUESTs the old IP address from the known DHCP server. This
errors out due to 'No route to host' (the DHCP server is not in the
same IP subnet as the lease), while a route is definitely present. It
subsequently doas a broadcast request and then gets a lease (from the
same DHCP server):

2017-06-20T18:09:57.349Z tuna dhclient[30480]: DHCPREQUEST on vlan4 to 10.10.0.33
2017-06-20T18:09:57.349Z tuna dhclient[30480]: send_packet: No route to host
2017-06-20T18:09:58.359Z tuna dhclient[30480]: DHCPREQUEST on vlan4 to 10.10.0.33
2017-06-20T18:09:58.359Z tuna dhclient[30480]: send_packet: No route to host
2017-06-20T18:09:59.369Z tuna dhclient[30480]: DHCPREQUEST on vlan4 to 255.255.255.255
2017-06-20T18:09:59.586Z tuna dhclient[30480]: DHCPACK from 10.10.0.33 (02:03:3b:04:90:94)
2017-06-20T18:09:59.586Z tuna dhclient[30480]: bound to 10.10.48.29 -- renewal in 1800 seconds.

[***@tuna] $ cat /var/db/dhclient.leases.vlan4
lease {
interface "vlan4";
fixed-address 10.10.48.29;
next-server 0.0.0.0;
option subnet-mask 255.255.248.0;
option routers 10.10.48.1;
option dhcp-lease-time 3600;
option dhcp-message-type 5;
option dhcp-server-identifier 10.10.0.33;
renew 2 2017/06/20 18:39:59 UTC;
rebind 2 2017/06/20 19:02:29 UTC;
expire 2 2017/06/20 19:09:59 UTC;
}

[***@tuna] $ route get 10.10.0.33
route to: 10.10.0.33
destination: 10.10.0.0
mask: 255.255.0.0
gateway: 10.10.48.1
interface: vlan4
if address: 10.10.48.29
priority: 8 (static)
flags: <UP,GATEWAY,DONE,STATIC>
use mtu expire
2321 0 0

[***@tuna] $ cat /etc/hostname.vlan4
vlan 4 vlandev em2
lladdr 00:60:e0:52:0f:9c
description "TV upstream"
dhcp
!/sbin/route add 185.6.48.0/26 10.10.48.1
!/sbin/route add 10.10.0.0/16 10.10.48.1
Start dhclient on an interface that gets a lease from a
non-local DHCP server (I think).
<how to correct or work around the problem, if known (multiple lines)>

dmesg:
OpenBSD 6.1-current (GENERIC.MP) #76: Sun May 21 22:37:18 MDT 2017
***@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2120876032 (2022MB)
avail mem = 2050867200 (1955MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xfc690 (23 entries)
bios0: vendor American Megatrends Inc. version "080015" date 09/15/2010
bios0: AXIOMTEK NA-320
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP APIC MCFG OEMB GSCI SSDT
acpi0: wakeup devices P0P1(S4) USB0(S4) USB1(S4) USB2(S4) USB3(S4) EUSB(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4) P0P8(S4) P0P9(S4) USB4(S4) USB5(S4) USBE(S4) GBEC(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Atom(TM) CPU D510 @ 1.66GHz, 1662.71 MHz
cpu0: FPU,VME,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,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR
cpu0: 512KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 166MHz
cpu0: mwait min=64, max=64, C-substates=0.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Atom(TM) CPU D510 @ 1.66GHz, 1662.50 MHz
cpu1: FPU,VME,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,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR
cpu1: 512KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Atom(TM) CPU D510 @ 1.66GHz, 1662.50 MHz
cpu2: FPU,VME,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,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR
cpu2: 512KB 64b/line 8-way L2 cache
cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Atom(TM) CPU D510 @ 1.66GHz, 1662.50 MHz
cpu3: FPU,VME,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,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR
cpu3: 512KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (P0P4)
acpiprt2 at acpi0: bus 3 (P0P5)
acpiprt3 at acpi0: bus 4 (P0P6)
acpiprt4 at acpi0: bus 5 (P0P7)
acpiprt5 at acpi0: bus 6 (P0P8)
acpiprt6 at acpi0: bus 7 (P0P9)
acpicpu0 at acpi0: C1(***@1 mwait.1)
acpicpu1 at acpi0: C1(***@1 mwait.1)
acpicpu2 at acpi0: C1(@1 halt!)
acpicpu3 at acpi0: C1(@1 halt!)
"PNP0501" at acpi0 not configured
"PNP0501" at acpi0 not configured
acpibtn0 at acpi0: PWRB
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Pineview DMI" rev 0x02
inteldrm0 at pci0 dev 2 function 0 "Intel Pineview Video" rev 0x02
drm0 at inteldrm0
intagp0 at inteldrm0
agp0 at intagp0: aperture at 0xd0000000, size 0x10000000
inteldrm0: msi
Raw EDID:

00 00 00 00 00 00 00 00 01 01 01 01 01 01 01 01
03 03 03 03 03 03 03 03 07 07 07 07 07 07 07 07
0f 0f 0f 0f 0f 0f 0f 0f 1f 1f 1f 1f 1f 1f 1f 1f
3f 3f 3f 3f 3f 3f 3f 3f 7f 7f 7f 7f 7f 7f 7f 7f
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Raw EDID:

fc fc fc fc fc fc fc fc f9 f9 f9 f9 f9 f9 f9 f9
f3 f3 f3 f3 f3 f3 f3 f3 e7 e7 e7 e7 e7 e7 e7 e7
cf cf cf cf cf cf cf cf 9f 9f 9f 9f 9f 9f 9f 9f
3f 3f 3f 3f 3f 3f 3f 3f 7f 7f 7f 7f 7f 7f 7f 7f
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Raw EDID:

fc fc fc fc fc fc fc fc f9 f9 f9 f9 f9 f9 f9 f9
f3 f3 f3 f3 f3 f3 f3 f3 e7 e7 e7 e7 e7 e7 e7 e7
cf cf cf cf cf cf cf cf 9f 9f 9f 9f 9f 9f 9f 9f
3f 3f 3f 3f 3f 3f 3f 3f 7f 7f 7f 7f 7f 7f 7f 7f
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Raw EDID:

fc fc fc fc fc fc fc fc f9 f9 f9 f9 f9 f9 f9 f9
f3 f3 f3 f3 f3 f3 f3 f3 e7 e7 e7 e7 e7 e7 e7 e7
cf cf cf cf cf cf cf cf 9f 9f 9f 9f 9f 9f 9f 9f
3f 3f 3f 3f 3f 3f 3f 3f 7f 7f 7f 7f 7f 7f 7f 7f
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
drm:pid0:drm_do_get_edid *WARNING* VGA-1: EDID block 0 invalid.
inteldrm0: 1024x768, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x04: msi
pci1 at ppb0 bus 2
em0 at pci1 dev 0 function 0 "Intel 82583V" rev 0x00: msi, address 00:60:e0:52:0f:96
ppb1 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x04: msi
pci2 at ppb1 bus 3
em1 at pci2 dev 0 function 0 "Intel 82583V" rev 0x00: msi, address 00:60:e0:52:0f:97
ppb2 at pci0 dev 28 function 2 "Intel 82801H PCIE" rev 0x04: msi
pci3 at ppb2 bus 4
em2 at pci3 dev 0 function 0 "Intel 82583V" rev 0x00: msi, address 00:60:e0:52:0f:98
ppb3 at pci0 dev 28 function 3 "Intel 82801H PCIE" rev 0x04: msi
pci4 at ppb3 bus 5
em3 at pci4 dev 0 function 0 "Intel 82583V" rev 0x00: msi, address 00:60:e0:52:0f:99
ppb4 at pci0 dev 28 function 4 "Intel 82801H PCIE" rev 0x04: msi
pci5 at ppb4 bus 6
em4 at pci5 dev 0 function 0 "Intel 82583V" rev 0x00: msi, address 00:60:e0:52:0f:9a
ppb5 at pci0 dev 28 function 5 "Intel 82801H PCIE" rev 0x04: msi
pci6 at ppb5 bus 7
em5 at pci6 dev 0 function 0 "Intel 82583V" rev 0x00: msi, address 00:60:e0:52:0f:9b
uhci0 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x04: apic 4 int 23
uhci1 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x04: apic 4 int 19
uhci2 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x04: apic 4 int 18
ehci0 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x04: apic 4 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb6 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xf4
pci7 at ppb6 bus 1
pcib0 at pci0 dev 31 function 0 "Intel 82801HBM LPC" rev 0x04
pciide0 at pci0 dev 31 function 1 "Intel 82801HBM IDE" rev 0x04: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 ignored (disabled)
ahci0 at pci0 dev 31 function 2 "Intel 82801HBM AHCI" rev 0x04: msi, AHCI 1.1
ahci0: port 0: 3.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, M4-CT256M4SSD2, 070H> SCSI3 0/direct fixed naa.500a07510927b253
sd0: 244198MB, 512 bytes/sector, 500118192 sectors, thin
ichiic0 at pci0 dev 31 function 3 "Intel 82801H SMBus" rev 0x04: apic 4 int 17
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-6400CL6 SO-DIMM
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
wbsio0 at isa0 port 0x2e/2: W83627DHG-P rev 0x73
lm1 at wbsio0 port 0xa00/8: W83627DHG
umass0 at uhub0 port 1 configuration 1 interface 0 "Western Digital My Passport 259D" rev 2.10/10.12 addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd1 at scsibus2 targ 1 lun 0: <WD, My Passport 259D, 1012> SCSI4 0/direct fixed
sd1: 3815415MB, 512 bytes/sector, 7813969920 sectors
ses0 at scsibus2 targ 1 lun 1: <WD, SES Device, 1012> SCSI4 13/enclosure services fixed
ses0: unable to read enclosure configuration
uhub4 at uhub0 port 2 configuration 1 interface 0 "Genesys Logic USB2.0 Hub" rev 2.00/85.32 addr 3
uhidev0 at uhub4 port 1 configuration 1 interface 0 "RDing TEMPERHUM1V1.2" rev 2.00/0.01 addr 4
uhidev0: iclass 3/1, 1 report id
ukbd0 at uhidev0 reportid 1: 8 variable keys, 5 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub4 port 1 configuration 1 interface 1 "RDing TEMPERHUM1V1.2" rev 2.00/0.01 addr 4
uhidev1: iclass 3/1
ugold0 at uhidev1
uftdi0 at uhub4 port 2 configuration 1 interface 0 "FTDI SYNLEAF - FT232R USB UART" rev 2.00/6.00 addr 5
ucom0 at uftdi0 portno 1
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
root on sd0a (86b81881bbaa38a1.a) swap on sd0b dump on sd0b
ugold0: 2 sensors type si7006 (temperature and humidity)

usbdevs:
Controller /dev/usb0:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x8086), rev 1.00
port 1 addr 2: high speed, power 500 mA, config 1, My Passport 259D(0x259d), Western Digital(0x1058), rev 10.12, iSerialNumber 57583231443736503041334E
port 2 addr 3: high speed, self powered, config 1, USB2.0 Hub(0x0608), Genesys Logic(0x05e3), rev 85.32
port 1 addr 4: low speed, power 100 mA, config 1, TEMPERHUM1V1.2(0x7402), RDing(0x0c45), rev 0.01
port 2 addr 5: full speed, power 90 mA, config 1, SYNLEAF - FT232R USB UART(0x6001), FTDI(0x0403), rev 6.00, iSerialNumber A7XOCBSM
port 3 powered
port 4 powered
port 3 powered
port 4 powered
port 5 powered
port 6 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x8086), rev 1.00
port 1 powered
port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x8086), rev 1.00
port 1 powered
port 2 powered
Controller /dev/usb3:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x8086), rev 1.00
port 1 powered
port 2 powered
--
++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
http://www.weirdnet.nl/
Paul de Weerd
2017-06-21 20:36:37 UTC
Permalink
Thanks to two off-list replies, I looked at pf. Turns out, pf is
blocking these packets. However, it's blocking them on the wrong
interface.

Recap: dhclient runs on vlan4. The DHCP server is 10.10.0.33. I have
a route to 10.10.0.0/16 out over vlan4. My default route is over
vlan34.

Packets sent by dhclient to 10.10.0.33 are blocked by pf with the
following pflog output:

21:42:51.212547 rule 1/(match) [uid 0, pid 91842] block out on vlan34: [uid 4294967295, pid 100000] 10.10.48.29.68 > 10.10.0.33.67: [udp sum ok] xid:0xa33fd786 C:10.10.48.29 ether 00:60:e0:52:0f:9c vend-rfc1048 DHCP:REQUEST HN:"tuna" PR:SM+BR+DG CID:1.0.96.224.82.15.156 [tos 0x10] (ttl 128, id 53107, len 328, bad ip cksum f543! -> 25d0)
21:42:52.222508 rule 1/(match) [uid 0, pid 91842] block out on vlan34: [uid 4294967295, pid 100000] 10.10.48.29.68 > 10.10.0.33.67: [udp sum ok] xid:0xa33fd786 secs:1 C:10.10.48.29 ether 00:60:e0:52:0f:9c vend-rfc1048 DHCP:REQUEST HN:"tuna" PR:SM+BR+DG CID:1.0.96.224.82.15.156 [tos 0x10] (ttl 128, id 2876, len 328, bad ip cksum f543! -> ea07)

pf rule 1 says:

@1 block return out log on vlan34 all
[ Evaluations: 470943 Packets: 578 Bytes: 52070 States: 0 ]
[ Inserted: uid 0 pid 91842 State Creations: 0 ]

(later on in my pf.conf I have explicit rules that allow traffic to
10.10.0.0/16 over vlan4, but that's obviously not matched)


Why would a packet for 10.10.0.33 be sent out over vlan34 (and be
blocked there) if there's a specific route over vlan4?



My full routing table is (MACs of the innocent have been masked out):

--- netstat -rnf inet ------------------------------------------------
Routing tables

Internet:
Destination Gateway Flags Refs Use Mtu Prio Iface
default 84.245.42.1 UGS 946 1243526112 - 8 vlan34
10.10/16 10.10.48.1 UGS 0 2423 - 8 vlan4
10.10.48/21 10.10.48.29 UCn 1 0 - 4 vlan4
10.10.48.1 link#14 UHLch 2 39 - 3 vlan4
10.10.48.29 00:60:e0:52:0f:9c UHLl 0 42309 - 1 vlan4
10.10.55.255 10.10.48.29 UHb 0 0 - 1 vlan4
84.245.42/24 84.245.42.135 UCn 1 0 - 4 vlan34
84.245.42.1 00:30:88:16:ac:fe UHLch 1 2240 - 3 vlan34
84.245.42.135 00:60:e0:52:0f:98 UHLl 0 468649319 - 1 vlan34
84.245.42.255 84.245.42.135 UHb 0 0 - 1 vlan34
127/8 127.0.0.1 UGRS 0 0 32768 8 lo0
127.0.0.1 127.0.0.1 UHhl 3 13843 32768 1 lo0
185.6.48.0/26 10.10.48.1 UGS 0 6209 - 8 vlan4
192.168.34/24 192.168.34.1 UCn 12 7318722 - 4 em0
192.168.34.1 00:60:e0:52:0f:96 UHLl 0 6004466 - 1 em0
192.168.34.2 00:60:e0:52:0f:96 UHLl 0 110 - 1 em0
192.168.34.2/32 192.168.34.2 UCn 0 0 - 4 em0
192.168.34.20 __:__:__:__:__:__ UHLc 1 5383583 - 3 em0
192.168.34.21 __:__:__:__:__:__ UHLc 0 7142445 - 3 em0
192.168.34.22 __:__:__:__:__:__ UHLc 0 3109025 - 3 em0
192.168.34.23 __:__:__:__:__:__ UHLc 0 3109116 - 3 em0
192.168.34.131 __:__:__:__:__:__ UHLc 0 7633977 - 3 em0
192.168.34.132 __:__:__:__:__:__ UHLc 0 3256650 - 3 em0
192.168.34.136 __:__:__:__:__:__ UHLc 0 284257197 - 3 em0
192.168.34.147 __:__:__:__:__:__ UHLc 0 7289189 - 3 em0
192.168.34.149 __:__:__:__:__:__ UHLc 14 85532587 - 3 em0
192.168.34.151 __:__:__:__:__:__ UHLc 1 7306019 - 3 em0
192.168.34.197 __:__:__:__:__:__ UHLc 0 1849421 - 3 em0
192.168.34.251 __:__:__:__:__:__ UHLc 0 7274945 - 3 em0
192.168.34.255 192.168.34.1 UHb 0 0 - 1 em0
192.168.35/24 192.168.35.1 UCn 0 0 - 4 vlan10
192.168.35.1 00:60:e0:52:0f:97 UHLl 0 592 - 1 vlan10
192.168.35.255 192.168.35.1 UHb 0 0 - 1 vlan10
192.168.36/24 192.168.36.1 UCn 1 22 - 4 vlan20
192.168.36.1 00:60:e0:52:0f:96 UHLl 0 82722 - 1 vlan20
192.168.36.100 __:__:__:__:__:__ UHLc 1 26934 - 3 vlan20
192.168.36.255 192.168.36.1 UHb 0 22 - 1 vlan20
203.0.113.64/27 203.0.113.66 UGS 0 0 - 8 tun0
203.0.113.65 203.0.113.65 UHl 0 0 - 1 tun0
203.0.113.66 203.0.113.65 UHh 1 1 - 8 tun0
239.0.2.1 10.10.48.29 UHm 0 313008 - 8 vlan4
239.0.2.2 10.10.48.29 UHm 0 314561 - 8 vlan4
----------------------------------------------------------------------

There's no capture of the blocked packets (of course), but the
successful packets (broadcasted) look like:

21:42:53.232446 00:60:e0:52:0f:9c ff:ff:ff:ff:ff:ff 0800 342: 10.10.48.29.68 > 255.255.255.255.67: [udp sum ok] xid:0xa33fd786 secs:2 C:10.10.48.29 vend-rfc1048 DHCP:REQUEST HN:"tuna" PR:SM+BR+DG CID:1.0.96.224.82.15.156 [tos 0x10] (ttl 128, id 0, len 328)
21:42:53.448939 02:03:3b:04:90:94 00:60:e0:52:0f:9c 0800 342: 10.10.0.33.67 > 10.10.48.29.68: [udp sum ok] hops:1 xid:0xa33fd786 secs:2 C:10.10.48.29 Y:10.10.48.29 vend-rfc1048 DHCP:ACK SID:10.10.0.33 LT:3600 SM:255.255.248.0 DG:10.10.48.1 [tos 0x60] (ttl 16, id 0, len 328)

--- ifconfig -a ------------------------------------------------------
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768
description: loopback
index 8 priority 0 llprio 3
groups: lo
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8
inet 127.0.0.1 netmask 0xff000000
em0: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:60:e0:52:0f:96
description: to wireless
index 1 priority 0 llprio 3
groups: lan
media: Ethernet autoselect (1000baseT full-duplex,master,rxpause,txpause)
status: active
inet 192.168.34.1 netmask 0xffffff00 broadcast 192.168.34.255
inet6 fe80::260:e0ff:fe52:f96%em0 prefixlen 64 scopeid 0x1
inet6 2a02:898:28:200::1 prefixlen 64
inet6 2a02:898:28:200::2 prefixlen 128
inet6 2a02:898:28:200::80 prefixlen 128
em1: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:60:e0:52:0f:97
description: to media
index 2 priority 0 llprio 3
groups: lan
media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause)
status: active
em2: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:60:e0:52:0f:98
description: to uplink
index 3 priority 0 llprio 3
media: Ethernet autoselect (1000baseT full-duplex,master,rxpause,txpause)
status: active
em3: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:60:e0:52:0f:99
description: to upstairs
index 4 priority 0 llprio 3
groups: lan
media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause)
status: active
em4: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:60:e0:52:0f:9a
index 5 priority 0 llprio 3
media: Ethernet autoselect (none)
status: no carrier
em5: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:60:e0:52:0f:9b
index 6 priority 0 llprio 3
media: Ethernet autoselect (none)
status: no carrier
enc0: flags=0<>
index 7 priority 0 llprio 3
groups: enc
status: active
lo1: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768
index 9 priority 0 llprio 3
groups: lo
inet6 ::1 prefixlen 128
inet6 fe80::1%lo1 prefixlen 64 scopeid 0x9
inet6 ::2 prefixlen 128
vlan10: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:60:e0:52:0f:97
description: to set-top-box
index 10 priority 0 llprio 3
vlan: 10 parent interface: em1
vnetid: 10
parent: em1
groups: vlan
status: active
inet 192.168.35.1 netmask 0xffffff00 broadcast 192.168.35.255
vlan34: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:60:e0:52:0f:98
description: Tweak internet
index 13 priority 0 llprio 3
vlan: 34 parent interface: em2
vnetid: 34
parent: em2
groups: vlan egress
status: active
inet 84.245.42.135 netmask 0xffffff00 broadcast 84.245.42.255
vlan4: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:60:e0:52:0f:9c
description: TV upstream
index 14 priority 0 llprio 3
vlan: 4 parent interface: em2
vnetid: 4
parent: em2
groups: vlan
status: active
inet 10.10.48.29 netmask 0xfffff800 broadcast 10.10.55.255
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
index 15 priority 0 llprio 3
groups: tun
status: active
inet 203.0.113.65 --> 203.0.113.66 netmask 0xffffffff
gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1420
index 16 priority 0 llprio 3
groups: gif egress
tunnel: inet 84.245.42.135 -> 94.142.244.6
inet6 fe80::260:e0ff:fe52:f96%gif0 -> prefixlen 64 scopeid 0x10
inet6 2a02:898:28:100::2 -> 2a02:898:28:100::1 prefixlen 128
bridge0: flags=41<UP,RUNNING>
description: LAN bridge
index 17 llprio 3
groups: bridge
priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp
em0 flags=3<LEARNING,DISCOVER>
port 1 ifpriority 0 ifcost 0
em1 flags=3<LEARNING,DISCOVER>
port 2 ifpriority 0 ifcost 0
em3 flags=3<LEARNING,DISCOVER>
port 4 ifpriority 0 ifcost 0
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33136
description: pf log
index 20 priority 0 llprio 3
groups: pflog
vlan20: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:60:e0:52:0f:96
description: WiFi guest network downstairs
index 22 priority 0 llprio 3
vlan: 20 parent interface: em0
vnetid: 20
parent: em0
groups: vlan
status: active
inet 192.168.36.1 netmask 0xffffff00 broadcast 192.168.36.255
inet6 fe80::260:e0ff:fe52:f96%vlan20 prefixlen 64 scopeid 0x16
inet6 2a02:898:28:201::1 prefixlen 64
vlan21: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:60:e0:52:0f:99
description: WiFi guest network upstairs
index 23 priority 0 llprio 3
vlan: 20 parent interface: em3
vnetid: 20
parent: em3
groups: vlan
status: active
bridge20: flags=41<UP,RUNNING>
description: Guest wifi bridge
index 24 llprio 3
groups: bridge
priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp
vlan20 flags=3<LEARNING,DISCOVER>
port 22 ifpriority 0 ifcost 0
vlan21 flags=3<LEARNING,DISCOVER>
port 23 ifpriority 0 ifcost 0
----------------------------------------------------------------------

Thanks,

Paul 'WEiRD' de Weerd


On Tue, Jun 20, 2017 at 08:23:31PM +0200, Paul de Weerd wrote:
| >Synopsis: dhclient can't DHCPREQUEST using static route
| >Category: system
| >Environment:
| System : OpenBSD 6.1
| Details : OpenBSD 6.1-current (GENERIC.MP) #76: Sun May 21 22:37:18 MDT 2017
| ***@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
|
| Architecture: OpenBSD.amd64
| Machine : amd64
| >Description:
|
| When refreshing the DHCP lease from my ISP, dhclient first
| DHCPREQUESTs the old IP address from the known DHCP server. This
| errors out due to 'No route to host' (the DHCP server is not in the
| same IP subnet as the lease), while a route is definitely present. It
| subsequently doas a broadcast request and then gets a lease (from the
| same DHCP server):
|
| 2017-06-20T18:09:57.349Z tuna dhclient[30480]: DHCPREQUEST on vlan4 to 10.10.0.33
| 2017-06-20T18:09:57.349Z tuna dhclient[30480]: send_packet: No route to host
| 2017-06-20T18:09:58.359Z tuna dhclient[30480]: DHCPREQUEST on vlan4 to 10.10.0.33
| 2017-06-20T18:09:58.359Z tuna dhclient[30480]: send_packet: No route to host
| 2017-06-20T18:09:59.369Z tuna dhclient[30480]: DHCPREQUEST on vlan4 to 255.255.255.255
| 2017-06-20T18:09:59.586Z tuna dhclient[30480]: DHCPACK from 10.10.0.33 (02:03:3b:04:90:94)
| 2017-06-20T18:09:59.586Z tuna dhclient[30480]: bound to 10.10.48.29 -- renewal in 1800 seconds.
|
| [***@tuna] $ cat /var/db/dhclient.leases.vlan4
| lease {
| interface "vlan4";
| fixed-address 10.10.48.29;
| next-server 0.0.0.0;
| option subnet-mask 255.255.248.0;
| option routers 10.10.48.1;
| option dhcp-lease-time 3600;
| option dhcp-message-type 5;
| option dhcp-server-identifier 10.10.0.33;
| renew 2 2017/06/20 18:39:59 UTC;
| rebind 2 2017/06/20 19:02:29 UTC;
| expire 2 2017/06/20 19:09:59 UTC;
| }
|
| [***@tuna] $ route get 10.10.0.33
| route to: 10.10.0.33
| destination: 10.10.0.0
| mask: 255.255.0.0
| gateway: 10.10.48.1
| interface: vlan4
| if address: 10.10.48.29
| priority: 8 (static)
| flags: <UP,GATEWAY,DONE,STATIC>
| use mtu expire
| 2321 0 0
|
| [***@tuna] $ cat /etc/hostname.vlan4
| vlan 4 vlandev em2
| lladdr 00:60:e0:52:0f:9c
| description "TV upstream"
| dhcp
| !/sbin/route add 185.6.48.0/26 10.10.48.1
| !/sbin/route add 10.10.0.0/16 10.10.48.1
|
| >How-To-Repeat:
| Start dhclient on an interface that gets a lease from a
| non-local DHCP server (I think).
|
| >Fix:
| <how to correct or work around the problem, if known (multiple lines)>
|
| dmesg:
| OpenBSD 6.1-current (GENERIC.MP) #76: Sun May 21 22:37:18 MDT 2017
| ***@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
| real mem = 2120876032 (2022MB)
| avail mem = 2050867200 (1955MB)
| mpath0 at root
| scsibus0 at mpath0: 256 targets
| mainbus0 at root
| bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xfc690 (23 entries)
| bios0: vendor American Megatrends Inc. version "080015" date 09/15/2010
| bios0: AXIOMTEK NA-320
| acpi0 at bios0: rev 2
| acpi0: sleep states S0 S1 S4 S5
| acpi0: tables DSDT FACP APIC MCFG OEMB GSCI SSDT
| acpi0: wakeup devices P0P1(S4) USB0(S4) USB1(S4) USB2(S4) USB3(S4) EUSB(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4) P0P8(S4) P0P9(S4) USB4(S4) USB5(S4) USBE(S4) GBEC(S4)
| acpitimer0 at acpi0: 3579545 Hz, 24 bits
| acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
| cpu0 at mainbus0: apid 0 (boot processor)
| cpu0: Intel(R) Atom(TM) CPU D510 @ 1.66GHz, 1662.71 MHz
| cpu0: FPU,VME,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,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR
| cpu0: 512KB 64b/line 8-way L2 cache
| cpu0: smt 0, core 0, package 0
| mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
| cpu0: apic clock running at 166MHz
| cpu0: mwait min=64, max=64, C-substates=0.1, IBE
| cpu1 at mainbus0: apid 2 (application processor)
| cpu1: Intel(R) Atom(TM) CPU D510 @ 1.66GHz, 1662.50 MHz
| cpu1: FPU,VME,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,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR
| cpu1: 512KB 64b/line 8-way L2 cache
| cpu1: smt 0, core 1, package 0
| cpu2 at mainbus0: apid 1 (application processor)
| cpu2: Intel(R) Atom(TM) CPU D510 @ 1.66GHz, 1662.50 MHz
| cpu2: FPU,VME,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,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR
| cpu2: 512KB 64b/line 8-way L2 cache
| cpu2: smt 1, core 0, package 0
| cpu3 at mainbus0: apid 3 (application processor)
| cpu3: Intel(R) Atom(TM) CPU D510 @ 1.66GHz, 1662.50 MHz
| cpu3: FPU,VME,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,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR
| cpu3: 512KB 64b/line 8-way L2 cache
| cpu3: smt 1, core 1, package 0
| ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 20, 24 pins
| acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
| acpiprt0 at acpi0: bus 0 (PCI0)
| acpiprt1 at acpi0: bus 2 (P0P4)
| acpiprt2 at acpi0: bus 3 (P0P5)
| acpiprt3 at acpi0: bus 4 (P0P6)
| acpiprt4 at acpi0: bus 5 (P0P7)
| acpiprt5 at acpi0: bus 6 (P0P8)
| acpiprt6 at acpi0: bus 7 (P0P9)
| acpicpu0 at acpi0: C1(***@1 mwait.1)
| acpicpu1 at acpi0: C1(***@1 mwait.1)
| acpicpu2 at acpi0: C1(@1 halt!)
| acpicpu3 at acpi0: C1(@1 halt!)
| "PNP0501" at acpi0 not configured
| "PNP0501" at acpi0 not configured
| acpibtn0 at acpi0: PWRB
| pci0 at mainbus0 bus 0
| pchb0 at pci0 dev 0 function 0 "Intel Pineview DMI" rev 0x02
| inteldrm0 at pci0 dev 2 function 0 "Intel Pineview Video" rev 0x02
| drm0 at inteldrm0
| intagp0 at inteldrm0
| agp0 at intagp0: aperture at 0xd0000000, size 0x10000000
| inteldrm0: msi
| Raw EDID:
|
| 00 00 00 00 00 00 00 00 01 01 01 01 01 01 01 01
| 03 03 03 03 03 03 03 03 07 07 07 07 07 07 07 07
| 0f 0f 0f 0f 0f 0f 0f 0f 1f 1f 1f 1f 1f 1f 1f 1f
| 3f 3f 3f 3f 3f 3f 3f 3f 7f 7f 7f 7f 7f 7f 7f 7f
| ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
| ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
| ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
| ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
| Raw EDID:
|
| fc fc fc fc fc fc fc fc f9 f9 f9 f9 f9 f9 f9 f9
| f3 f3 f3 f3 f3 f3 f3 f3 e7 e7 e7 e7 e7 e7 e7 e7
| cf cf cf cf cf cf cf cf 9f 9f 9f 9f 9f 9f 9f 9f
| 3f 3f 3f 3f 3f 3f 3f 3f 7f 7f 7f 7f 7f 7f 7f 7f
| ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
| ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
| ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
| ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
| Raw EDID:
|
| fc fc fc fc fc fc fc fc f9 f9 f9 f9 f9 f9 f9 f9
| f3 f3 f3 f3 f3 f3 f3 f3 e7 e7 e7 e7 e7 e7 e7 e7
| cf cf cf cf cf cf cf cf 9f 9f 9f 9f 9f 9f 9f 9f
| 3f 3f 3f 3f 3f 3f 3f 3f 7f 7f 7f 7f 7f 7f 7f 7f
| ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
| ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
| ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
| ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
| Raw EDID:
|
| fc fc fc fc fc fc fc fc f9 f9 f9 f9 f9 f9 f9 f9
| f3 f3 f3 f3 f3 f3 f3 f3 e7 e7 e7 e7 e7 e7 e7 e7
| cf cf cf cf cf cf cf cf 9f 9f 9f 9f 9f 9f 9f 9f
| 3f 3f 3f 3f 3f 3f 3f 3f 7f 7f 7f 7f 7f 7f 7f 7f
| ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
| ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
| ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
| ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
| drm:pid0:drm_do_get_edid *WARNING* VGA-1: EDID block 0 invalid.
| inteldrm0: 1024x768, 32bpp
| wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
| wsdisplay0: screen 1-5 added (std, vt100 emulation)
| ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x04: msi
| pci1 at ppb0 bus 2
| em0 at pci1 dev 0 function 0 "Intel 82583V" rev 0x00: msi, address 00:60:e0:52:0f:96
| ppb1 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x04: msi
| pci2 at ppb1 bus 3
| em1 at pci2 dev 0 function 0 "Intel 82583V" rev 0x00: msi, address 00:60:e0:52:0f:97
| ppb2 at pci0 dev 28 function 2 "Intel 82801H PCIE" rev 0x04: msi
| pci3 at ppb2 bus 4
| em2 at pci3 dev 0 function 0 "Intel 82583V" rev 0x00: msi, address 00:60:e0:52:0f:98
| ppb3 at pci0 dev 28 function 3 "Intel 82801H PCIE" rev 0x04: msi
| pci4 at ppb3 bus 5
| em3 at pci4 dev 0 function 0 "Intel 82583V" rev 0x00: msi, address 00:60:e0:52:0f:99
| ppb4 at pci0 dev 28 function 4 "Intel 82801H PCIE" rev 0x04: msi
| pci5 at ppb4 bus 6
| em4 at pci5 dev 0 function 0 "Intel 82583V" rev 0x00: msi, address 00:60:e0:52:0f:9a
| ppb5 at pci0 dev 28 function 5 "Intel 82801H PCIE" rev 0x04: msi
| pci6 at ppb5 bus 7
| em5 at pci6 dev 0 function 0 "Intel 82583V" rev 0x00: msi, address 00:60:e0:52:0f:9b
| uhci0 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x04: apic 4 int 23
| uhci1 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x04: apic 4 int 19
| uhci2 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x04: apic 4 int 18
| ehci0 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x04: apic 4 int 23
| usb0 at ehci0: USB revision 2.0
| uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
| ppb6 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xf4
| pci7 at ppb6 bus 1
| pcib0 at pci0 dev 31 function 0 "Intel 82801HBM LPC" rev 0x04
| pciide0 at pci0 dev 31 function 1 "Intel 82801HBM IDE" rev 0x04: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
| pciide0: channel 0 disabled (no drives)
| pciide0: channel 1 ignored (disabled)
| ahci0 at pci0 dev 31 function 2 "Intel 82801HBM AHCI" rev 0x04: msi, AHCI 1.1
| ahci0: port 0: 3.0Gb/s
| scsibus1 at ahci0: 32 targets
| sd0 at scsibus1 targ 0 lun 0: <ATA, M4-CT256M4SSD2, 070H> SCSI3 0/direct fixed naa.500a07510927b253
| sd0: 244198MB, 512 bytes/sector, 500118192 sectors, thin
| ichiic0 at pci0 dev 31 function 3 "Intel 82801H SMBus" rev 0x04: apic 4 int 17
| iic0 at ichiic0
| spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-6400CL6 SO-DIMM
| usb1 at uhci0: USB revision 1.0
| uhub1 at usb1 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
| usb2 at uhci1: USB revision 1.0
| uhub2 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
| usb3 at uhci2: USB revision 1.0
| uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
| isa0 at pcib0
| isadma0 at isa0
| com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
| com0: console
| com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
| pckbc0 at isa0 port 0x60/5 irq 1 irq 12
| pckbd0 at pckbc0 (kbd slot)
| wskbd0 at pckbd0: console keyboard, using wsdisplay0
| pcppi0 at isa0 port 0x61
| spkr0 at pcppi0
| wbsio0 at isa0 port 0x2e/2: W83627DHG-P rev 0x73
| lm1 at wbsio0 port 0xa00/8: W83627DHG
| umass0 at uhub0 port 1 configuration 1 interface 0 "Western Digital My Passport 259D" rev 2.10/10.12 addr 2
| umass0: using SCSI over Bulk-Only
| scsibus2 at umass0: 2 targets, initiator 0
| sd1 at scsibus2 targ 1 lun 0: <WD, My Passport 259D, 1012> SCSI4 0/direct fixed
| sd1: 3815415MB, 512 bytes/sector, 7813969920 sectors
| ses0 at scsibus2 targ 1 lun 1: <WD, SES Device, 1012> SCSI4 13/enclosure services fixed
| ses0: unable to read enclosure configuration
| uhub4 at uhub0 port 2 configuration 1 interface 0 "Genesys Logic USB2.0 Hub" rev 2.00/85.32 addr 3
| uhidev0 at uhub4 port 1 configuration 1 interface 0 "RDing TEMPERHUM1V1.2" rev 2.00/0.01 addr 4
| uhidev0: iclass 3/1, 1 report id
| ukbd0 at uhidev0 reportid 1: 8 variable keys, 5 key codes
| wskbd1 at ukbd0 mux 1
| wskbd1: connecting to wsdisplay0
| uhidev1 at uhub4 port 1 configuration 1 interface 1 "RDing TEMPERHUM1V1.2" rev 2.00/0.01 addr 4
| uhidev1: iclass 3/1
| ugold0 at uhidev1
| uftdi0 at uhub4 port 2 configuration 1 interface 0 "FTDI SYNLEAF - FT232R USB UART" rev 2.00/6.00 addr 5
| ucom0 at uftdi0 portno 1
| vscsi0 at root
| scsibus3 at vscsi0: 256 targets
| softraid0 at root
| scsibus4 at softraid0: 256 targets
| root on sd0a (86b81881bbaa38a1.a) swap on sd0b dump on sd0b
| ugold0: 2 sensors type si7006 (temperature and humidity)
|
| usbdevs:
| Controller /dev/usb0:
| addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x8086), rev 1.00
| port 1 addr 2: high speed, power 500 mA, config 1, My Passport 259D(0x259d), Western Digital(0x1058), rev 10.12, iSerialNumber 57583231443736503041334E
| port 2 addr 3: high speed, self powered, config 1, USB2.0 Hub(0x0608), Genesys Logic(0x05e3), rev 85.32
| port 1 addr 4: low speed, power 100 mA, config 1, TEMPERHUM1V1.2(0x7402), RDing(0x0c45), rev 0.01
| port 2 addr 5: full speed, power 90 mA, config 1, SYNLEAF - FT232R USB UART(0x6001), FTDI(0x0403), rev 6.00, iSerialNumber A7XOCBSM
| port 3 powered
| port 4 powered
| port 3 powered
| port 4 powered
| port 5 powered
| port 6 powered
| Controller /dev/usb1:
| addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x8086), rev 1.00
| port 1 powered
| port 2 powered
| Controller /dev/usb2:
| addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x8086), rev 1.00
| port 1 powered
| port 2 powered
| Controller /dev/usb3:
| addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x8086), rev 1.00
| port 1 powered
| port 2 powered
|
|
| --
| >++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
| +++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
| http://www.weirdnet.nl/
|
--
++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
http://www.weirdnet.nl/
Loading...