From owner-freebsd-stable Thu Sep 14 0: 7:34 2000 Delivered-To: freebsd-stable@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id E25E937B423 for ; Thu, 14 Sep 2000 00:07:28 -0700 (PDT) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Thu, 14 Sep 2000 00:06:14 -0700 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.11.0/8.11.0) id e8E77Gx84399; Thu, 14 Sep 2000 00:07:16 -0700 (PDT) (envelope-from cjc) Date: Thu, 14 Sep 2000 00:07:11 -0700 From: "Crist J . Clark" To: bsd-stable@boneyard.lawrence.ks.us Cc: freebsd-stable@FreeBSD.ORG Subject: Re: incomplete ARP entry for NIC alias address Message-ID: <20000914000711.Q69158@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from bsd-stable@boneyard.lawrence.ks.us on Tue, Sep 12, 2000 at 11:22:00AM -0500 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Sep 12, 2000 at 11:22:00AM -0500, bsd-stable@boneyard.lawrence.ks.us wrote: > > Greetings, > > I am running 4.1-Stable. The most recent is as of August 14th. I have > noticed that when adding an alias to an interface, an equivalent arp entry > is not included. The alias is still reachable from other systems, just > not from the local box. > > It occurs on both the i386 (using rl, fxp and xl interfaces) and the alpha > (dc and de interfaces) > > I have tried ifconfig with and without the broadcast and netmask. The > only option, it would seem, is to statically add an ARP entry for the > aliased address. > > I am assuming that this is not normal behavior. Please let me know if I > can provide any more information. Could you actually tell us what does not work? Things seem to be fine for me. First, I'll clear the ARP table just to make things more clear, # arp -ad 64.6.211.1 (64.6.211.1) deleted 64.6.211.149 (64.6.211.149) deleted 192.168.64.254 (192.168.64.254) deleted 192.168.64.255 (192.168.64.255) deleted # arp -an ? (64.6.211.1) at 0:0:c:7:ac:1 [ethernet] Next, I'll add an alias, # ifconfig de0 de0: flags=8843 mtu 1500 inet 192.168.64.254 netmask 0xffffff00 broadcast 192.168.64.255 ether 00:e0:29:11:d3:a9 media: autoselect (10base2/BNC) status: active supported media: autoselect 10base5/AUI 10base2/BNC 10baseT/UTP 10baseT/UTP # ifconfig de0 alias 192.168.64.128 netmask 255.255.255.255 # ifconfig de0 de0: flags=8843 mtu 1500 inet 192.168.64.254 netmask 0xffffff00 broadcast 192.168.64.255 inet 192.168.64.128 netmask 0xffffffff broadcast 192.168.64.128 ether 00:e0:29:11:d3:a9 media: autoselect (10base2/BNC) status: active supported media: autoselect 10base5/AUI 10base2/BNC 10baseT/UTP 10baseT/UTP Now, I can reach that address just fine, # ping 192.168.64.128 PING 192.168.64.128 (192.168.64.128): 56 data bytes 64 bytes from 192.168.64.128: icmp_seq=0 ttl=255 time=0.114 ms 64 bytes from 192.168.64.128: icmp_seq=1 ttl=255 time=0.136 ms 64 bytes from 192.168.64.128: icmp_seq=2 ttl=255 time=0.137 ms 64 bytes from 192.168.64.128: icmp_seq=3 ttl=255 time=0.133 ms ^C --- 192.168.64.128 ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.114/0.130/0.137/0.009 ms And let's look at the ARP table now, # arp -an ? (64.6.211.1) at 0:0:c:7:ac:1 [ethernet] ? (192.168.64.128) at 0:e0:29:11:d3:a9 permanent [ethernet] ? (192.168.64.255) at ff:ff:ff:ff:ff:ff permanent [ethernet] The permanent entry for the alias showed up just fine. So again, what is not working for you? -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message