On 10/10/13 19:31, Brett Mahar wrote:
> On Thu, 10 Oct 2013 17:48:43 -0400
> RD Thrush <openbsd-m...@thrush.com> wrote:
> 
> | I noticed some anomalies in the dmesg on this new system.
> | 
> ...
> | 
> | 2. dhclient doesn't work with the onboard nic (possibly since the lladdr is 
> 0:0:0:0:0:0.
> 
> You could check this by adding a random lladdr line to your /etc/hostname.re0
> 
> lladdr 22:a4:cf:85:64:b9
> up
> dhcp
> 
> and the running "sh /etc/netstart".

Thanks, (on the dhcpd hosts) I 'created' another dhcpd.conf stanza with a 
matching (new) lladdr and now dhcp succeeds.  arping seems to work but ping 
doesn't work and tcpdump -i re0 -envvv shows some bad checksums.  netstat -nr 
output *doesn'* show link#1 for the dhcp IP address(10.1.2.30).

Here's some further detail:

a8v2:build/packages 36#sh /etc/netstart re0
DHCPREQUEST on re0 to 255.255.255.255 port 67
DHCPACK from 10.1.2.18 (00:02:b3:ca:06:00)
bound to 10.1.2.30 -- renewal in 302400 seconds.
a8v2:build/packages 37#tcpdump -i re0 -envvv
tcpdump: listening on re0, link-type EN10MB
tcpdump: WARNING: compensating for unaligned libpcap packets
00:07:12.995766 00:22:15:2c:7d:fc 00:30:18:a3:1b:48 0800 78: 10.1.2.30.46241 > 
10.1.2.13.3551: S [bad tcp cksum a37b!] 1450186406:1450186406(0) win 16384 <mss 
1460,nop,nop,sackOK,nop,wscale 3,nop,nop,timestamp 2079825472 0> (DF) (ttl 64, 
id 44914, len 64, bad cksum 0! differs by 7319)
00:07:13.342214 bc:ae:c5:86:d9:cb 33:33:00:00:00:0c 86dd 208: 
fe80::e074:611b:ae16:65aa.54842 > ff02::c.1900: udp 146 [hlim 1] (len 154)
tcpdump: WARNING: compensating for unaligned libpcap packets
00:07:16.343225 bc:ae:c5:86:d9:cb 33:33:00:00:00:0c 86dd 208: 
fe80::e074:611b:ae16:65aa.54842 > ff02::c.1900: udp 146 [hlim 1] (len 154)
00:07:18.005627 00:22:15:2c:7d:fc 00:30:18:a3:1b:48 0800 78: 10.1.2.30.7166 > 
10.1.2.13.3551: S [bad tcp cksum e7a1!] 1750099443:1750099443(0)
 win 16384 <mss 1460,nop,nop,sackOK,nop,wscale 3,nop,nop,timestamp 1950332714 
0> (DF) (ttl 64, id 31832, len 64, bad cksum 0! differs by a633)
00:07:19.343500 bc:ae:c5:86:d9:cb 33:33:00:00:00:0c 86dd 208: 
fe80::e074:611b:ae16:65aa.54842 > ff02::c.1900: udp 146 [hlim 1] (len 154)
00:07:20.980721 30:85:a9:9a:6d:f0 ff:ff:ff:ff:ff:ff 0800 144: 10.1.2.40.17500 > 
255.255.255.255.17500: udp 102 (ttl 128, id 3544, len 130)
00:07:20.993563 30:85:a9:9a:6d:f0 ff:ff:ff:ff:ff:ff 0800 144: 10.1.2.40.17500 > 
255.255.255.255.17500: udp 102 (ttl 128, id 3545, len 130)
00:07:20.993822 30:85:a9:9a:6d:f0 ff:ff:ff:ff:ff:ff 0800 144: 10.1.2.40.17500 > 
10.1.2.255.17500: udp 102 (ttl 128, id 12521, len 130)
00:07:23.344174 bc:ae:c5:86:d9:cb 33:33:00:00:00:0c 86dd 208: 
fe80::e074:611b:ae16:65aa.54842 > ff02::c.1900: udp 146 [hlim 1] (len 154)
00:07:24.441081 bc:ae:c5:86:d9:cb ff:ff:ff:ff:ff:ff 0800 153: 10.1.2.35.17500 > 
255.255.255.255.17500: udp 111 (ttl 128, id 4141, len 139)
00:07:24.446438 bc:ae:c5:86:d9:cb ff:ff:ff:ff:ff:ff 0800 153: 10.1.2.35.17500 > 
10.1.2.255.17500: udp 111 (ttl 128, id 4142, len 139)
00:07:26.061193 00:0d:a2:01:7e:88 01:00:5e:7f:ff:fa 0800 304: 10.1.2.11.50001 > 
239.255.255.250.1900: udp 262 (DF) [ttl 1] (id 0, len 290)
00:07:26.061389 00:1f:33:eb:05:e9 01:00:5e:7f:ff:fa 0800 304: 10.1.2.15.50001 > 
239.255.255.250.1900: udp 262 (DF) [ttl 1] (id 0, len 290)
00:07:26.061527 00:1f:33:ea:36:d1 01:00:5e:7f:ff:fa 0800 304: 10.1.2.12.50001 > 
239.255.255.250.1900: udp 262 (DF) [ttl 1] (id 0, len 290)
00:07:26.345178 bc:ae:c5:86:d9:cb 33:33:00:00:00:0c 86dd 208: 
fe80::e074:611b:ae16:65aa.54842 > ff02::c.1900: udp 146 [hlim 1] (len 154)
^C
15 packets received by filter
0 packets dropped by kernel
a8v2:build/packages 38#ifconfig re0 hwfeatures
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        
hwfeatures=8037<CSUM_IPv4,CSUM_TCPv4,CSUM_UDPv4,VLAN_MTU,VLAN_HWTAGGING,WOL> 
hardmtu 7422
        lladdr 00:22:15:2c:7d:fc
        priority: 0
        groups: int egress
        media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause)
        status: active
        inet 10.1.2.30 netmask 0xffffff00 broadcast 10.1.2.255
a8v2:build/packages 39#netstat -nr -finet
Routing tables

Internet:
Destination        Gateway            Flags   Refs      Use   Mtu  Prio Iface
default            10.1.2.1           UGS        0       24     -     8 re0
10.1.2/24          link#1             UC        10        0     -     4 re0
10.1.2.1           00:00:24:c9:29:14  UHLc       1       12     -     4 re0
10.1.2.10          00:e0:4c:77:6d:ab  UHLc       0        6     -     4 re0
10.1.2.11          00:0d:a2:01:7e:88  UHLc       0        4     -     4 re0
10.1.2.12          00:1f:33:ea:36:d1  UHLc       0        6     -     4 re0
10.1.2.13          00:30:18:a3:1b:48  UHLc       0      240     -     4 re0
10.1.2.15          00:1f:33:eb:05:e9  UHLc       0        6     -     4 re0
10.1.2.18          00:02:b3:ca:06:00  UHLc       2       42     -     4 re0
10.1.2.31          00:1b:21:2e:39:c4  UHLc       0       16     -     4 re0
10.1.2.33          00:22:15:2c:7d:0b  UHLc       0        1     -     4 re0
10.1.2.255         link#1             UHLc       2      121     -     4 re0
127/8              127.0.0.1          UGRS       0        0 33144     8 lo0
127.0.0.1          127.0.0.1          UH         3     8112 33144     4 lo0
224/4              127.0.0.1          URS        0        0 33144     8 lo0
a8v2:build/packages 40#ping -n -c 2 10.1.2.33
PING 10.1.2.33 (10.1.2.33): 56 data bytes
--- 10.1.2.33 ping statistics ---
2 packets transmitted, 0 packets received, 100.0% packet loss
a8v2:build/packages 41#arping -d -c 2 -vv 10.1.2.33
clock_getres() = 0 10000000
libnet_init(<null>)
Autodetected interface re0
libnet_init(re0)
pcap_get_selectable_fd(): 5
This box:   Interface: re0  IP: 10.1.2.30   MAC address: 00:22:15:2c:7d:fc
ARPING 10.1.2.33
arping: sending packet at time 14082.996898037
60 bytes from 00:22:15:2c:7d:0b (10.1.2.33): index=0 time=171.037 usec
arping: sending packet at time 14084.000720880
60 bytes from 00:22:15:2c:7d:0b (10.1.2.33): index=1 time=166.777 usec

--- 10.1.2.33 statistics ---
2 packets transmitted, 2 packets received,   0% unanswered (0 extra)
rtt min/avg/max/std-dev = 0.167/0.169/0.171/0.002 ms

Reply via email to