Re: multiple interfaces with deschall-u2t

root (alex_murray@VNET.IBM.COM)
Tue, 20 May 1997 16:15:16 -0400 (EDT)


I asked,
> So...is there any way in the deschall-u2t script that I can force it to bind
> to a particular interface's IP address for the machine it's running on?
> It's apparently receiving from INADDR_ANY, but sending as the token ring
> address, regardless of which interface the request came in from. (I can't
> disable tr0 cuz then I can't talk to the deschall-gateway...)

Well, it ain't elegant, but I forced myiaddr to use a hard-coded name for the
ethernet address instead of gethostbyname(hostname()). Seems to work. Gotta
remember not to use this particular flavour of u2t on any other machines. :)

--
______________________________________________________________________________
 Alex Murray (reporting live from Win^H^Haterpeg)    alex_murray@vnet.ibm.com
 IBM Canada, Call Center Solutions               +1 905 316-4243 fax 316-2156
_#include_<disclaim.h>___________________________+1_204_934_2646_(until_5/30)_