From owner-freebsd-stable Mon Sep 16 10:10: 1 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8027837B400 for ; Mon, 16 Sep 2002 10:09:59 -0700 (PDT) Received: from obsidian.sentex.ca (obsidian.sentex.ca [64.7.128.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE58943E3B for ; Mon, 16 Sep 2002 10:09:58 -0700 (PDT) (envelope-from mike@sentex.net) Received: from simian.sentex.net (pyroxene.sentex.ca [199.212.134.18]) by obsidian.sentex.ca (8.12.6/8.12.6) with ESMTP id g8GH9vVZ005342 for ; Mon, 16 Sep 2002 13:09:57 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <5.1.1.6.0.20020916125834.04bc1c18@marble.sentex.ca> X-Sender: mdtpop@marble.sentex.ca X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Mon, 16 Sep 2002 13:10:01 -0400 To: stable@freebsd.org From: Mike Tancsa Subject: Problem caching local mac address when using DHCP Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: By Sentex Communications (obsidian/20020517) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am not sure if this is a problem or not, or could be somehow leveraged to do "bad things." But I noticed on a box I was putting together, the system would not see its own mac address when using DHCP to get its IP address. e.g. When NOT using the DHCP client, all works as is. After bootup time, I see an empty arp cache-- not even the local nic's MAC addresses which I find a bit surprising, but I think its always been that way. e.g. smtp3% arp -na ? (192.168.43.1) at 00:50:fc:24:24:a0 on rl0 [ethernet] ? (192.168.43.27) at 00:01:80:0c:68:b9 on rl0 [ethernet] smtp3% ping 192.168.43.199 PING 192.168.43.199 (192.168.43.199): 56 data bytes 64 bytes from 192.168.43.199: icmp_seq=0 ttl=64 time=0.092 ms ^C --- 192.168.43.199 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.092/0.092/0.092/0.000 ms smtp3% arp -na ? (192.168.43.1) at 00:50:fc:24:24:a0 on rl0 [ethernet] ? (192.168.43.27) at 00:01:80:0c:68:b9 on rl0 [ethernet] ? (192.168.43.199) at 00:01:80:20:f9:a2 on rl0 permanent [ethernet] smtp3% i.e. the 192.168.43.199 entry. Yet, if I boot up with ifconfig_rl0="DHCP" in /etc/rc.conf smtp3% arp -na ? (192.168.43.1) at 00:50:fc:24:24:a0 on rl0 [ethernet] ? (192.168.43.27) at 00:01:80:0c:68:b9 on rl0 [ethernet] smtp3% ping 192.168.43.199 PING 192.168.43.199 (192.168.43.199): 56 data bytes 64 bytes from 192.168.43.199: icmp_seq=0 ttl=64 time=0.070 ms 64 bytes from 192.168.43.199: icmp_seq=1 ttl=64 time=0.030 ms ^C --- 192.168.43.199 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.030/0.050/0.070/0.020 ms smtp3% !ar arp -na ? (192.168.43.1) at 00:50:fc:24:24:a0 on rl0 [ethernet] ? (192.168.43.27) at 00:01:80:0c:68:b9 on rl0 [ethernet] smtp3% No local NIC mac address. Is this part of the normal behavior ? ---Mike -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message