At 04:18 PM 10/12/00 +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
But that is not your IP address. Your source address is .2, and you are
saying telnet to .2 from .3. Your machine does not seem to know anything
about .3, so how can it use it as a source IP ?
If you did
ifconfig fxp0 172.16.0.1 netmask 255.255.255.0 alias
you could then do
telnet -s 172.16.0.1 192.168.0.2
---Mike
------------------------------------------------------------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications [EMAIL PROTECTED]
Cambridge, Ontario Canada www.sentex.net
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message