This chapter covers the following topics:
IPX routing on the WAN
A MAX TNT configured for IPX routing enables NetWare clients and distributed Novell networks to use NetWare services across the WAN. Figure 8-1 shows a MAX TNT that routes IPX between WAN interfaces (connections) and a local Novell network.
Figure 8-1. Routing IPX between LAN and WAN interfaces
Ascend has optimized IPX routing for the WAN, which required some modifications of standard IPX behavior as well as IPX extensions to enable the MAX TNT to operate as clients expect for NetWare LANs. This section discusses issues related to scaling LAN protocols to the WAN.
How Ascend units use IPX SAP
The MAX TNT follows standard IPX SAP behavior for routers when connecting to non-Ascend units across the WAN. However, when it connects to another Ascend unit configured for IPX routing, both ends of the connection exchange their entire SAP tables, so all remote services are immediately added to the MAX TNT unit's SAP table and vice versa. How Ascend units use IPX RIP
The MAX TNT follows standard IPX RIP behavior for routers when connecting to non-Ascend units. However, when it connects to another Ascend unit configured for IPX routing, both ends of the connection immediately exchange their entire RIP tables. In addition, the MAX TNT maintains those RIP entries as static until the unit is reset or power cycled. How IPX RIP works
IPX RIP is similar to the routing information protocol in the TCP/IP protocol suite, but it is a different protocol. IPX routers broadcast RIP updates periodically and when a WAN connection is established. The MAX TNT receives IPX RIP broadcasts from a remote device, adds 1 to the hop count of each advertised route, updates its own RIP table, and broadcasts updated RIP packets on connected networks in a split-horizon fashion. The IPX RIP default route
The MAX TNT recognizes network number -2 (0xFFFFFFFE) as the IPX RIP default route. When it receives a packet for an unknown destination, the MAX TNT forwards the packet to the IPX router advertising the default route. If more than one IPX router is advertising the default route, the unit makes a routing decision based on Hop and Tick count. For example, if the MAX TNT receives an IPX packet destined for network 77777777 and it does not have a RIP table entry for that destination, the MAX TNT forwards the packet towards network number FFFFFFFE, if available, instead of simply dropping the packet. Support for IPXWAN negotiation
The MAX TNT supports the IPXWAN protocol, which is essential for communicating with Novell software (such as NetWare Connect2) that supports dial-in connections, and with the Multi-Protocol Router. For full specifications of the IPXWAN protocol, see RFC 1634 and NetWare Link Services Protocol Specification-IPX WAN Version 2.
Recommendations for NetWare client software
NetWare clients on a WAN do not need special configuration in most cases. However, if the local network supports NetWare servers, you should configure NetWare clients with a preferred server on the local network, not at a remote site. If the local network does not support NetWare servers, configure local clients with a preferred server that is on the network with the lowest connection costs. For more information, see the NetWare documentation.
Configuring the IPX router
To create IPX-Interface profiles for routing on the MAX TNT LAN interfaces, you must enable IPX routing in the IPX-Global profile. In addition, to support dial-in NetWare clients that are not routers, you must configure a virtual IPX network to be used for assigning IPX addresses to those clients. Following are the relevant parameters, shown with their default settings:
IPX-GLOBAL
ipx-routing-enabled = yes
ipx-dialin-pool = 12:34:56:78
The IPX network number you assign must be unique within the entire IPX routing domain of the MAX TNT. The MAX TNT advertises the route to this virtual IPX network.
admin> read ipx-global
IPX-GLOBAL read
admin> set ipx-routing-enabled = yes
admin> set ipx-dialin = cccc1234
admin> writeWhen you write the profile, the MAX TNT comes up in IPX routing mode and creates IPX-Interface profiles for each Ethernet interface. Be sure that the network number you assign to the IPX-Dialin parameter is unique in the MAX TNT routing domain.
IPX-GLOBAL written
Configuring IPX LAN interfaces
After you enable IPX routing in the IPX-Global profile, the system creates an IPX-Interface profile for each Ethernet interface in the system. IPX-Interface profiles do not exist until you enable IPX routing globally.
IPX-INTERFACE/{ { shelf-1 slot-6 2 } 0 }
interface-address* = { { shelf-1 slot-6 2 } 0 }
ipx-routing-enabled = no
ipx-frame = None
ipx-net-number = 00:00:00:00
ipx-type-20 = no
ipx-sap-filter-name = ""
Enabling IPX routing and spoofing on the interface
To enable the MAX TNT to route IPX on an Ethernet interface, you must set both the IPX-Routing-Enabled parameter and the IPX-Frame parameter. The IPX-Frame parameter specifies which IPX frame type the MAX TNT will route and spoof.
Load 3c509 name=ipx-card frame=ETHERNET_8023
If you enter an IPX network number other than zero, the MAX TNT becomes a seed router, and other routers can learn their IPX network number from the MAX TNT. For details about seed routers, see the Novell documentation.
For information about defining a SAP filter, see Defining and applying IPX SAP filters. For an example that shows how to apply the filter, see Example of applying an IPX SAP filter to a LAN interface.
Example of an IPX-Interface configuration
Following is an example of input that enables the MAX TNT to route 802.3 IPX frames to and from the LAN interface and propagate IPX Type 20 packets:
admin> read ipx-int { {1 12 2 } 0 }
IPX-INTERFACE/{ { shelf-1 slot-12 2 } 0 } read
admin> set ipx-routing-enabled = yes
admin> set ipx-frame = 802.3
admin> set ipx-type-20 = yes
admin> writeNote that this example does not specify an IPX-Net-Number, which means the MAX TNT is a nonseed router that will learn its address from another IPX router on the network or from the RIP packets received from the local IPX server.
IPX-INTERFACE/{ { shelf-1 slot-12 2 } 0 } written
Configuring IPX WAN interfaces
You must set Enabled to Yes in the IPX-Answer subprofile of the Answer-Defaults profile to allow the MAX TNT to answer incoming IPX routing calls. In addition, because the MAX TNT does not have a built-in authentication mechanism (such as matching addresses) for IPX connections, they require PPP authentication.
ANSWER-DEFAULTSConnection profiles for IPX routing connections typically use PPP authentication (described in the current Appendix A, Access Security Settings ). In addition, they specify one or more of the following IPX options, which are shown with their default values:
ipx-answer
enabled = yes
ppp-answer
receive-auth-mode = any-ppp-auth
CONNECTION station
ipx-options
ipx-routing-enabled = no
peer-mode = router-peer
rip = both
sap = both
dial-query = no
net-number = 00:00:00:00
net-alias = 00:00:00:00
sap-filter = ""
ipx-sap-hs-proxy = no
ipx-sap-hs-proxy-net = [ 0 0 0 0 0 0 ]
ipx-header-compression = no
Controlling RIP and SAP updates to and from the remote router
When the remote end of the connection is a router (Peer-Mode), you can specify how RIP and SAP packets are handled across this WAN connection. Both parameters are set to Both by default, which means that the MAX TNT both sends updates across the WAN connection (informing other routers on the remote network of its routes or services), and receives updates from the remote router (including those routes or services in its RIP or SAP table). When to use net-number and net-alias
The Net-Number specifies the IPX network number of the remote-end router. This parameter, which is rarely needed, accommodates those remote-end routers that require the MAX TNT to know that router's network number before connecting. Applying a SAP filter to a WAN interface
You can apply a SAP filter to a WAN interface by specifying the filter profile name as the value of the SAP-Filter parameter. When applied to a WAN interface, a SAP filter includes or excludes specific services from the MAX TNT unit's SAP table and its responses to SAP queries on the interface. A filter applied to a WAN interface takes effect when the connection next becomes active.
Using dial-query
Dial-Query configures the MAX TNT to bring up a connection when it receives a SAP query for service type 0x04 (File Server) and that service type is not present in the MAX TNT SAP table. If the MAX TNT has no SAP table entry for service type 0x04, it brings up every connection that has Dial Query set. For example, if 20 Connection profiles have Dial-Query set, the MAX TNT brings up all 20 connections in response to the query.
Home server proxy
For mobile NetWare clients, you can specify the network number of from one to six NetWare servers that should receive SAP queries across this connection. Without this feature, when the client is in a distant location and sends a Get Nearest Server Request query, the client receives responses from servers closer to that location, rather than the expected home server or servers. With the home-server proxy feature, mobile clients can bring up a connection to the server or servers they usually use. Using IPX header compression
The IPX-Header-Compression parameter specifies whether or not the MAX TNT should use IPX header compression on this connection if the specified encapsulation method supports it. Example of a connection between two Novell LANs
Figure 8-2 shows a MAX TNT providing a connection between an IPX network, which supports NetWare servers and clients, and a remote site that also supports NetWare servers and clients, and an Ascend unit.
Figure 8-2. IPX connection with NetWare servers on both sides
Name=SERVER-2Following is an example of specifying a connection to the Ascend unit at Site B:
internal net 013DE888
Load 3c509 name=net-card frame=ETHERNET_8023
Bind ipx net-card net=9999ABFF
admin> new conn sitebgw
CONNECTION/sitebgw read
admin> set active = yes
admin> set ppp recv-password = sitebpw
admin> list ipx
ipx-routing-enabled = no
peer-mode = router-peer
rip = both
sap = both
dial-query = no
net-number = 00:00:00:00
net-alias = 00:00:00:00
sap-filter = ""
ipx-sap-hs-proxy = no
ipx-sap-hs-proxy-net = [ 0 0 0 0 0 0 ]
ipx-header-compression = no
admin> set peer = router
admin> set rip = off
admin> writeBecause RIP is turned off, you might want to create a static route to the server at the remote site, to ensure that the MAX TNT can bring up this connection, even immediately after a system reset. The following example shows how to configure a route to Server-2 at Site B:
CONNECTION/sitebgw written
admin> new ipx-route SERVER-2
IPX-ROUTE/SERVER-2 read
admin> set server-type = 0004
admin> set dest-network = 013DE888
admin> set server-node = 000000000001
admin> set server-socket = 0451
admin> set profile-name = sitebgw
admin> write
IPX-ROUTE/SERVER-2 written
Example of a connection to a dial-in client
Figure 8-3 shows a NetWare client dialing into the MAX TNT to reach a corporate IPX network. The caller is running NetWare client software with PPP software to dial in.
Figure 8-3. Dial-in NetWare client
Following is an example of input that configures an IPX routing connection for the client shown in Figure 8-3:
admin> new conn client
CONNECTION/client read
admin> set ppp recv-password = client-pw
admin> list ipx
ipx-routing-enabled = no
peer-mode = router-peer
rip = both
sap = both
dial-query = no
net-number = 00:00:00:00
net-alias = 00:00:00:00
sap-filter = ""
ipx-sap-hs-proxy = no
ipx-sap-hs-proxy-net = [ 0 0 0 0 0 0 ]
ipx-header-compression = no
admin> set ipx-routing = yes
admin> set peer = dialin
admin> write
CONNECTION/client written
admin> read conn ipxclient
CONNECTION/ipxclient read
admin> list ipx
ipx-routing-enabled = no
peer-mode = router-peer
rip = both
sap = both
dial-query = no
net-number = 00:00:00:00
net-alias = 00:00:00:00
sap-filter = ""
ipx-sap-hs-proxy = no
ipx-sap-hs-proxy-net = [ 0 0 0 0 0 0 ]
ipx-header-compression = no
admin> set ipx-sap-hs-proxy = yes
admin> set ipx-sap-hs-proxy-net 1 = ccff1234
admin> writeSetting IPX-SAP-HS-Proxy to Yes enables the feature. You must then specify at least one (and up to six) IPX network addresses to which SAP broadcasts will be directed.
CONNECTION/ipxclient written
Configuring IPX static routes
When the MAX TNT is reset or power cycled, it clears it RIP and SAP tables from memory. Static routes create entries in new RIP and SAP tables as the unit initializes. The static routes enable the MAX TNT to reach a NetWare server and download more complete tables from there.
Static IPX routes use the following parameters, which are shown with their default settings:
IPX-ROUTE name
name* = name
server-type = 00:00
dest-network = 00:00:00:00
server-node = 00:00:00:00:00:00
server-socket = 00:00
hops = 8
ticks = 12
profile-name = ""
active-route = yes
The destination of an IPX route is the internal network of a server. For example, NetWare file servers are assigned an internal IPX network number by the network administrator and typically use the default node address of 000000000001. This is the destination network address for file read/write requests. (If you are not familiar with internal network numbers, see your NetWare documentation for details.)
Typically, Novell file servers use socket 0x451. The number you specify must be a well-known socket number. Services that use dynamic socket numbers may use a different socket each time they load, and will not work with IPX Route profiles. To bring up a connection to a remote service that uses a dynamic socket number, specify a master server with a well-known socket number on the remote network.
The Profile-Name parameter specifies the Connection profile to use. When the MAX TNT receives a query for the specified server or a packet addressed to that server, it finds the referenced Connection profile and dials the connection.
admin> new ipx-route Server-1
IPX-ROUTE/Server-1 read
admin> set server-type = 0004
admin> set dest-network = cc1234ff
admin> set server-node 1 = 000000000001
admin> set server-socket = 0451
admin> set profile-name = sitebgw
admin> write
IPX-ROUTE/Server-1 read
Defining and applying IPX SAP filters
IPX SAP filters contain a set of rules that determine which remote NetWare services will be excluded from (or included in) the MAX TNT SAP table or SAP response packets.
Following are the SAP filter parameters, which are shown with their default values:
IPX-SAP-FILTER ipx-sap-filter-nameEach of the eight Input and Output filters include the same parameters.
ipx-sap-filter-name* = ipx-sap-filter-name
input-ipx-sap-filters
input-ipx-sap-filters [1-8]
valid-filter = no
type-filter = exclude
server-type = 00:00
server-name = ""
output-ipx-sap-filters
output-ipx-sap-filters [1-8]
valid-filter = no
type-filter = exclude
server-type = 00:00
server-name = ""
Example of filtering out a file server
The following example shows how to create a SAP filter that identifies a particular file server and filters it from the SAP table. If the directory services feature is not supported, servers or services that are not in the MAX TNT SAP table will be inaccessible to clients on other MAX TNT interfaces. Following are the commands that define the SAP filter:
admin> new ipx-sap-filter server_1
IPX-SAP-FILTER/server_1 read
admin> list
ipx-sap-filter-name* = server_1
input-ipx-sap-filters = [ { no exclude 00:00 "" } { no exclude 00:00 ""+
output-ipx-sap-filters = [ { no exclude 00:00 "" } { no exclude 00:00 "+
admin> list input 1
valid-filter = no
type-filter = exclude
server-type = 00:00
server-name = ""
admin> set valid-filter = yes
admin> set server-type = 0004
admin> set server-name = server_1
admin> write
IPX-SAP-FILTER/server_1 written
admin> new ipx-sap-filter nowan
IPX-SAP-FILTER/nowan read
admin> list
ipx-sap-filter-name* = nowan
input-ipx-sap-filters = [ { no exclude 00:00 "" } { no exclude 00:00 ""+
output-ipx-sap-filters = [ { no exclude 00:00 "" } { no exclude 00:00 "+
admin> list input 1
valid-filter = no
type-filter = exclude
server-type = 00:00
server-name = ""
admin> set valid-filter = yes
admin> set server-type = FFFF
admin> set server-name = *
admin> write
IPX-SAP-FILTER/nowan written
admin> read ipx-interface { {1 12 2 } 0 }
IPX-INTERFACE/{ { shelf-1 slot-12 2 } 0 } read
admin> set ipx-sap-filter-name = server_1
admin> writeFor background information, see Applying a SAP filter to the LAN interface.
IPX-INTERFACE/{ { shelf-1 slot-12 2 } 0 } written
Example of applying an IPX SAP filter to a WAN interface
Following is an example of applying a SAP filter to a WAN interface:
admin> read conn clientnet
CONNECTION/clientnet read
admin> list ipx
ipx-routing-enabled = yes
peer-mode = dialin-peer
rip = both
sap = both
dial-query = no
net-number = 00:00:00:00
net-alias = 00:00:00:00
sap-filter = ""
ipx-sap-hs-proxy = no
ipx-sap-hs-proxy-net = [ 0 0 0 0 0 0 ]
ipx-header-compression = no
admin> set sap-filter = nowan
admin> write
CONNECTION/client written
Copyright © 1998, Ascend Communications, Inc. All rights reserved.