From owner-freebsd-bugs Wed May 22 08:01:31 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA02112 for bugs-outgoing; Wed, 22 May 1996 08:01:31 -0700 (PDT) Received: from agora.rdrop.com (root@agora.rdrop.com [199.2.210.241]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id IAA02104 for ; Wed, 22 May 1996 08:01:27 -0700 (PDT) Received: by agora.rdrop.com (Smail3.1.29.1 #17) id m0uMFPc-0008vnC; Wed, 22 May 96 08:01 PDT Message-Id: From: batie@agora.rdrop.com (Alan Batie) Subject: SLIP connections failing To: freebsd-bugs@freebsd.org Date: Wed, 22 May 1996 08:01:20 -0700 (PDT) X-Mailer: ELM [version 2.4 PL24 ME8a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi; I've got a problem which has reached critical proportions (i.e. between 50 and 100 failures yesterday): intermittently, when users connect for SLIP, it assigns an address then hangs up on them. Investigation shows that ifconfig is failing on the SIOCAIFADDR ioctl with "File exists". This only happens with SLIP, not PPP, but seems to have gotten worse in proportion to increasing PPP usage. I assign IP addresses based on the port, and SLIP uses a different set of addresses than PPP. I've also (even more recently than PPP, and come to think of it, that does seem to be when the problem really got noticeable), started using IP aliases for some virtual web servers. The one thing I'm doing weird is using one class C (199.2.212) for all SLIP/PPP and alias addresses. 1-32 are remote SLIP, 33-64 are remote PPP and 128+ are aliases. Originally, I just used 1-32 for both SLIP and PPP, but thought maybe there was a problem switching an address between the two (gated seemed to think so anyhow), but it didn't help with this problem. 199.2.212.241 is the local address for all the SLIP/PPP interfaces. Here's some debug output that shows that the interface is actually getting configured before ifconfig returns a failure: + echo ifconfig of 199.2.212.16 on sl4 failed: ifconfig of 199.2.212.16 on sl4 failed: + echo before: before: + cat /tmp/if.before sl4: flags=c011 mtu 552 inet 199.2.212.241 --> 199.2.212.16 netmask 0xffffff00 + echo + echo after: after: + /sbin/ifconfig sl4 sl4: flags=c011 mtu 552 inet 199.2.212.241 --> 199.2.212.16 netmask 0xffffff00 + netstat -in + egrep sl4[^0-9] sl4 552 1268401 39 1315885 0 0 sl4 552 199.2.212 199.2.212.241 1268401 39 1315885 0 0 -- Alan Batie ______ We're Starfleet officers: batie@agora.rdrop.com \ / Weird is part of the job. +1 503 452-0960 \ / --Captain Janeway DE 3C 29 17 C0 49 7A 27 \/ 40 A5 3C 37 4A DA 52 B9 It is my policy to avoid purchase of any products from companies which use unrequested email advertisements or telephone solicitation.