[comp.protocols.appletalk] One UAB host with multiple CAP host

rocky@polyof.poly.edu (A1 rocky shiotsuki (staff) ) (11/23/90)

	I needed to have UAB and CAP on a different host,
because we want to use CAP on HP workstation and IBM
RS-6000 AIX system without GatorBox. But current distributed
UAB and CAP use local delivery, a source and a destination
address as 127.0.0.1, so when used UAB, CAP has to be on
same host.
	I was looking forward to modify UAB and CAP, so they can
be separated on diferrent host.  It was simply easy modification
as follow (for Class B network):
  UAB:
    original
	kip_mpx.c:232:  desthost.s_addr = inet_addr("127.0.0.1");
	kip_mpx.c:431:  fprintf(fp, "%d.%d %d 127.0.0.1\n",

    modification
	kip_mpx.c:232:  desthost.s_addr = inet_addr("128.nnn.yyy.255");
	kip_mpx.c:431:  fprintf(fp, "%d.%d %d 128.nnn.yyy.255\n",

     where   nnn.yyy is your subnet number.

  CAP: ru-cap2/lib/cap/uab directory
     original
	185:  xdesthost.s_addr = inet_addr("127.1");
	231:  xdesthost.s_addr = inet_addr("127.1");
     ("127.1" is same as "127.0.0.1")

     modification
	185:  xdesthost.s_addr = inet_addr("128.nnn.yyy.255");
	231:  xdesthost.s_addr = inet_addr("128.nnn.yyy.255");

     where nnn.yyy is your subnet number.

  So far works fine, but I do not gurantee what kind side effect
will happen. This is not generic modification, I will modify more
to be generic, and you can choose network in configuration file
such as 'bridge_desc' and 'atalk.local'.

  P.S.  I could not compile CAP on IBM RS-6000 AIX system,
it give me some errors, If it succeed, I will post a result.
___________________________________________________________________
Rocky Shiotsuki		rocky@puscs.poly.edu (127.238.5.8)
Systems Programmer / Data Processing Services Department
Polytechnic University
333 Jay St, Brooklyn, New York 11201