home *** CD-ROM | disk | FTP | other *** search
- Automated IP address configuration for NOVELL net users.
- Jerzy Tarasiuk <JT@PLEARN.BITNET>
-
- A problem: several users need access TCP/IP network from NOVELL net
- using Ethernet for communication between computers.
- What way can avoid IP address conflicts and/or necessity to prepare
- manually separate configuration files for each user ?
- A solution is a program preparing configuration files, with IP address
- which is base (network assigned by administrator) + unique number
- for each computer in network. The number is taken from database;
- if not found, max number from database + connection number is used.
- (at least, gateway must be in database to prevent from use its addres
- by someone else; also it MUST have number 1).
- Of course, need have enough IP addresses assigned, for example class C
- network for one Novell server capable to be used by up to 250 users.
-
- Files in IPXTCP.ZIP:
- READ.ME! - this file
- KA9Q.BAT - batch file to start KA9Q's NET.EXE
- NCSA.BAT - batch file to setup for use NCSA TELNET
- IPX$KA9Q.CFG - data for IPXTCPCF to configure for NET.EXE
- IPX$NCSA.CFG - data for IPXTCPCF to configure for TELNET
- IPXTCPCF.C - source of IPXTCPCF.EXE
- (to compile, NetWare C Interface library is needed)
- IPXTCPCF.EXE - IPX->TCP/IP link configuration helper
-
- Other files used:
- NET.EXE (Phil Karn's)
- TELNET.EXE, FTP.EXE, TELPASS.EXE (NCSA)
- IPXPKT.COM Paul Kranenburg <kranenbu@s5.cs.rul.nl>
- Paul Kranenburg <kranenbu@cs.leidenuniv.nl>
- Paul Kranenburg <rulcs!kranenbu@relay.eu.net>
- PURGE.EXE (NOVELL NetWare)
- USERS.WRS our users database
-
- Directories (in our file server):
- S:\PUBLIC PURGE.EXE,USERS.WRS
- T:\BATCH *.BAT
- S:\UTILITY\INTERNET IPXTCPCF.EXE, IPXPKT.COM
- S:\UTILITY\INTERNET\KA9Q IPX$KA9Q.CFG and KA9Q's NET.EXE
- S:\UTILITY\INTERNET\NCSA IPX$NCSA.CFG and all NCSA programs
-
- IPXTCPCF, when invoked by batch file, creates (in current directory)
- files specified in .CFG file. For NCSA: IPX$NCSA.BAT, TELNET.CFG;
- for NET.EXE: IPX$KA9Q.BAT, DOMAIN.TXT, AUTOEXEC.NET .
-
- .CFG file format:
- $$ - will be replaced by single $
- $c - (comment) causes remainder of line to be ignored
- $d - will be replaced by current directory
- $f - preceding data in this line was name of file to be written
- $i - will be replaced by a number respective to user
- $l - line will be copied only if need load IPXPKT
- $n - will be replaced by name from database (blanks replaced by _)
- $v - will be replaced by IPXPKT vector '0x..'
-
- Users database format - one line per computer:
- cols 1-3 - last digits of IP address (0 - make unique number)
- col 4 - blank
- cols 5-16 - Ethernet address (6 bytes hex)
- col 17 - blank
- cols 18-32 - computer name
- cols 33-end - anything - ignored by IPXTCPCF
-
- IPXTCPCF parameters:
- database file name (S:\PUBLIC\USERS.WRS)
- gateway user name (NET)
- configuration file name (proper .CFG)
- computer name prefix (to be added when $n specified)
-
- Gateway: need load first Clarkson packet driver, next IPX (which may be
- configured to use the driver if only one Ethernet card is in gateway),
- next IPXPKT (using interrupt other than first driver), finally NET.EXE
- with configuration (AUTOEXEC.NET) to attach two interfaces.
- Look IPXPKT.DOC (written by John Baird <j.baird@lincoln.ac.nz>) for
- more details - I found even sample AUTOEXEC.NET which gave me ability
- to start gateway without understanding what means commands inside it
- - I just changed addresses and it it was working!
-
- Usage of batch files:
- NCSA - create CONFIG.TEL in current directory
- and set environment variable CONFIGTEL
- NCSA T (IP-address) - same as above and TELNET to the address
- NCSA F (IP-address) - same as first and FTP to the address
- NCSA P - maintain FTP password file (in curr. dir.)
- KA9Q (no parameters) - prepare files for and invoke NET.EXE
- (files will be deleted when NET exits)
-
- Copyright (c) 1991, Jerzy Tarasiuk <JT@PLEARN>.
- Wydzial Fizyki Uniwersytetu Warszawskiego
- (Physics Department of Warsaw University)
- Hoza 69, Warszawa, POLAND.
-
- IPXTCPCFG is free software. You can use, redistribute it and/or
- modify it under the terms of the GNU General Public License
- as published by the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.