Ipx Howto GR

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 45

Linux IPX-HOWTO

Terry Dawson, terry@perf.no.itg.telstra.com.au


v2.2, 29 1997
,

Linux
IPX Linux .
______________________________________________________________________
Table of Contents

1.
1.1 .
1.2
2. .
3. .
3.1
3.2 /.
3.3 /.
4. .
5. IPX
6. IPX Greg Pages.
6.1 T IPX .
7. Linux IPX (router).
7.1 ;
8. Linux NCP (client).
8.1
8.2
8.3
8.4

9. Linux NCP .
9.1 T
9.1.1
9.1.2
9.1.3
9.2
9.2.1
9.2.2
9.2.3
9.2.4
10. Linux Novell Print Client.
11. Linux Novell .
11.1
11.2
12.
12.1 .

12.2 .
13. PPP IPX .
13.1 IPX/PPP .
13.1.1 .
13.1.2 .
13.1.3
13.1.4 .
13.2 IPX/PPP client.
13.2.1
13.2.2 T IPX/PPP .
14. IPX tunnel IP
14.1
14.2
14.3
14.4

15. IPX Linux.


15.1 Network Desktop Caldera
16.
17. .
18. .

______________________________________________________________________
1.
Linux IPX-HOWTO.
Linux NET-3-HOWTO .

1.1. .

:
Frame Type.
/:
x IPX /etc/ppp/options
.
, .

1.2.
Linux
Unix.

, Linux
tcp/ip . To IPX
.
Linux IPX .
IPX/RIP, SAP NCP,

.
IPX Alan Cox
<alan@lxorguk.ukuu.org.uk> Greg
Page <greg@caldera.com>.

2. .
Linux
.
. README


.
. O
.

.
,
, .

IPX

(routers) (fileservers),
. ,

.
3. .

Linux

ifconfig route. A , NET-3-HOWTO
<NET-3-HOWTO.html> ,
.
Linux HOWTO :
Ethernet-HOWTO <Ethernet-HOWTO.html>,
Ethernet Linux.

PPP-HOWTO <PPP-HOWTO.html> IPX


2.2.d ,
Linux PPP .

3.1.

, .
Linux
,
.
anonymous ftp :
sunsite.unc.edu
/pub/Linux/docs/HOWTO/IPX-HOWTO

:
/pub/Linux/docs/HOWTO/other-formats/IPX-HOWTO{-html.tar,ps,dvi}.gz

World Wide Web Linux Documentation Project Web Server


<http://sunsite.unc.edu/LDP/linux.html>, : IPX-HOWTO
<http://sunsite.unc.edu/LDP/HOWTO/IPX-HOWTO.html>
, <terry@perf.no.itg.telstra.com.au>.
newsgroups: comp.os.linux.networking,
comp.os.linux.answers news.answers .
3.2. /.
, , ,
HOWTO, email :
voulariba@hellug.gr : evris@hellug.gr
: ep@rocketmail.com
, , ,
<terry@perf.no.itg.telstra.com.au>.
,
. ,
email, newsgroups.
3.3. /.

Linux IPX
. ,
'listserv@sh.cvut.cz' `add linware'
. ,
`linware@sh.cvut.cz'.
www.kin.vslib.cz
<http://www.kin.vslib.cz/hypermail/linware/>.
4. .
client server
.
,
:

(client)

.
(server)


.
,
,
SLIP PPP (clients)
(servers).
:
Bindery
bindery

Novell . Netware bindery
,
.
Frame Type


IPX ( IP) datagrams Ethernet.
Y . :

Ethernet-II

ethernet DIX. Novell
IPX
IP

Ethernet-I.
Novell .
802.3
....

(Carrier Sense Multiple Access
Collision Detection (CSMA/CD)).
Ethernet DIX, ,

(length field). ' IPX
. IEEE 802.3
IEEE 802.2

IPX .

.
802.2
I.E.E.E.
(Logical Link Control).

, .
vell Service Address Point
( )
, .
SNAP
SNAP . A
802.3 802.2.
802.2

Ethernet Ethernet-II.
IPX

To Internet Packet echange (IPX)


vell
netware (tm). To IPX
P
tcp/ip.

IPX

PX .
.
:0x23a91002.
IPX
PX .
.

IPX .
IPX
PX .
PX
.

RIP

NCP

SAP

To (Routing nformation
Protocol)
IPX.
RIP
tcp/ip.

To Netware (Netware Core Protocol)


,
vell etware(tm). NCP
FS
tcp/ip.
To (Service Advertisement
Protocol)
Novell,
etware (tm).

(Hardware address)
A
, .
: Ethernet
(Ethernet Addresses) Ethernet

" " .. 00:60:8C:C3:3C:0F
- (route)
T route
.
5. IPX /proc .
IPX Linux
/proc. :
/proc/net/ipx_interface
IPX interfaces
.

.
/proc/net/ipx_route

IPX .
IPX
.
/proc/net/ipx
IPX (sockets)
.

6. IPX Greg Pages.


Greg Page <greg@caldera.com Caldera Incorporated
IPX
Linux IPX.
Linux
IPX. IPX

, .

IPX
IPX
Linux. T Linux IPX
: sunsite.unc.edu
<ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ncpfs/ipx.tgz>.
6.1. T IPX .
ipx_interface
,
PX
. ,
Ethernet eth0. IPX interface
primary interface -p
flag . ..
Ethernet eth0 IPX
IPX interface IEEE 802.2 frame type
PX 39ab02222 :

# ipx_interface add -p eth0 802.2 0x39ab0222


tcp/ip,
eth0 interface
:
# ifconfig eth0 up

ipx_configure

interface
interface.

--auto_interface

IPX .
--auto_primary
IPX
interface .

interface
interface :

# ipx_configure --auto_interface=on --auto_primary=on

ipx_internal_net

.
,
interface. PX
ab000000 IPX 1 :
# ipx_internal_net add 0xab000000 1

ipx_route

IPX . ,
IPX 39ab0222
00608CC33C0F IPX 39ab0108:
# ipx_route add 0x39ab0222 0x39ab0108 0x00608CC33C0F

7. Linux IPX (router).


IPX (segments)
.
Novell
.
Novell RIP
(service advertisement information)
x Novell SAP.

.

Linux
Novell.
IPX Linux IPX
interfaces,
IPX . Linux
Novell RIP SAP,
IPX

.
Volker Lendecke <lendecke@namu01.gwdg.de>
.
ipxripd :
sunsite.unc.edu
<ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ncpfs/ipxripd-0.7.tgz>
Volkers :
ftp.gwdg.de <ftp://ftp.gwdg.de/pub/linux/misc/ncpfs/ipxripd-0.7.tgz>
Linux
. T
:
1. IPX, Ethernet /proc .
2. , ipxd .
3.
Ethernet hardware
(conflicts).
4. IPX interfaces
ipx_interface .
5. ipxd .
:

IPX : 0x01000000 802.2


|----------------------------|
|
\_________________________
\
Linux
IPX : 0x02000000 802.2
\
|----------------------------|
\ eth0/-----------\
|
\--====|
|
\_________________________
| IPX route |
\
eth1| Table
|
IIPX : 0x03000000 etherII
\----====|
^
|
|-------------------------------|
|
|
|
|
eth2| IPXd
|
\______________________________/====|
|
| SAPd
|
IPX : 0x04000000 etherII
eth3|
|
|------------------------------|
/====|
|
|
|
\___________/
\______________________________/

:
#
#
#
#
#

ipx_interface
ipx_interface
ipx_interface
ipx_interface
ipxd

add
add
add
add

eth0
eth1
eth2
eth3

802.2 0x0100000000
802.2 0x0200000000
etherii 0x0300000000
etherii 0x0400000000


/proc/net/ipx_route
IPX
.

7.1. ;
vell ,

host .



.

IPX,
.
IPX/PPP ''
.
,
. 1/4 make config

y Full internal IPX


network, :

...
...
Full internal IPX network (CONFIG_IPX_INTERN) [N/y/?] y
...
...

interface ,
ipx_internal_net
IPX.
IPX
.
8. Linux NCP (client).

, IP IPX,
Linux
Novell . Novell
NFS server , ,
site
,
.

Volker Lendecke <lendecke@namu01.gwdg.de> Linux


module Novell
NCP Novell
Linux
. Volker o ncpfs

"Netzwerkprogrammierung in C" Manfred Hill Ralf Zessin
( README
ncpfs).
o Linux
Novell .

Novell (A " ").
ncpfs Novell
3.x , Novell 2.x. T ncpfs
client Novell ,

. ncpfs
Novell 4.x ,
bindery emulation mode, ncpfs
NDS.

8.1. ncpfs .
ncpfs
1.2.13 1.3.71 (
2.x.x)
,
. T Kernel-HOWTO <Kernel-HOWTO.html>
.
ncpfs ftp home site
Volker : ftp.gwdg.de <ftp://ftp.gwdg.de/pub/linux/misc/ncpfs/>
sunsite.unc.edu
<ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ncpfs> mirror
site. :
ncpfs-2.0.10.tgz

8.2. ncpfs 1.2.13.


Ethernet IPX
.

IPX. 1.2.13
Y : 'The IPX protocol'
:
...
...
Assume subnets are local (CONFIG_INET_SNARL) [y]
Disable NAGLE algorithm (normally enabled) (CONFIG_TCP_NAGLE_OFF) [n]
The IPX protocol (CONFIG_IPX) [n] y
*
* SCSI support
...
...

Ethernet .
, Ethernet-HOWTO <EthernetHOWTO.html>.
.
lilo
.

Untar ncpfs
# cd /usr/src
# tar xvfz ncpfs-2.0.10.tgz
# cd ncpfs

Makefile
kerneld
ncpfs module ,
Makefile : KERNELD.

Kernel-HOWTO <Kernel-HOWTO.html>
module .
make ncpfs
T ,
:
# make

IPX .
make ,
ncpfs/bin.
:

# make install


Volkers. ELF,
`ldconfig -v'
shared .

module ncpfs.o
.
1.2.*
ncpfs/bin ncpfs.o, make
. module ncpfs.
. debian ,
/lib/modules/1.2.13/fs
ncpfs /etc/modules
.
, modules
,
/etc. modules
:
# insmod ncpfs.o

8.3. ncpfs 1.3.71++/2.0.*.

ncpfs
1.3.71 , 2.0.* .

1.3.71 , ncpfs
. Y o:
Networking options --->
...
...
<*> The IPX protocol
...
Filesystems --->
...
...
<*> NCP filesystem support (to mount NetWare volumes)
...


1.2.*,
module .
8.4. ncpfs .
IPX
. IPX.
IPX

, :

# ipx_configure --auto_interface=on --auto_primary=on

,
' IPX (IPX tools)'
.

PX
slist
Novell :
# slist
slist : ncp_connect:
Invalid argument IPX.
.

,
'IPX' 'ncpfs'. slist


.

(volume) Novell(tm).
IPX ,

Novell Linux .
ncpmount
:
1. T
2. T login .
password .
3. T ,
.
.
ncpumount
NCP . T NCP
(cleanly) (shutdown)
,
ncpumoun
halt shutdown.

ACCT_FS01, login id guest ,
/mnt/Accounts
:
# ncpmount -S ACCT_FS01 /mnt/Accounts -U guest -n
-n,
login. login
(password) secret :
# ncpmount -S ACCT_FS01 /mnt/Accounts -U guest -P secret
-n -P .
mount
mount
, userid
login,
.
, .
CP uid gid ,

, ,

Linux .
.
ncp
rc,
.
IPX,
debian,
/etc/rc.local , .
:

#
# Start the ncp filesystem
/sbin/insmod /lib/modules/1.2.13/fs/ncpfs.o
# configure the IPX network
ipx_configure --auto_interface=on --auto_primary=on
# guest login to the Accounting
ncpmount -S ACCT_FS01 /mnt/Accounts -U guest -n
#

NCP
$HOME/.nwclient.

, .


.
:

# The first entry is the 'preferred server' entry and is


# used whenever you do no specify a server explicitly.
#
# User TERRY login to DOCS_FS01 fileserver with password 'password'
DOCS_FS01/TERRY password
#
# Guest login to the ACCT_FS01 fileserver with no password.
ACCT_FS01/GUEST -


:
$ ncpmount /home/terry/docs

: DOCS_FS01 TERRY login


/home/terry/docs.
,
(mount). :
$ ncpmount -S ACCT_FS01 /home/terry/docs

ACCT_FS01 GUEST login .


:
(permissions) $HOME/.nwclient , 0600.
:
$ chmod 0600 $HOME/.nwclient

-root
ncpmount Set Userid
Root, :
# chmod 4755 ncpmount

nsend
,
Novell, ,
nsend :
# nsend rod hello there
"hello there"
, "rod" (
.nwclient.

ncpmount.

9. Linux NCP .
Linux
Novell.
Linux
Novell NetWare.
,
Novell.

.

9.1. T mars_nwe .
Martin Stover <mstover@freeway.de> mars_nwe
linux
Netware.
: mars_nwe , Martin
Stovers Netware Emulator.
9.1.1. mars_nwe .
mars_nwe Novell NCP
, bindery . E
(bugs),
,
.
9.1.2. mars_nwe .
mars_nwe ftp.gwdg.de
<ftp://ftp.gwdg.de/pub/linux/misc/ncpfs/>
<ftp://sunsite.unc.edu/pub/Linux/system/filesystems pfs/>.
: mars_nwe-0.98.pl8.tgz.
9.1.3. mars_nwe .
Ethernet IPX
1.2.13.
Y : T IPX
N : Full IPX
:

...
...
The IPX protocol (CONFIG_IPX) [n] y
...
...
Full internal IPX network (CONFIG_IPX_INTERN) [N/y/?] n
...
...

.


Ethernet .
, Ethernet-HOWTO <EthernetHOWTO.html>.
.
lilo .
Untar mars_nwe.
# cd /usr/src
# tar xvfz mars_nwe-0.98.pl3.tgz

make mars_nwe.
make .
make,
config.h. config.h
, .


.
:
FILENAME_NW_INI
PATHNAME_PROGS

the location of the initialisation file


where the executable support programs will be foun

PATHNAME_BINDERY
PATHNAME_PIDFILES
MAX_CONNECTIONS

where the 'bindery' files will go.


the directory for the 'pid' files to be written.
the maximum number of simultaneous connections all

MAX_NW_VOLS

the maximum number of volumes mars_nwe will suppor

d.

owed.
t.
MAX_FILE_HANDLES_CONN the maximum number of open files per connection.
WITH_NAME_SPACE_CALLS if you want to support ncpfs clients.
INTERNAL_RIP_SAP
whether you want mars_nwe to provide rip/sap routi
ng.
SHADOW_PWD

whether you use shadow passwords or not.


.
:
# make
# make install

. script

. /etc/nwserv.conf.
.
.
/etc/nwserv.conf.
, . T
.


.
'#' .
Martin ,

.

#
#
#
#
#
#
#
#
#
#
#
#
#
#
1
1
1
#
#
#
#
#
#
2

VOLUMES (max. 5)
Only the SYS volume is compulsory. The directory containing the SYS
volume must contain the directories: LOGIN, PUBLIC, SYSTEM, MAIL.
The 'i' option ignores case.
The 'k' option converts all filenames in NCP requests to lowercase.
The 'm' option marks the volume as removable (useful for cdroms etc.)
The 'r' option set the volume to read-only.
The 'o' option indicates the volume is a single mounted filesystem.
The 'P' option allows commands to be used as files.
The 'O' option allows use of the OS/2 namespace
The 'N' option allows use of the NFS namespace
The default is upper case.
Syntax:
1 <Volumename> <Volumepath> <Options>
SYS
DATA
CDROM

/home/netware/SYS/
/home/netware/DATA/
/cdrom

# SYS
# DATA
# CDROM

k
kmr

SERVER NAME
If not set then the linux hostname will be converted to upper case
and used. This is optional, the hostname will be used if this is not
configured.
Syntax:
2 <Servername>
LINUX_FS01

# INTERNAL NETWORK ADDRESS


# The Internal IPX Network Address is a feature that simplifies IPX routing
# for multihomed hosts (hosts that have ports on more than one IPX network)
.
#
#
#
#
#
#
#
#
3
#
#
#
#
#
#
#

Syntax:
3 <Internal Network Address> [<Node Number>]
or:
3 auto
If you use 'auto' then your host IP address will be used. NOTE: this may
be dangerous, please be sure you pick a number unique to your network.
Addresses are 4byte hexadecimal (the leading 0x is required).
0x49a01010 1
NETWORK DEVICE(S)
This entry configures your IPX network. If you already have your
IPX network configured then you do not need this. This is the same as
using ipx_configure/ipx_interface before you start the server.
Syntax:
4 <IPX Network Number> <device_name> <frametype> [<ticks>]
Frame types: ethernet_ii, 802.2, 802.3, SNAP

4 0x39a01010 eth0 802.3 1


# SAVE IPX ROUTES AFTER SERVER IS DOWNED
# Syntax:

#
#

5 <flag>
0 = don't save routes, 1 = do save routes

5 0
# NETWARE VERSION
# Syntax:
#
6 <version>
#
0 = 2.15, 1 = 3.11
6
#
#
#
#
#
#
#
#
#
#
#
#

1
PASSWORD HANDLING
Real Novell DOS clients support a feature which encypts your
password when changing it. You can select whether you want your
mars server to support this feature or not.
Syntax
7 <flag>
<flag> is:
0 to force password encryption. (Clients can't change password)
1 force password encryption, allow unencrypted password change.
7 allow non-encrypted password but no empty passwords.
8 allow non-encrypted password including empty passwords.
9 completely unencrypted passwords (doesn't work with OS/2)

7 1
#
#
#
#
#
#
#

MINIMAL GID UID rights


permissions used for attachments with no login. These permissions
will be used for the files in your primary server attachment.
Syntax:
10 <gid>
11 <uid>
<gid> <uid> are from /etc/passwd, /etc/groups

10 200
11 201
#
#
#
#
#
#
#
#
#
#
#
#

SUPERVISOR password
May be removed after the server is started once. The server will
encrypt this information into the bindery file after it is run.
You should avoid using the 'root' user and instead use another
account to administer the mars .
This entry is read and encrypted into the server bindery files, so
it only needs to exist the first time you start the server to ensure
that the password isn't stolen.
Syntax:
12 <Supervisor-Login> <Unix username> [<password>]

12 SUPERVISOR terry secret


#
#
#
#

USER ACCOUNTS
This associates NetWare logins with unix accounts. Password are
optional.
Syntax:
13 <User Login> <Unix Username> [<password>]

13 MARTIN martin
13 TERRY terry

#
#
#
#
#
#
#
#
#
#
#
#

LAZY SYSTEM ADMIN CONFIGURATION


If you have a large numbers of users and could not be bothered using
type 13 individual user mappings, you can automatically map mars_nwe
logins to linux user names. BUT, there is currently no means of making
use of the linux login password so all users configured this way are
will use the single password supplied here. My recommendation is not
to do this unless security is absolutely no concern to you.
Syntax:
15 <flag> <common-password>
<flag> is: 0 - don't automatically map users.
1 - do automatically map users not configured above.
99 - automatically map every user in this way.

15 0 duzzenmatta
#
#
#
#
#
#

SANITY CHECKING
mars_nwe will automatically ensure that certain directories exist if
you set this flag.
Syntax:
16 <flag>
<flag> is 0 for no, don't, or 1 for yes, do.

16 0
#
#
#
#
#
#

PRINT QUEUES
This associates NetWare printers with unix printers. The queue
directories must be created manually before printing is attempted.
The queue directories are NOT lpd queues.
Syntax:
21 <queue_name> <queue_directory> <unix_print_cmd>

21 EPSON SYS:/PRINT/EPSON lpr -h


21 LASER SYS:/PRINT/LASER lpr -Plaser
#
#
#
#
#
#
#
#
#
#
#
#
#
#

DEBUG FLAGS
These are not normally needed, but may be useful if are you debugging
a problem.
Syntax:
<debug_item> <debug_flag>

100
101
102
103
104
105
106

100
101
102
103
104
105
106

=
=
=
=
=
=
=

IPX KERNEL
NWSERV
NCPSERV
NWCONN
start NWCLIENT
NWBIND
NWROUTED
0 = disable debug, 1 = enable debug

0
0
0
0
0
0
0

# RUN NWSERV IN BACKGROUND AND USE LOGFILE


# Syntax:

#
#
#

200 <flag>
0 = run NWSERV in foreground and don't use logfile
1 = run NWSERV in background and use logfile

200 1
# LOGFILE NAME
# Syntax:
#
201 <logfile>
201 /tmp/nw.log
# APPEND LOG OR OVERWRITE
# Syntax:
#
202 <flag>
#
0 = append to existing logfile
#
1 = overwrite existing logfile
202 1
#
#
#
#
#
#

SERVER DOWN TIME


This item sets the time after a SERVER DOWN is issued that the
server really goes down.
Syntax:
210 <time>
in seconds. (defaults 10)

210 10
# ROUTING BROADCAST INTERVAL
# The time is seconds between server broadcasts
# Syntax:
#
211 <time>
#
in seconds. (defaults 60)
211 60
#
#
#
#
#

ROUTING LOGGING INTERVAL


Set how many broadcasts take place before logging of routing
information occurs.
Syntax:
300 <number>

300 5
# ROUTING LOGFILE
# Set the name of the routing logfile
# Syntax:
#
301 <filename>
301 /tmp/nw.routes
#
#
#
#
#
#

ROUTING APPEND/OVERWRITE
Set whether you want to append to an existing log file or
overwrite it.
Syntax:
302 <flag>
<flag> is 0 for append, 1 for create/overwrite

302 1

#
#
#
#
#
#
#
#
#

WATCHDOG TIMING
Set the timing for
still alive.
Syntax:
310 <value>
<value> =
<
>

watchdog messages that ensure the network is

0 - always send watchdogs


0 - (-ve) for disable watchdogs
0 - send watchdogs when network traffic
drops below 'n' ticks

310 7
#
#
#
#
#
#
#

STATION FILE
Set the filename for the stations file which determine which
machines this will act as the primary for.
The syntax of this file is described in the 'examples' directory
of the source code.
Syntax:
400 <filename>

400 /etc/nwserv.stations
# GET NEAREST FILESERVER HANDLING
# Set how SAP Get Nearest Fileserver Requests are handled.
# Syntax:
#
401 <flag>
#
<flag> is: 0 - disable 'Get Nearest Fileserver' requests.
#
1 - The 'stations' file lists stations to be excluded.
#
2 - The 'stations' file lists stations to be included.
401 2


.
/

.
interfaces
,
:

# nwserv


.
login NetWare
. CAPTURE
.
.

9.2. lwared .
Ales Dryak <A.Dryak@sh.cvut.cz> lwared
Linux NCP .
Ales lwared,
LinWare Daemon.
9.2.1. lwared .
lwared
Novell NCP.
.
Windows95 Windows NT. lwared

IPX SAP.

.
.
NETX VLM .
9.2.2. lwared
T lwared
1.2.0. 1.2.13
/ (kernel patch).
IPX
1.3.*
. (patches)
,
alpha ,
lwared .
lwared ftp
: klokan.sh.cvut.cz <ftp://klokan.sh.cvut.cz/pub/linux/linware/>
:
sunsite.unc.edu
<ftp://sunsite.unc.edu/pub/Linux/system/network/daemons> mirror
sites. :
lwared-0.95.tar.gz
9.2.3. lwared
Untar lwared
:
# cd /usr/src
# tar xvpfz lwared-0.95.tar.gz

Ethernet IPX
alpha 1.3.* ,
1.3.17
.
1.3.* 1.3.17
. (

INSTALL .).
1.3.17 , :
# make patch

, ,

IPX. 1.2.13

Y : 'The IPX protocol' :
...
...
Assume subnets are local (CONFIG_INET_SNARL) [y]
Disable NAGLE algorithm (normally enabled) (CONFIG_TCP_NAGLE_OFF) [n]
The IPX protocol (CONFIG_IPX) [n] y
*
* SCSI support
...
...

.

Ethernet .
Ethernet-HOWTO <EthernetHOWTO.html>.
.
lilo .
lwared.
lwared
, , server/config.h.

.
,
log ,
.
# make depend
# make
# make install
'make depend'

float.h , .
gcc 2.6.3
:
#include <net/route.h>

#include <net/if_route.h>
lib/ipxkern.c
.
'make install'
/usr/sbin,
lwpasswd /usr/bin, IPX
/sbin ,
/usr/man.
, Makefile
.

9.2.4. lwared
!
IPX

Ethernet interfaces IPX
.
IPX
(segments) LAN, Ethernet (eth0, eth1
.) , (802.3,
EtherII etc.) LAN

(
LAN).

IPX 23a91300 23a91301
bdefaced, :
# ipx_internal_net add BDEFACED 1
# ipx_interface add eth0 802.3 23a91300
# ipx_interface add eth1 etherii 23a91301

(routing daemons)
IPX (IPX forwarding)
IP,
.
IPX
lwared: ipxripd
IPX ipxsapd SAP .

,
log :
# ipxripd /var/adm/ipxrip
# ipxsapd /var/adm/ipxsap

lwared
.
login lwared .
:

/etc/lwpasswd
.
LinWare. T lwpasswd
. ,
/etc/lwpasswd :
ales:
terryd:
guest:
format login id
':'
(login password).
:
No encrypted password (password),
LinWare Linux
(account), /etc/lwpasswd
/etc/passwd root

LinWare. root
LinWare :
# lwpasswd rodg
Changing password for RODG
Enter new password:
Re-type new password:
Password changed.

/etc/lwvtab
volume table Linware

LinWare (
NFS /etc/exports).
format :
SYS
DATA
HOME

/lwfs/sys
/lwfs/data
/home

format : Volume
(whitespace) o Linux
export.
volume SYS .
DOS LinWare
,
SYS volume export
SYS volume.
Novell,
. Novell file
,
.
lwared.
!
# lwared
, ; ,
, ;
; ,
, LinWare
, hostname Linux.
,
..:
# lwared -nlinux00
linux00.
lwared .

LinWare slist DOS client
. slist SYS volume
Novell fileserver
. ,
ipxsapd lwared. slist ,
attach map
volume:
C:> attach linux00/ales
...
...
C:> map l:=linux00/data:
C:> l:
map
map. T permissions
linux
LinWare login.

10. Linux Novell Print Client.

T ncpfs
Linux
Novell (print server).
nprint NetWare
print queue. pqlist
NetWare .
,
NCP
.
username password,
shell scripts
.
:
# pqlist -S ACCT_FS01 -U guest -n
# nprint -S ACCT_FS01 -q LASER -U guest -n filename.txt

login ncpmount.
fileserver ACCT_FS01
guest (password),
LASER guest
.
11. Linux Novell
.
Linux
Netware
ncpfs>.
, `Netware
client'.

11.1.

Linux.
Printing-HOWTO <Printing-HOWTO.html>.
11.2.
,
pserver ,
rc .
,
,
:

# pserver -S ACCT_01 -U LASER -P secret -q LASERJET


pserver login
ACCT_01 LASER secret
LASERJET .
,
lpr
Linux .
o Linux
. -c
.
:
# pserver -S ACCT_01 -U LASER -P secret -q LASERJET -c "lpr -Plaserjet"


laserjet
printcap .
12. ncpfs
ncpfs Volker

. T
ncpfs ,
,
Novell Client .
man
:
12.1. .
ncopy
Network Copy -
Netware
.
nprint
Network Print -
Netware Netware .
nsend
Network Send -
etware .
nwbols
List Bindery Objects -
bindery Netware .

nwboprops
List Properties of a Bindery Object -
Netware bindery .
nwbpset
Set Bindery Property -
Netware bindery .
nwbpvalues
Print Netware Bindery Objects Property Contents -
Netware bindery .
nwfsinfo
Fileserver Information -
Netware .
nwpasswd
Netware Password -
netware.
nwrights
Netware Rights -
.
nwuserlist
Userlist -
Netware (logged in).
pqlist
Print Queue List -
Netware.
slist
Server List -
Netware.
12.2. .
nwbocreate
Create a Bindery Object -
Netware bindery .
nwborm
Remove Bindery Object - Netware
bindery .
nwbpadd
Add Bindery Property -
Netware bindery .
nwbpcreate
Create Bindery Property -
Netware bindery .
nwbprm
Remove Bindery Property -
Netware bindery .

nwgrant
Grant Trustee Rights -
Netware fileserver.
nwrevoke
Revoke Trustee Rights -
Netware
.

13. PPP IPX .


pppd PPP Linux
IPX
PPP. ppp-2.2.0d
. PPP-HOWTO <PPP-HOWTO.html>
. pppd
IPX
:

IPX_CHANGE = 1
USE_MS_DNS = 1

: /usr/src/linux/pppd-2.2.0f/pppd/Makefile.linux.
To IPX_CHANGE , IPX PPP.
USE_MS_DNS Microsoft Windows95 Name
Lookups.

.
,
.
, ' ,
, .
13.1. IPX/PPP .
Linux
IP/PPP . !
. PPP-HOWTO <PPP-HOWTO.html>
. 1/4 ,

IPX .
13.1.1. .

Linux IPX (router)

.
ipx_route ppp interface
pppd IP.
ipxd , IPX interface
. dialup hosts
.

13.1.2. .
,
PPP .
, PPP IPX
IPX.
.
IPX
IPX/PPP.
IPX login id
, .
,
(modems).
:

-----ttyS0
ttyS1

IPX
--------------------0xABCDEF00
0xABCDEF01

13.1.3. pppd .
/etc/ppp/options.ttyS0 :

ipx-network 0xABCDEF00
ipx-node 2:0
ipxcp-accept-remote

/etc/ppp/options.ttyS1 :

ipx-network 0xABCDEF01
ipx-node 3:0
ipxcp-accept-remote

pppd
IPX ,
2 3
(remote node) .
0x
,
.
.
dialin modem (entry)
/etc/ppp/options.
pppd.
13.1.4. .
(client)
. ,
(logs in) pppd , ,
(server
node number) .
, ipxd
interface IPX
hosts.

13.2. IPX/PPP client.


, Linux
IPX LAN
IPX ' .
standalone IPX/PPP dialin
server ipxd, LAN
LAN
IPX/PPP, ipxd
.
.
13.2.1. pppd
H
IPX.
.
/etc/ppp/options
, :
ipxcp-accept-network
ipxcp-accept-remote
ipxcp-accept-local

pppd

.
default servers
, (entries) ipxnetwork ipx-node .
13.2.2. T IPX/PPP .

. pppd
IPX
ppp0 ifconfig
ncpmount.

IPX
fileserver. .
, .
14. IPX tunnel IP
Novell Local Area
Netorks IP .
multiplayer deathmatch DOOM DOS
; Andreas Godzina <ag@agsc.han.de>
ipxtunnel.
ipxtunnel (bridge-like
facility) IPX IPX
tcp/ip
tcp/ip. IPX
"" tcp/ip
IP .
,
IPX
ipxtunnel .
14.1. ipxtunnel
ipxtunnel sunsite.unc.edu
<ftp://sunsite.unc.edu/pub/Linux/system/network/daemons>
mirror site.
14.2. ipxtunnel
ipxtunnel
:

#
#
#
#

cd /usr/src
tar xvfz .../ipxtunnel.tgz
cd ipxtunnel
make

14.3. ipxtunnel
ipxtunnel .
gau.somewhere.com
gim.sw.edu. ipxtunnel
/etc/ipxtunnel.conf.
default UDP port tcp/ip ,

interfaces ipxtunnel
IPX.
:
#
# /etc/ipxtunnel.conf for gim.sw.edu
#
# The UDP port to use:
(default 7666)
port 7777
#
# The remote machine to send IPX packets to: (no default)
remote gau.somewhere.com
#
# The local interfaces to listen for IPX on: (default eth0)
interface eth0
interface eth1


remote host.
14.4. ipxtunnel

ipxtunnel IPX,
IPX .
ipxtunnel
Novell file servers,
.
ipxtunnel , DOOM
IPX mode
.
,

. ,
.

15. IPX Linux.

15.1. Network Desktop Caldera


Caldera Inc., Linux

client Novell NetWare.
Red Hat Linux Caldera
"Network Desktop". NetWare
client Novell NetWare client
Novell Corporation . O
client client o Novell 3.x 4.x
NetWare
Directory Service (NDS) RSA encryption.

: Caldera Inc Web Server
<http://www.caldera.com/>.
Netware 4.x / NDS Caldera
Netware Client .
Novell
Linux Caldera
.

16.
IPX Linux;
Caldera Netware 3.x
4.x client .
Caldera Inc Web Server
<http://www.caldera.com/>.
IPX Arcnet/Token Ring/.;
IPX Linux ArcNet Token
Ring interfaces.
AX.25.
ethernet
'etho'
hardware .
IPX interface;
interface
ipx_interface
,
`plug n play'.
IPX ;
IPX networking , IP
networking.
. PX
subnetworking

. :
PX

. IPX

.
host
. host IPX
.
ethernet
. IPX/PPP

hosts ,
. host


host host.

frame types, ;
frame types
IPX.
' ' (
`Frame Type entry').


hosts
,

IPX traffic.

IPX IP traffic yEthernet_II frame
type.
Windows95
frame type;
, .
, '
frame type
. .
'invalid argument' IPX;

IPX,
,
lilo .
'package not installed',
IPX;

IPX,
,
lilo .

'IPX support not in kernel'


pppd;
IPX module
pppd.
NFS export mounted NCP filesystem;
NFS export NCP

ncpmount -V.
volume
. , NFS
export
.

slist
mars_nwe;
.
entry 401 /etc/nwserv.conf,
0
servers.
slist
,
/etc/nwserv.stations
entry 401 /etc/nwserv.conf 2.
ncpfs mars_nwe ;
Martin Volker .
mars_nwe
ncpfs.
WITH_NAME_SPACE_CALLS mars_nwe
config.h>.
DOS
mars_nwe;
.
, artin
mars_nwe DOS client
mars_nwe .
sites ,
mars_dosutils-0.01.tgz. C
slist.exe, login.exe, map.exe .
Borland(tm) C.

17. .
T IPX-HOWTO, IPX
Linux. Copyright (c) 1995 Terry Dawson.
. /
General Public License
Free Software Foundation. 2 , (
) .
, .


. GNU General Public
.
GNU General Public . , :
Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
USA.
18. .
David E. Storey <dave@tamos.gmu.edu> Volker Lendecke
<lendecke@namu01.gwdg.de>
. Gilbert Callaghan <gilbert@pokey.inviso.com>,
David Higgins <dave@infra.com> Chad Robinson
<chadr@brtgate.brttech.com>
IPX/PPP. Bennie Venter <bjv@Gil-galad.paradigmsa.com>
frame types. Christopher Wall <vergil@idir.net

. Axel Boldt <boldt@math.ucsb.edu>
feedback. Erik D. Olson
<eriko@wrq.com> feedback
PPP IPX. Brian King <root@brian.library.dal.ca>
FAQ.
"NetWare" trademark Novell Corporation
<http://www.novell.com/>. "Caldera" trademark
Caldera Corporation <http://www.caldera.com/>.

Terry Dawson, VK2KTJ.


<terry@perf.no.itg.telstra.com.au>

You might also like