[previous] Clear Spacer [next]

Configuring XNS Routing

This chapter describes the procedures for configuring your system to perform Xerox Network Systems (XNS) routing. It also describes how the router works and gives guidelines for operating, managing, and troubleshooting it.

For conceptual information, see "How the XNS Router Works" later in this chapter.


Setting Up a Basic XNS Router

The procedure in this section describes the minimum steps required to enable your system to route XNS packets. Depending on your network requirements, you can use the default values of the parameters, or you can further configure the router according to later sections in this chapter.

The parameters in the IDP and RIPXNS Services enable XNS routing functions.

Configuring for Local Area Networks and Point-to-Point Protocol Links

When setting up the basic XNS router, you first configure the router for LAN ports and Point-to Point Protocol (PPP) links.

Prerequisites

Before beginning this procedure, complete the following tasks:

Procedure

To set up the router for XNS routing, follow these steps:

1 .   Enable XNS routing by entering:

SETDefault -IDP CONTrol = Route

In addition, you can configure the -IDP CONTrol parameter to provide error checking with the Checksum | NoChecksum value. Checksum provides a high degree of reliability in detecting bad data sent over the network. If Checksum is enabled, a router verifies the IDP checksum of a packet before it forwards the packet. The cost of this service, however, is lower network performance. The default value is NoChecksum.

2 .   Configure XNS network numbers on each port connected (local interface or serial line interface) using:

SETDefault !<port> -IDP NETnumber = &<number>(0-FFFFFFFE)

Valid network numbers consist of up to eight hexadecimal digits in the range &0 to &FFFFFFFE. The network number &FFFFFFFF is reserved. Use network number &0 to delete a previously assigned network number. You do not have to specify leading zeros in the network number.

Repeat this step for the other port(s). Each enabled port on a router must be assigned a different network number.

3 .   Verify the XNS configuration by entering:

SHow -IDP CONFiguration

The router displays the IDP configuration information. If the CONTrol parameter is not set to route, or the NETnumbers are incorrect, repeat steps 1 and 2.

4 .   Begin routing table information exchanges with other routers that interface with a port using:

SETDefault !<port> -RIPXNS CONTrol = Enabled

5 .   Repeat step 4 for each port being used for XNS routing.

After you have completed this procedure, dynamic XNS routing begins over the configured ports. To complete the configuration for PPP links, see the Configuring Wide Area Networking Using PPP chapter.

For more information on dynamic and static routes, see "Customizing the XNS Router" later in this chapter.

Configuring for Wide Area Networks

XNS routing over Frame Relay, Asynchronous Transfer Mode data exchange interface (ATM DXI), and X.25 is supported over fully meshed, partially meshed, and nonmeshed topologies. If you plan to route XNS over a partially meshed or nonmeshed topology, you must create a virtual port for each remote network that is attached to a Frame Relay, ATM DXI, or X.25 cloud. For complete information on configuring XNS routing over Frame Relay, ATM DXI, or X.25, including a discussion of fully meshed, partially meshed, and nonmeshed topologies and virtual ports, see the Configuring Wide Area Networking Using Frame Relay chapter, the Configuring Wide Area Networking Using the ATM DXI chapter, and the Configuring Wide Area Networking Using X.25 chapter, respectively. For information on the number of virtual ports supported per platform, see Table 11 in the Configuring Advanced Ports and Paths chapter.

Routing XNS over Switched Multimegabit Data Service (SMDS) is supported over fully meshed and nonmeshed topologies (nonmeshed topologies require virtual ports). In addition, SMDS virtual ports are supported and can be used for traffic separation and various filtering of by assigning groups of nodes to different virtual ports. For more information, see the Configuring Wide Area Networking Using SMDS chapter.

To configure your XNS router to perform routing over PPP, see Chapter 43. For more information on wide area networking using Integrated Services Digital Network (ISDN), see the Configuring Wide Area Networking Using ISDN chapter.


Verifying the Configuration

After you have configured the basic XNS router, you should verify the configuration to see if you can reach other XNS hosts.

Before you use the router for interconnecting networks, verify the router configuration by following these steps:

1 .   Check the router path configuration by entering:

SHow -PATH CONFiguration

2 .   Check the router port configuration by entering:

SHow -PORT CONFiguration

3 .   Examine the IDP Service configuration by entering:

SHow -IDP CONFiguration

This command displays configuration information specific to the IDP Service parameters for each port that you have configured with a network number.

4 .   Examine the RIPXNS Service configuration by entering:

SHow -RIPXNS CONFiguration

This command displays configuration information specific to the RIPXNS Service parameters for each port that you have configured with a network number.

5 .   Check the state of all networks assigned to the ports of a router by entering:

SHow -IDP NETnumber

This command displays the network number assigned to each port on this router and the state that each network is in. All networks should be in the UP state. If any one is in the DOWN state, check to make sure that all PORT and PATH parameters are configured correctly.

6 .   Check the XNS Routing Table to see if all the networks are reachable by entering:

SHow -IDP AllRoutes Long

This command displays all known routes, both dynamic and static, in the XNS Routing Table.

7 .   Make a connection from a host on one attached network to a host on another network to see if packets can be routed across the router.

You can also test the connectivity between routers by using the REMote command.

Figure 219 shows four Ethernet networks connected by routers A, B, and C.

To check the connectivity between router A and router B, on router A enter:
REMote &3141%080002001234

To check the connectivity between router A and router C, on router A enter:
REMote &3142%08000200abcd

After you enter the REMote command, the remote prompt (Remote:) appears. At the Remote prompt, enter any command available on the device to which you remote (Routers B or C); for example, SHow -SYS VERSion or SHow -SYS ADDRess. A response from Routers B or C indicates successful communication between respective routers.

Figure 219 Checking Connectivity between Routers

Getting Statistics

To display statistics for the IDP Service, enter:

SHow -SYS STATistics -IDP

To display statistics for the RIPXNS Service, enter:

SHow -SYS STATistics -RIPXNS

You can collect statistics for a specific time period by using the SampleTime and STATistics parameters. For more information on these parameters, see the SYS Service Parameters chapter in Reference for Enterprise OS Software. For information on interpreting the statistics displays, see the Statistics Displays appendix.

Troubleshooting the Configuration

If you are unable to make connections to other networks after setting up the router, review the following troubleshooting procedure. This procedure can help correct problems in making single-hop (involving one router) and multiple-hop (involving more than one router) connections.

To troubleshoot the basic XNS router configuration, follow these steps:

1 .   Check that all cables on all routers in a specific path in the routing table are properly connected and that the routers are properly installed.

For installation instructions, see the installation guide provided with your bridge/router.

2 .   Check the -IDP NETnumber and the network status by entering:

SHow -IDP NETnumber

Look at the status of the networks. All configured networks should be in the UP state. If any one is in the DOWN state, check that all PORT and PATH parameters are correctly configured.

Look at the current network configuration. If no network is configured on the specific port, use the SETDefault -IDP NETnumber command to add a proper network number to that port.

3 .   Check the values of -RIPXNS CONTrol parameter by entering:

SHow -RIPXNS CONTrol

The router displays the current values for the CONTrol parameter.

4 .   Check whether the network you are trying to reach is in the XNS Routing Table by entering:

SHow -IDP AllRoutes

To verify single route reachability, you can specify a network number and enter:

SHow -IDP AllRoutes <NETnumber>

For more information on checking the routing table, see "Displaying Routing Information" later in this chapter.


Customizing the XNS Router

After you set up and check the router according to instructions in the previous sections, you are ready to customize the XNS router by configuring specific routes, which includes the following steps:

This section describes these router activities and explains how you can influence the router's routing decisions under different circumstances.

Local and Wide Area Network Configuration

An XNS network is configured on each port where XNS packets are received and sent. Figure 220 is an example showing a wide area router connecting two local Ethernet networks (Santa Clara) to two wide area networks (Los Angeles and Santa Barbara).

Figure 220 Wide Area Router Connecting Four XNS Networks

Any physically attached network, Ethernet or serial line, is considered a directly connected network or "local" network. If more than one serial line is assigned to one port, that port is considered a single directly connected XNS network.

A router must check its routing table to determine where to route a packet. If the destination is on an attached network, the router can send it directly to the network. But if the destination is not directly connected, the router must route the packet to another router (called a gateway) that is closer to the destination. The route to a remote network can be statically configured or dynamically learned through routing protocols, such as the Routing Information Protocol (RIP) for XNS.

Defining Routes

The following sections describe the two types of routes (static and dynamic) and how to define them.

Static Routes

A static route is a user-defined route by which a remote network can be reached. To define a static route, enter the ADD -IDP ROUte command and specify the appropriate route information. For more information on setting the ROUte parameter, see the IDP Service Parameters chapter in Reference for Enterprise OS Software.

For example, on router 1 in Figure 220, you can add a static route for the Los Angeles network as follows:

ADD -IDP ROUte &1122 &2233%08000100abcc

To display the table of static routes, enter:

SHow -IDP ROUte

Once a static route is configured for a specific destination network, no dynamic routes will be added for that destination network.

You must configure the router with a network number (see "Displaying Routing Information" later in this chapter) before the router will accept static routes.

Dynamic Routes

Dynamic routes are routes that are learned dynamically through RIP. RIP allows the periodic exchange of routing table information with other XNS routers. Gateways use this information to route packets to other networks. For more information on this protocol, see "Learning Routes" later in this chapter.


Enhancing the Performance of the XNS Router

This section describes ways that you can enhance the performance of the XNS router.

Configuring for RIP Updates

You can change the way the router broadcasts update packets using parameters in the RIPXNS Service (see Table 64).

Table 64 Configuring the XNS Router for RIP Updates Using RIPXNS Parameters

Parameter

Result

UpdateTime

Changes the frequency at which the router sends update packets.

CONTrol parameter options:

Enabled | Disabled

Determines whether router sends update packets.

Trigger | NoTrigger

Determines whether a route change for a network triggers an update packet from the router.

Poison | NoPoison

Determines how router handles entries learned from another router.

OldNbrMap | NewNbrMap

Permits neighbor address mapping for any bridge/router software versions. If your software version is earlier than 5.0, use option OldNbrMap. If your version is 5.0 or later, use option NewNbrMap (this is the default).

GlobBcast | NoGlobBcast

Determines whether XNS global broadcast packets are forwarded to all interfaces except the incoming port.

The RIPXNS parameters are automatically configured to their default values when you configure the -IDP CONTrol parameter for routing. In some cases, however, you may want to change the default configuration.

To modify the RIPXNS parameters, see the following parameter descriptions:

Table 65 CONTrol Parameters in IDP and RIPXNS

CONTrol Setting in IDP

CONTrol Setting in RIPXNS

Effect

Route

Enabled

Packet routing starts. Enables routing table updates based on packets received from other gateways. Routing table update packets are generated and sent to other networks. Allows normal routing performance.

NoRoute

Enabled

Packet routing stops. Allows routing table updates based on the packets received. Routing table update packets are not generated and sent to other networks. Allows normal routing performance when packet routing resumes.

Route

Disabled

Packet routing starts. Packets are routed according to static routes only. Routing table updates received are ignored. Routing table updates are not generated and sent to other networks. Reduces the amount of network data traffic and allows network administrator control over packet routing.

NoRoute

Disabled

Packet routing stops. Routing table updates stop (no packets are received or generated).

Setting the -RIPXNS CONTrol parameter to Trigger causes the router to send an update packet when the network topology changes. The advantage is that triggered updates immediately allow the network to know a potentially better route to a particular network. Setting the -RIPXNS CONTrol parameter to NoTrigger reduces the amount of data packets broadcast over the network, and normal update packets are sent only at the time interval specified by the UpdateTime parameter.

Setting the -RIPXNS CONTrol parameter to Poison causes the router to set the number of hops for a specific table entry to 16 when it sends routing table updates. It does this to prevent routing loops in which two gateways are trying continually to update each other with the same information. The poisoned information (specified by a hop count of 16) remains in the router's update packet, adding to the data traffic on the network.

Setting the -RIPXNS CONTrol parameter to NoPoison prevents the router from sending poisoned routing information in an update packet, thus reducing the amount of data traffic over the network.

Configuring for Error Checking

In addition to routing configuration changes available through the RIPXNS Service parameters, you can configure the -IDP CONTrol parameter to provide error checking through the Checksum | NoChecksum value. Checksum provides a high degree of reliability in detecting bad data sent over the network. If Checksum is enabled, a router verifies the IDP checksum of a packet before it forwards the packet. The cost of this service, however, is lower network performance. The default value is NoChecksum.

To configure the router to provide error checking, enter:

SETDefault -IDP CONTrol = Checksum


How the XNS Router Works

This section provides general information about XNS routing.

Learning Routes

Normally, every 30 seconds (by default) or every time it learns a route change for a network, the router uses broadcast packets to report to its neighbors the following types of information:

You can configure some router parameters to determine how the router sends out the updates by completing the following tasks:

Displaying Routing Information

The routing table provides information that determines how a packet is routed. The long form of the routing table displays only the most efficient route.

To display the long form, enter:

SHow -IDP AllRoutes Long

The following is a typical example of the long form of the routing table:

----------------------XNS Routing Table----------------------------
Port
NETnumber
Gateway
Hops
1
&00003145*
&00003140%080002015980
2
1
&00003147
&00003140%080002015982
5
1
&00003149*
&00003140%080002015980
7
Total route(s) displayed: 3

Asterisks in the display indicate static routes.

Depending on the AllRoutes option selected, the routing table can include the following information, which determines how a packet is routed:

For each destination address, the router can support up to two routes (that is, two gateways). These routes, either learned or configured, are stored in the routing table. The router selects the most efficient route to reach a destination. For information on how the router makes routing decisions, see "Learning Routes" earlier in this chapter.

To display the short form of the routing table, enter:

SHow -IDP AllRoutes

The short form, which is the default, only displays network numbers and hop counts.

Deleting Routes

Routes in the routing table are deleted differently depending on whether they are static or dynamic routes:

DELete -IDP ROUte &1122

To remove all dynamic routes, enter:

FLush -IDP AllRoutes

Network Reachability and Split Horizon

The types of networks that are considered reachable when a router broadcasts its RIP update packets are as follows:

Some networks, though accessible, are not reported by the router. For example, in Figure 221, router B broadcasts an update packet on network &2222. The packet does not include network &1111, because this network is learned from the same port on which the packet is broadcast. This process is known as split horizon.

Split horizon prevents routing loops caused by including routes in the updates sent to the port from which the routes were originally learned.

When no poison reverse is used, the router omits this type of route from routing updates sent to the same port.

With poison reverse, the router includes this type of route in its report, but the number of hops associated with that network is 16. For example, with poison reverse, router A includes networks &1111 and &3333 in its report sent to router B, but specifies that the number of hops for network &3333 is 16, while the number of hops for network &1111 is 1. Because RIP considers any network with a hop number higher than 15 unreachable, router B, upon receipt of the report, knows that packets destined for network &3333 should never be routed to router A. Through this same process, router A will know network &1111 is unreachable through router B.

Split horizon guarantees that if router B's connection with network &3333 fails, it will not send packets to router A, under the assumption that router A can reach the destination network (&3333), because it cannot.

Figure 221 XNS Routing Using Split Horizon

[previous] Clear Spacer [next]