On Tue, 1 Jul 2003, Ben Greear wrote:
> How did you get telnet to bind to a particular local interface? Also, what
I tested telnet with replacing the prefsrc, as result,
'ip route get telnet_server_ip_on_eth1' returns local_ip_from_eth0
as src. telnetd listens as usually to 0.0.0.0, incoming connection
comes (IP1->IP2), so the server always gets two different IPs...
> ping syntax did you use? Did you have to modify either of these applications
> to get them to work?
Nooo :) 'ping -I IP1 IP2' or if you set IP2's prefsrc to IP1
then even 'ping IP2' works
> I looked at the patch...but don't have a good enough grasp of the routing
> code to provide a useful critique. I believe my patch _is_ smaller though ;)
At least, we have two alternatives :) I'm still not sure
whether the "loop" feature will need some tuning in other netsource
Julian Anastasov <ja@xxxxxx>