From owner-freebsd-stable Thu Oct 12 7:33:14 2000 Delivered-To: freebsd-stable@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 553F237B66C for ; Thu, 12 Oct 2000 07:33:05 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.0/8.11.0) id e9CEWZm39972; Thu, 12 Oct 2000 17:32:35 +0300 (EEST) (envelope-from ru) Date: Thu, 12 Oct 2000 17:32:35 +0300 From: Ruslan Ermilov To: Michal Mertl Cc: stable@FreeBSD.ORG Subject: Re: specifiing source address doesn't work in 4.1.1 (at least) Message-ID: <20001012173234.A35708@sunbay.com> Mail-Followup-To: Michal Mertl , stable@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from mime@traveller.cz on Thu, Oct 12, 2000 at 04:18:55PM +0200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Oct 12, 2000 at 04:18:55PM +0200, Michal Mertl wrote: > For testing purposed I was sometimes using 'telnet -s'. > > In recent versions (4.1.1 and stable) it stopped working > > Environment: > host# ifconfig fxp0 > fxp0: flags=8843 mtu 1500 > inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255 > ether 00:08:c7:49:16:4c > media: autoselect (10baseT/UTP) status: active > supported media: autoselect 100baseTX 100baseTX > 10baseT/UTP 10baseT/UTP > > host# telnet -s 192.168.0.3 192.168.0.2 > Trying 192.168.0.2... > bind: Can't assign requested address > > Am I missing something? > Yes, only one of your host's IP addresses may be used as argument to -s. Otherwise, bind(2) will fail. -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message