Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Oct 2000 17:32:35 +0300
From:      Ruslan Ermilov <ru@sunbay.com>
To:        Michal Mertl <mime@traveller.cz>
Cc:        stable@FreeBSD.ORG
Subject:   Re: specifiing source address doesn't work in 4.1.1 (at least)
Message-ID:  <20001012173234.A35708@sunbay.com>
In-Reply-To: <Pine.BSO.4.21.0010121611530.5520-100000@prg.traveller.cz>; from mime@traveller.cz on Thu, Oct 12, 2000 at 04:18:55PM %2B0200
References:  <Pine.BSO.4.21.0010121611530.5520-100000@prg.traveller.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex> 100baseTX
> 10baseT/UTP <full-duplex> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001012173234.A35708>