From owner-freebsd-questions Thu Apr 8 12:31:21 1999 Delivered-To: freebsd-questions@freebsd.org Received: from wizeup.com (90William224.osaccess.com [209.83.165.224]) by hub.freebsd.org (Postfix) with ESMTP id 844E314DC9 for ; Thu, 8 Apr 1999 12:31:16 -0700 (PDT) (envelope-from Phil.Wang@wizeup.com) Received: from wizeup.com (90William224.osaccess.com [209.83.165.224] (may be forged)) by wizeup.com (8.8.7/8.8.7) with ESMTP id PAA04587; Thu, 8 Apr 1999 15:33:05 -0400 (EDT) (envelope-from Phil.Wang@wizeup.com) Message-ID: <370D046E.546E87C@wizeup.com> Date: Thu, 08 Apr 1999 15:33:02 -0400 From: Phil Wang Organization: Numina Corp X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 2.2.5-RELEASE i386) X-Accept-Language: zh, en MIME-Version: 1.0 To: Doug White Cc: "Paul T. Root" , Questions FreeBSD Subject: Re: Why not bind socket with an address under BSD? References: Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear Doug, My FreeBSD 2.2.5 gateway has not worked well since last Friday, which bridges an intrane to Internet. Network communications of internal machines accessing Internet are good through this gateway's NATD, but that of the gateway and internal machinese are extremely slow at the begin of their connections such as telnet, ftp and http. When I tested the gateway machine with a self-coded network program, I found that it could not bind its socket with a local address (192.168.1.1:2323). The error message is below. su-2.01# inet_svr 2323 inet_svr: addr=101a8c0 sin_port=4873 bind(): errno=49 Can't assign requested address binding: Can't assign requested address Does this binding error cause a slow network communication between BSD gateway and internal machines? How to solve it? THanks, Phil To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message