Chapter: | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
Cisco IOS Essentials
John Albritton, CCIE
 $55.00  0-07-134743-7
Backward Forward

Reserve your copy at a
Bet@ Bookstore near you!
Contact Bet@ Books
© 1999 The McGraw-Hill Companies, Inc. All rights reserved.
Any use of this Bet@ Book(TM) is subject to the rules stated in the Terms of Use.

Chapter 8

  1. Configuring IPX
  2. Internetwork Packet eXchange (IPX) is a layer-3 network protocol developed by Novell originally for file and printer sharing in small, desktop environments. IPX is based on a client-server model in which a client cannot do anything on an internetwork until it attaches to a server.

    Our coverage of IPX will begin with an overview of IPX host addressing and protocol operation. The IOS commands for configuring IPX will be illustrated as we make modifications to our test internetwork.

    1. IPX Addressing

IPX host addresses are 80 bits long, and we normally write them in hexadecimal (hex). An IPX address has a 32-bit network part and a 48-bit node part.

The network part identifies a single network, and the node part identifies a single host on the network. We must assign a unique network address to every network (physical and logical) that is to carry IPX traffic. There is no common registry to obtain IPX network addresses as there is with IP. Instead, we can use any IPX address we want as long as it is unique with the entire internetwork where it is located. Network addresses are defined only on Novell servers and routers. All servers and routers on the same network must have the same network address defined. Clients figure out the network address of a network dynamically when they start.

Network administrators use many ways of determining IPX network addresses to assign to networks. Some of these are as follows:

The node portion of an IPX address is defined automatically to be the MAC address of an IPX host’s interface. On Cisco router interfaces that do not have MAC addresses, such as serial interfaces, the MAC address of the first LAN interface in the router is used as the node portion of the IPX address. If there are no LAN interfaces in the router, IOS just makes up the node part of the address.

The network number can have from one to eight hex digits; writing leading zeros is not required. A period separates the network and node portion, and the node portion is written in three four-digit sections separated by periods. For example, AC100A00.0010.7B3A.D4BF is the IPX address of the Ethernet0 interface on our test router Dallas. AC100A00 is the network number we assigned to the network, and 0010.7B3A.D4BF is the interface’s MAC address.

Novell servers have logical internal networks that contain a single host, the server itself. We define the network number for the internal network, and Novell defines the node address to be 1. In hex, the node portion is 0000.0000.0001.

2.1.3.1

Since host’s layer-2 address (MAC address) is part of its layer-3 address (IPX address), a host using IPX can determine the destination address to put in the frame header directly from the IPX address without using any network overhead. In Section 2.1.3.1, we defined this method of acquiring a host’s MAC address as prediction.

    1. IPX Overview
    2. We are going to use the OSI Reference Model to help discuss the components that make up the IPX protocol suite. Figure 8-1 shows the IPX stack as compared to the seven layers of the OSI Reference Model.

      <<<J121 – Figure 8-1 IPX Stack Compared to OSI Reference Model>>>

      Our goal is be able to configure IPX on an IOS-based router; therefore, this overview is meant to provide enough background information for us to understand what is happening on a router that is routing IPX packets.

      1. Layers 1 and 2
      2. We can run IPX over just about any physical medium. On LAN interfaces, the frame header and trailer format (encapsulation) of IPX packets is defined separately from that of other protocols. LAN interfaces can support multiple frame encapsulation types for IPX. There are four Ethernet encapsulation types, two token ring encapsulation types, and two FDDI encapsulation types defined. Figure 8-2 shows the defined encapsulation types for Ethernet and Token Ring interfaces. The Novell names for the major encapsulation types are shown with their corresponding Cisco IOS names. We are concerned with the Cisco names because they are used in IOS commands.

        LAN Type

        Novell’s Encapsulation Name

        Cisco’s Encapsulation Name

         

        Ethernet_II

        ARPA

        Ethernet

        Ethernet_802.3

        NOVELL-ETHER

         

        Ethernet_802.2

        SAP

         

        Ethernet_SNAP

        SNAP

        Token Ring

        Token-Ring

        SAP

         

        Token-Ring_SNAP

        SNAP

        <<<Figure 8-2 Ethernet and Token Ring IPX Encapsulation Types>>>

        IOS uses NOVELL-ETHER as its default Ethernet interface encapsulation and SAP as its default Token Ring interface encapsulation for IPX packets.

        The encapsulation of a router’s WAN interface is used for all of the protocols that are being processed on that interface, including IPX. The default encapsulation for a Cisco-router serial interface is HDLC.

      3. Layer 3
      4. IPX appears at layer 3. The first thing in an IPX packet is the layer-3 IPX header. The IPX header contains the IPX destination address and source address. The IPX header also contains a packet type and source and destination socket numbers, which help a host determine the type of data being carried in the packet.

      5. Layers 4, 5, 6, and 7

      The top four layers are bundled together into a mixed bag of applications and transport mechanisms.

      SAP (Service Advertisement Protocol) runs over IPX and is the application used by servers and routers to learn about services available on a Novell network. Each service is uniquely identified with a combination of type, name, and address. A service type is a number given for a particular service provided by a server, such as a file service, a print service, or a database service. The name of the service is a descriptive text string usually defined by a network administrator, and the address is the IPX address of the host that is offering the service.

      Novell servers use SAP to tell the devices on their local network about their presence. SAP advertisements are transmitted periodically every 60 seconds to the IPX broadcast address of a network. File servers and routers collect the advertised services into a service table (sometimes called a SAP table) and advertise all of the services, using SAP, out all of their IPX-enabled interfaces every 60 seconds. SAP uses split horizon to avoid advertising a service to the same network from which a service was learned.

      Clients ignore the information in the SAP broadcasts; however, since a client cannot perform any internetwork activity until it attaches to a server, the client needs some way of locating servers. Clients use either Get Nearest Server (GNS) requests to find a server or Novell Directory Services (NDS) tree to which it can attach. File servers, NDS servers, and routers can respond to these requests. Once attached, the client can access Novell services.

      RIP (Routing Information Protocol) and NLSP (Novell Link Services Protocol) are IPX routing protocols. IPX RIP is very similar to IP RIP. RIP is the default routing protocol for IPX; it is enabled on an interface as soon as an IPX network number is assigned to the interface. IPX RIP is a distance vector routing protocol that uses 60-second periodic updates. RIP uses two metrics: ticks and hop count. A tick is about 1/18th of a second and is meant to be a measurement of delay across a network. The preferred path to a network is the one with the lower number of ticks; if ticks are the same, the route with the lowest hop count is preferred. If both ticks and hop count are equal, IOS will just pick one to use unless we have configured IPX load sharing. NLSP is a Novell-developed, link state routing protocol, similar to OSPF. IOS also supports using EIGRP for the exchange of IPX routes and services.

      Servers use NCP (NetWare Core Protocol) to provide services such as file and print operations.

      SPX (Sequenced Packet eXchange) is similar to TCP in IP. SPX provides connection-oriented communication for applications that require it. For example rconsole and IPX SNA gateways use SPX.

      IPX NetBIOS is Novell’s implementation of IBM’s NetBIOS. Some IPX network applications are written to run over IPX NetBIOS. IPX NetBIOS uses type-20 IPX packets. These must be handled separately in the IOS configuration of IPX.

    3. IPX Routing

IOS strips the frame header and trailer from IPX packets received on an interface. The IPX packet is then sent to the IPX routing process, which searches the IPX routing table for an entry matching the network part of the destination IPX address.

Two of the routers, Dallas and FortWorth, in our test internetwork already have IPX enabled on two of their interfaces. Figure 8-3 shows the existing internetwork with the already-configured IPX network addresses. We did this initial configuration in Chapter 3.

<<<J122 – Figure 8-3 Current IPX Internetwork>>>

We added Austin in Chapter 7, but we have not configured IPX communication for it yet. The FortWorth Ethernet LAN has a NetWare file server attached. The internal IPX address of the server is AC101401.

The IPX routing table can be displayed by issuing the command show ipx route in user mode or privileged mode. Figure 8-4 shows the IPX routing table on Dallas.

    1. Dallas#show ipx route
    2. Codes: C - Connected primary network, c - Connected secondary network
    3. S - Static, F - Floating static, L - Local (internal), W - IPXWAN
    4. R - RIP, E - EIGRP, N - NLSP, X - External, A - Aggregate
    5. s - seconds, u - uses, U - Per-user static
    6. 4 Total IPX routes. Up to 1 parallel paths and 16 hops allowed.
    7. No default route known.
    8. C AC100A00 (NOVELL-ETHER), Et0
    9. C AC100B00 (HDLC), Se1
    10. R AC101400 [07/01] via AC100B00.0010.7b3a.d4af, 15s, Se1
    11. R AC101401 [07/01] via AC100B00.0010.7b3a.d4af, 16s, Se1
    12. Dallas#
    13. <<<Figure 8-4 Show IPX Route Output on Dallas>>>

      Just like the displays of all IOS routing tables, the IPX routing table display starts with a legend describing the letters that appear in the left column of each table entry. We see that there are four routes in the table (Line 7). Line 7 also reports that 1 parallel path is supported; this means that equal-cost route load sharing is effectively disabled. For the directly-connected networks (Lines 11 and 12), the table has the IPX network address and the IPX encapsulation. Ethernet0 is using NOVELL-ETHER encapsulation, the default. There are two RIP-learned routes (Lines 13 and 14). For each route, there is the IPX address of the next hop gateway to reach a network, the elapsed time since the route was updated, and the interface out which packets are to be routed to reach the network. The numbers in brackets are the two metrics used by RIP in determining the best path to the network. The first value is the number of ticks, and the second value is the number of hops.

      We will be using the show ipx route command a few more times in this chapter to check the effects of our configuration changes. Since there is a server on the FortWorth side of the internetwork, there should be something in the service tables of the routers. The show ipx servers command tells IOS to display the a router’s Novell service table. Figure 8-5 shows the output of the show ipx servers command on Dallas.

    14. Dallas#show ipx servers
    15. Codes: S - Static, P - Periodic, E - EIGRP, N - NLSP, H - Holddown, + = detail
    16. U - Per-user static
    17. 5 Total IPX Servers
    18. Table ordering is based on routing and server info
    19. Type Name Net Address Port Route Hops Itf
    20. P 4 FW_Server AC101401.0000.0000.0001:0451 7/01 2 Se1
    21. P 47 FW_Printer AC101401.0000.0000.0001:8060 7/01 2 Se1
    22. P 107 FW_Server AC101401.0000.0000.0001:8104 7/01 2 Se1
    23. P 26B FW_Server AC101401.0000.0000.0001:0005 7/01 2 Se1
    24. P 278 FW_Server AC101401.0000.0000.0001:4006 7/01 2 Se1
    25. Dallas#

<<<Figure 8-5 Show IPX Servers Output on Dallas>>>

Figure 8-5 shows that there are five services in Dallas’ service table (Line 4). The letter P in the left column of each of the five entries indicates that the entries were learned through a periodic SAP advertisement. The Type column contains the identification of the service being described by an entry. Service types are written in hex, and the ones shown here are described as follows:

The name assigned to each service is displayed in the Name column. The Net and Address columns combine to give the IPX address of the host that is providing the service. The Port column defines the upper layer socket number at which the service can be reached. The Route columns gives the metrics (ticks and hops) for reaching a service’s local network. The Hops columns shows the number of router hops away the service resides, and the Itf column shows which local interface used to reach a service.

    1. IPX Configuration

IOS does not route IPX traffic by default; therefore, we must first turn on IPX routing. We use the global configuration command ipx routing to do this. We then configure the assigned IPX network numbers on the interfaces that are to transmit and receive IPX packets. On LAN interfaces, we can set an IPX encapsulation if we do not want to use default encapsulation. The interface configuration command ipx network is used to configure the network number and, if applicable, the encapsulation for an interface. As soon as we enter a valid ipx network command on an interface, IPX RIP and SAP start processing on the interface.

<<<J123 – Figure 8-6 Internetwork Diagram Showing Austin IPX Network Addresses>>>

Figure 8-6 shows an updated internetwork diagram showing the network addresses to be used for Austin IPX connectivity. IPX is already enabled on Dallas and FortWorth so we will start our configuration example on Austin then move to the Dallas and FortWorth interfaces that are connected to Austin.

The commands for configuring IPX on Austin, based on Figure 8-6, are shown in Figure 8-7.

    1. Austin#configure terminal
    2. Enter configuration commands, one per line. End with CNTL/Z.
    3. Austin(config)#ipx routing
    4. Austin(config)#interface ethernet0
    5. Austin(config-if)#ipx network c0a80100 encapsulation sap
    6. Austin(config-if)#interface serial0
    7. Austin(config-if)#ipx network c0a80300
    8. Austin(config-if)#interface serial1
    9. Austin(config-if)#ipx network c0a80200
    10. Austin(config-if)#<Ctrl-Z>
    11. Austin#
    12. <<<Figure 8-7 IPX Configuration on Austin>>>

      The ipx routing command (Line 3) tells IOS to start the process that will be used to route IPX packets. To start IPX processing on an interface, we need to be in interface configuration mode. Starting with Ethernet0 (Line 4), we entered the ipx network command (Line 5) for assigned the IPX network number. According the Figure 8-6, the desired encapsulation on the Ethernet LAN is SAP (or Novell Ethernet_802.2). Since this is different from the default of NOVELL-ETHER, we added the keywords encapsulation sap to the command. Now IPX packets can be routed through Ethernet0; they will be transmitted with a SAP-encapsulated frame header, and they will be received and processed if a host on the Ethernet LAN transmitted them with a SAP-encapsulated frame header. The second interface on Austin is Serial0 (Line 6), and its IPX network address is assigned on Line 7. The third interface is Serial1 (Line 8), and its IPX network address is assigned on Line 9. The encapsulation for the serial interfaces is HDLC, the default.

      We still do not have IPX communication from Dallas and FortWorth to Austin. We need to enable IPX on the other routers’ serial interfaces that are connected to Austin. Figure 8-8 shows Dallas’ Serial0 IPX configuration, and Figure 8-9 shows FortWorth’s Serial1 IPX configuration.

    13. Dallas#configure terminal
    14. Enter configuration commands, one per line. End with CNTL/Z.
    15. Dallas(config)#interface serial0
    16. Dallas(config-if)#ipx network c0a80200
    17. Dallas(config-if)#<Ctrl-Z>
    18. Dallas#
    19. <<<Figure 8-8 IPX Configuration on Dallas Serial0>>>

    20. FortWorth#configure terminal
    21. Enter configuration commands, one per line. End with CNTL/Z.
    22. FortWorth(config)#interface serial1
    23. FortWorth(config-if)#ipx network c0a80300
    24. FortWorth(config-if)#<Ctrl-Z>
    25. FortWorth#
    26. <<<Figure 8-9 IPX Configuration on FortWorth Serial1>>>

      Now that all of our IPX network addresses have been assigned to the appropriate interfaces, let us take a look at one of the router’s IPX routing table. Figure 8-10 shows the IPX routing table on Dallas.

    27. Dallas#show ipx route
    28. [text omitted]
    29. 7 Total IPX routes. Up to 1 parallel paths and 16 hops allowed.
    30. No default route known.
    31. C AC100A00 (NOVELL-ETHER), Et0
    32. C AC100B00 (HDLC), Se1
    33. C C0A80200 (HDLC), Se0
    34. R AC101400 [07/01] via AC100B00.0010.7b3a.d4af, 27s, Se1
    35. R AC101401 [07/01] via AC100B00.0010.7b3a.d4af, 27s, Se1
    36. R C0A80100 [07/01] via C0A80200.0010.7b3a.d204, 52s, Se0
    37. R C0A80300 [07/01] via C0A80200.0010.7b3a.d204, 52s, Se0
    38. Dallas#
    39. <<<Figure 8-10 IPX Routing Table on Dallas After IPX Configuration>>>

      Dallas now has three directly-connected IPX networks (Lines 7, 8 and 9) and four RIP-learned IPX routes (Lines 10 through 13). Notice that the number of ticks for the routes is the same for each of the serial links regardless of their bandwidth. Figure 8-6 shows seven IPX networks so this must be all of them.

      Now we want to examine Dallas’ path to the serial link between FortWorth and Austin, C0A80300 (Line 13). The preferred path goes through Austin, but from looking at our diagram, we can see that there are actually two equal-cost paths (as far as IPX RIP is concerned) from Dallas to the network. We can configure IPX load sharing with the global configuration command ipx maximum-paths. Figure 8-11 shows the configuration of load sharing for IPX on Dallas.

    40. Dallas#configure terminal
    41. Enter configuration commands, one per line. End with CNTL/Z.
    42. Dallas(config)#ipx maximum-paths 2
    43. Dallas(config)#<Ctrl-Z>
    44. Dallas#
    45. <<<Figure 8-11 IPX Load Sharing Configuration>>>

    46. Dallas#show ipx route
    47. [text omitted]
    48. 7 Total IPX routes. Up to 2 parallel paths and 16 hops allowed.
    49. No default route known.
    50. C AC100A00 (NOVELL-ETHER), Et0
    51. C AC100B00 (HDLC), Se1
    52. C C0A80200 (HDLC), Se0
    53. R AC101400 [07/01] via AC100B00.0010.7b3a.d4af, 12s, Se1
    54. R AC101401 [07/01] via AC100B00.0010.7b3a.d4af, 12s, Se1
    55. R C0A80100 [07/01] via C0A80200.0010.7b3a.d204, 37s, Se0
    56. R C0A80300 [07/01] via C0A80200.0010.7b3a.d204, 37s, Se0
    57. via AC100B00.0010.7b3a.d4af, 12s, Se1
    58. Dallas#

<<<Figure 8-12 IPX Routing Table After Load Sharing Configuration>>>

Two parallel (equal-cost) paths to a destination are now allowed in the routing table (Line 3). The new routing table shows the two equal-cost paths (Lines 12 and 13). As far as IPX RIP knows, the two serial links have the same metric even though we know from our original implementation that one is a T1 and one is a 256 kbps line. Turning on load sharing in this case may not be such a good idea, because it increases the likelihood of IPX packets arriving at a host out of order.

    1. IPX Verification

We have already used the show ipx route command to view one of the IPX routing tables. Other commands that we can use for IPX configuration verification are as follows:

The show protocols command shows us the protocols that IOS is configured to route, the status of each interface, and the primary address of each protocol on each interface. Figure 8-13 shows the output of the show protocols command on Austin.

    1. Austin#show protocols
    2. Global values:
    3. Internet Protocol routing is enabled
    4. IPX routing is enabled
    5. BRI0 is administratively down, line protocol is down
    6. BRI0:1 is administratively down, line protocol is down
    7. BRI0:2 is administratively down, line protocol is down
    8. Ethernet0 is up, line protocol is up
    9. Internet address is 192.168.1.1/24
    10. IPX address is C0A80100.0010.7b3a.d204
    11. Serial0 is up, line protocol is up
    12. Internet address is 192.168.3.2/24
    13. IPX address is C0A80300.0010.7b3a.d204
    14. Serial1 is up, line protocol is up
    15. Internet address is 192.168.2.2/24
    16. IPX address is C0A80200.0010.7b3a.d204
    17. Serial2 is administratively down, line protocol is down
    18. Serial3 is administratively down, line protocol is down
    19. Austin#
    20. <<<Figure 8-13 Show Protocols Output on Austin>>>

      We see that Austin is routing IP packets (Line 3) and IPX packets (Line 4). The IPX addresses of the configured interfaces are given on Lines 10, 13, and 16. The node part of all of the IPX addresses is the same. Serial0 and Serial1 have no MAC addresses that IOS can use in the IPX address completion; therefore, IOS uses the MAC address of the first Ethernet interface, Ethernet0, in the IPX addresses of both the serial interfaces. The addition of the assigned network address to the node part makes each of the IPX addresses unique. The Ethernet0 IPX address (Line 10) contains the MAC address of the Ethernet0 interface.

      The IPX address of an interface can also be obtained from the output of the show ipx interface command. Issuing this command without any arguments will display information for all of the interfaces that have been assigned an IPX network address. Figure 8-14 shows the output on Austin when information for a single interface is requested.

    21. Austin#show ipx interface ethernet0
    22. Ethernet0 is up, line protocol is up
    23. IPX address is C0A80100.0010.7b3a.d204, SAP [up]
    24. Delay of this IPX network, in ticks is 1 throughput 0 link delay 0
    25. IPXWAN processing not enabled on this interface.
    26. IPX SAP update interval is 60 seconds
    27. IPX type 20 propagation packet forwarding is disabled
    28. Incoming access list is not set
    29. Outgoing access list is not set
    30. IPX helper access list is not set
    31. SAP GNS processing enabled, delay 0 ms, output filter list is not set
    32. SAP Input filter list is not set
    33. SAP Output filter list is not set
    34. SAP Router filter list is not set
    35. Input filter list is not set
    36. Output filter list is not set
    37. Router filter list is not set
    38. Netbios Input host access list is not set
    39. Netbios Input bytes access list is not set
    40. Netbios Output host access list is not set
    41. Netbios Output bytes access list is not set
    42. Updates each 60 seconds aging multiples RIP: 3 SAP: 3
    43. SAP interpacket delay is 55 ms, maximum size is 480 bytes
    44. RIP interpacket delay is 55 ms, maximum size is 432 bytes
    45. RIP response delay is not set
    46. IPX accounting is disabled
    47. IPX fast switching is configured (enabled)
    48. RIP packets received 0, RIP packets sent 7
    49. SAP packets received 0, SAP packets sent 6
    50. Austin#
    51. <<<Figure 8-14 Show IPX Interface Output>>>

      The output includes both the IPX address and the encapsulation for the interface (Line 3). The delay, in ticks, for Ethernet0 is 1 (Line 4). By default, IOS assigns one tick to LAN interfaces and six ticks to WAN interfaces. The SAP update interval on Ethernet0 is set to its default of 60 seconds (Line 6). This is shown because it can be changed on a per-interface basis. Ethernet0 is not currently propagating type-20 IPX packets. Type-20 packets are transmitted by applications that use Novell’s NetBIOS over IPX. RIP updates are being sent every 60 seconds (Line 22), and routes and services learned via RIP/SAP are marked as down if they are not updated within 180 seconds. Ethernet0 has received no RIP updates (Line 28), but has transmitted 7. Since there are not other IPX routers on Austin’s Ethernet LAN, we expect that Ethernet0 will never receive any updates.

      For a quick summary of IPX interface information, we can add the brief keyword to the end of the show ipx interface command. Figure 8-15 shows the output of the show ipx interface brief command on Austin. For each interface, IOS displays the IPX network number, the encapsulation, and the status. We do not get the full IPX addresses.

    52. Austin#show ipx interface brief
    53. Interface IPX Network Encapsulation Status IPX State
    54. BRI0 unassigned not config'd administratively down n/a
    55. BRI0:1 unassigned not config'd administratively down n/a
    56. BRI0:2 unassigned not config'd administratively down n/a
    57. Ethernet0 C0A80100 SAP up [up]
    58. Serial0 C0A80300 HDLC up [up]
    59. Serial1 C0A80200 HDLC up [up]
    60. Serial2 unassigned not config'd administratively down n/a
    61. Serial3 unassigned not config'd administratively down n/a
    62. Austin#
    63. <<<Figure 8-15 Show IPX Interface Brief Output>>>

      Statistics for IPX packets can be viewed by using the show ipx traffic command. We issued the command on Austin; Figure 8-16 shows the output.

    64. Austin#show ipx traffic
    65. System Traffic for 0.0000.0000.0001 System-Name: Austin
    66. Rcvd: 89 total, 0 format errors, 0 checksum errors, 0 bad hop count,
    67. 0 packets pitched, 79 local destination, 0 multicast
    68. Bcast: 54 received, 87 sent
    69. Sent: 116 generated, 10 forwarded
    70. 0 encapsulation failed, 0 no route
    71. SAP: 2 SAP requests, 1 SAP replies, 5 servers
    72. 0 SAP Nearest Name requests, 0 replies
    73. 0 SAP General Name requests, 0 replies
    74. 25 SAP advertisements received, 25 sent
    75. 4 SAP flash updates sent, 0 SAP format errors
    76. RIP: 2 RIP requests, 2 RIP replies, 7 routes
    77. 25 RIP advertisements received, 45 sent
    78. 7 RIP flash updates sent, 0 RIP format errors
    79. Echo: Rcvd 25 requests, 0 replies
    80. Sent 0 requests, 25 replies
    81. 0 unknown: 0 no socket, 0 filtered, 0 no helper
    82. 0 SAPs throttled, freed NDB len 0
    83. Watchdog:
    84. 0 packets received, 0 replies spoofed
    85. Queue lengths:
    86. IPX input: 0, SAP 0, RIP 0, GNS 0
    87. SAP throttling length: 0/(no limit), 0 nets pending lost route reply
    88. Delayed process creation: 0
    89. EIGRP: Total received 0, sent 0
    90. Updates received 0, sent 0
    91. Queries received 0, sent 0
    92. Replies received 0, sent 0
    93. SAPs received 0, sent 0
    94. Austin#

<<<Figure 8-16 Show IPX Traffic Output>>>

The output of show ipx traffic divided into sections. Each section has statistics for a particular type of IPX traffic. The Rcvd section shows the number of IPX packets that have been received by IOS (Lines 3 and 4), and the Sent section shows the number of IPX packets transmitted (Lines 6 and 7). The number of IPX broadcast packets received and transmitted is given in the Bcast section (Line 5). SAP statistics are shown in the SAP section, and the number of entries in the service table is also given. There are five entries in Austin’s IPX service table (Line 8). Line 13 of the RIP section shows that there are seven entries in Austin’s IPX routing table. Austin is not yet running EIGRP; therefore, the counters in the EIGRP section (Lines 26 through 30) are all still zero.

The show commands described above are good ways of verifying the configuration of IPX; however, they do not do much for making sure that IPX connectivity has been established. For that we need to use the IPX ping application. The IPX ping application transmits IPX echo request packets to an IPX destination address and expects to receive IPX echo replies. Three ways of doing an IPX ping are as follows:

The normal ping and the ping ipx commands can be used to check connectivity to Cisco routers. Cisco uses its own proprietary IPX ping mechanism by default, and NetWare servers will not respond to it. If you want to ping a NetWare server, use the extended ping, and select the Novell echo option. Figure 8-17 shows examples of all three options. The IPX pings are being done from Dallas, and the destination address is that of Austin’s Ethernet0 interface as obtained with the show ipx interface in Figure 8-14.

    1. Dallas#ping C0A80100.0010.7b3a.d204
    2. Translating "C0A80100.0010.7b3a.d204"...domain server (255.255.255.255)
    3. Type escape sequence to abort.
    4. Sending 5, 100-byte IPX cisco Echoes to C0A80100.0010.7b3a.d204, timeout is 2 se
    5. conds:
    6. !!!!!
    7. Success rate is 100 percent (5/5), round-trip min/avg/max = 12/13/20 ms
    8. ----------
    9. Dallas#ping ipx C0A80100.0010.7b3a.d204
    10. Type escape sequence to abort.
    11. Sending 5, 100-byte IPX cisco Echoes to C0A80100.0010.7b3a.d204, timeout is 2 se
    12. conds:
    13. !!!!!
    14. Success rate is 100 percent (5/5), round-trip min/avg/max = 8/11/12 ms
    15. ----------
    16. Dallas#ping
    17. Protocol [ip]: ipx
    18. Target IPX address: C0A80100.0010.7b3a.d204
    19. Repeat count [5]: <Enter>
    20. Datagram size [100]: <Enter>
    21. Timeout in seconds [2]: <Enter>
    22. Verbose [n]: <Enter>
    23. Novell Standard Echo [n]: <Enter>
    24. Type escape sequence to abort.
    25. Sending 5, 100-byte IPX cisco Echoes to C0A80100.0010.7b3a.d204, timeout is 2 se
    26. conds:
    27. !!!!!
    28. Success rate is 100 percent (5/5), round-trip min/avg/max = 8/11/12 ms
    29. Dallas#

<<<Figure 8-17 IPX Ping Examples>>>

When the normal ping is used to performing the IPX ping (Line 1), we are counting on IOS recognizing that the address we have typed is an IPX address. IOS first thinks that the address is an IP host name and attempts to perform address resolution. When that fails, IOS correctly does the IPX ping by sending five IPX echoes to Austin’s Ethernet0 interface and receiving five replies. The success rate and response time information is given on the last line (Line 8).

Using the ping ipx command (Line 10) tells IOS that the address in the command is an IPX address so that IOS does not have to guess. The result is the same as that of the normal ping.

We invoke an extended ping by typing the ping command without an address (Line 18), and then IOS prompts us for the protocol (Line 19). Entering ipx at the protocol prompt will cause IOS to ask for an IPX destination address (Line 20). The extended ping gives us the opportunity to change the number of echoes sent, the size of the echoes, and the reply timeout. Since we are pinging another Cisco router, we answered with no (the default) at the Novell Standard Echo prompt (Line 25). If we were sending the echoes to a NetWare server, we would answer with yes. Cisco routers will respond to both types of echoes.

    1. IPX EIGRP Configuration

IPX EIGRP has the same basic operation as IP EIGRP, which we described in Section 7.7.3.2. IPX EIGRP is Cisco-proprietary. It is supported only on Cisco routers for the sharing of IPX routes and services. IPX EIGRP can replace IPX RIP and SAP on networks that have only Cisco IPX routers and no local Novell services; these networks are usually WAN’s.

The implementation of IPX EIGRP can save WAN bandwidth since EIGRP performs incremental updates for routes and services. This means that updates are transmitted only when a change occurs, not at the usual 60-second interval.

We will configure IPX EIGRP on the WAN’s of our internetwork and leave IPX RIP and SAP on the LAN’s. The configuration of IPX EIGRP is similar to the configuration of an IP routing protocol. We use the ipx router eigrp command along with an Autonomous System Number (ASN). We then enable IPX EIGRP on interfaces by using network commands, with the IPX network numbers of the interfaces that are to have IPX EIGRP enabled. We need at least one network command for each interface. Turning on IPX EIGRP on an interface does not automatically turn off IPX RIP on the interface; therefore, we should disable IPX RIP on the interface to avoid running two IPX routing protocols and using network bandwidth needlessly. IPX RIP is disabled on an interface with the ipx router rip command along a no network command for each interface.

Figure 8-18 shows the configuration of IPX EIGRP on Dallas. Figure 8-19 shows the configuration of IPX EIGRP on FortWorth, and Figure 8-20 shows the configuration on Austin.

    1. Dallas#configure terminal
    2. Enter configuration commands, one per line. End with CNTL/Z.
    3. Dallas(config)#ipx router eigrp 500
    4. Dallas(config-ipx-router)#network ac100b00
    5. Dallas(config-ipx-router)#network c0a80200
    6. Dallas(config-ipx-router)#ipx router rip
    7. Dallas(config-ipx-router)#no network ac100b00
    8. Dallas(config-ipx-router)#no network c0a80200
    9. Dallas(config-ipx-router)#<Ctrl-Z>
    10. Dallas#
    11. <<<Figure 8-18 IPX EIGRP Configuration on Dallas>>>

    12. FortWorth#configure terminal
    13. Enter configuration commands, one per line. End with CNTL/Z.
    14. FortWorth(config)#ipx router eigrp 500
    15. FortWorth(config-ipx-router)#network ac100b00
    16. FortWorth(config-ipx-router)#network c0a80300
    17. FortWorth(config-ipx-router)#ipx router rip
    18. FortWorth(config-ipx-router)#no network ac100b00
    19. FortWorth(config-ipx-router)#no network c0a80300
    20. FortWorth(config-ipx-router)#<Ctrl-Z>
    21. FortWorth#
    22. <<<Figure 8-19 IPX EIGRP Configuration on Dallas>>>

    23. Austin#configure terminal
    24. Enter configuration commands, one per line. End with CNTL/Z.
    25. Austin(config)#ipx router eigrp 500
    26. Austin(config-ipx-router)#network c0a80300
    27. Austin(config-ipx-router)#network c0a80200
    28. Austin(config-ipx-router)#ipx router rip
    29. Austin(config-ipx-router)#no network c0a80300
    30. Austin(config-ipx-router)#no network c0a80200
    31. Austin(config-ipx-router)#<Ctrl-Z>
    32. Austin#
    33. <<<Figure 8-20 IPX EIGRP Configuration on Dallas>>>

      The ASN for IPX EIGRP must the same on all of the router sharing information; we chose to use ASN 500 here. When both IPX EIGRP and IPX RIP are running on the same router, IOS automatically redistributes routes between them. Routes learned from RIP are included in EIGRP updates, and routes learned from EIGRP are included in RIP updates. The same redistribution also performed for services. Figure 8-21 shows the IPX routing table on Dallas after the configuration on all three routers.

    34. Dallas#show ipx route
    35. [text omitted]
    36. 7 Total IPX routes. Up to 2 parallel paths and 16 hops allowed.
    37. No default route known.
    38. C AC100A00 (NOVELL-ETHER), Et0
    39. C AC100B00 (HDLC), Se1
    40. C C0A80200 (HDLC), Se0
    41. E AC101400 [2195456/1] via AC100B00.0010.7b3a.d4af, age 00:02:05,
    42. 1u, Se1
    43. E AC101401 [2297856/1] via AC100B00.0010.7b3a.d4af, age 00:02:05,
    44. 26u, Se1
    45. E C0A80100 [10537472/1] via C0A80200.0010.7b3a.d204, age 00:00:30,
    46. 1u, Se0
    47. E C0A80300 [46738176/0] via AC100B00.0010.7b3a.d4af, age 00:00:41,
    48. 1u, Se1
    49. via C0A80200.0010.7b3a.d204, age 00:00:41,
    50. 0u, Se0
    51. Dallas

<<<Figure 8-21 IPX Routing Table After IPX EIGRP Configuration>>>

The routing table on Dallas still shows seven routes (Line 3), but the routes that are learned from across the WAN’s have the letter E in the left column of the displayed entry.

IOS maintains a neighbor table and a topology table for IPX EIGRP. These can be displayed with the show ipx eigrp neighbors and show ipx eigrp topology commands, respectively. The structure of the IPX versions of the tables is similar to that of the IP versions we described in Section 7.7.3.4.

    1. Multiple IPX Encapsulation Configuration

A LAN interface can support multiple IPX encapsulations. When an interface needs multiple encapsulations, we must assign a unique IPX network number for each one; this effectively creates a logical IPX network for each encapsulation type. There are two ways of configuring multiple encapsulations on a LAN interface: secondary addresses and subinterfaces. We are going to use both methods in configuring multiple encapsulation types on Austin’s Ethernet0 interface. Austin’s Ethernet0 interface currently is using SAP encapsulation. We will pretend that some hosts just got installed on the Ethernet. These hosts were pre-configured with Novell Ethernet_802.3 encapsulation, and the administrator did not want to change them. Therefore, we must compensate the adding the second encapsulation to the router. The new internetwork diagram showing the additional encapsulation and network number for Austin is shown in Figure 8-22.

<<<J124 - Figure 8-22 Internetwork Diagram Showing Multiple Encapsulations on Austin Ethernet>>>

Implementing a secondary IPX address on an interface requires the addition of the keyword secondary to the end of another ipx network command in interface configuration mode. Figure 8-23 shows the configuration of a secondary IPX address on Austin’s Ethernet0 interface.

    1. Austin#configure terminal
    2. Enter configuration commands, one per line. End with CNTL/Z.
    3. Austin(config)#interface ethernet0
    4. Austin(config-if)#ipx network c0a801ff encapsulation novell-ether secondary
    5. Austin(config-if)#<Ctrl-Z>
    6. Austin#
    7. <<<Figure 8-23 Secondary IPX Address Configuration on Austin>>>

      The ipx network command (Line 4) does not affect the existing IPX network number (entered in Figure 8-7, Line 5); however, if we had typed this command without the secondary keyword, the original network number and encapsulation would have been replaced with the newly specified values. The hosts that were added to Austin’s Ethernet LAN were configured to use Novell’s Ethernet_802.3 encapsulation. The IOS keyword for that encapsulation type is novell-ether (see Figure 8-2).

      The second way of doing multiple encapsulations uses subinterfaces. A subinterface is a logical interface that is coupled with a physical interface. IOS treats a subinterface just as it does a physical interface as far as routing packets is concerned. We are going to create two subinterfaces on Austin’s Ethernet0 and give each its own IPX network number and encapsulation.

      The subinterface method will be used instead of the secondary address method in our internetwork. Figure 8-24 shows the configuration of subinterfaces on Austin to provide multiple encapsulations on its Ethernet0 interface.

    8. Austin#configure terminal
    9. Enter configuration commands, one per line. End with CNTL/Z.
    10. Austin(config)#interface ethernet0
    11. Austin(config-if)#no ipx network c0a80100
    12. Austin(config-if)#interface ethernet0.1
    13. Austin(config-subif)#ipx network c0a80100
    14. Austin(config-subif)#ipx encapsulation sap
    15. Austin(config-subif)#interface ethernet0.2
    16. Austin(config-subif)#ipx network c0a801ff
    17. Austin(config-subif)#ipx encapsulation novell-ether
    18. Austin(config-subif)#<Ctrl-Z>
    19. Austin#
    20. <<<Figure 8-24 Configuration of Subinterfaces for Multiple Encapsulation Types on Austin>>>

      Each of our subinterfaces is to have its own IPX network number; therefore, the physical interface, Ethernet0, no longer needs its network number. The no ipx network command removes the IPX network number from an interface (Line 4). To create a subinterface, we just have to reference the subinterface’s name with the global configuration command interface. Subinterface names always begin with name of their associated physical interface and end with a period and a decimal number, which is the subinterface number. Subinterface numbers do not have to start with zero, and they do not have to be sequential. Our first subinterface is Ethernet0.1 (Line 5). The Ethernet0.1 subinterface is assigned the Ethernet0’s original IPX network number (Line 6) and IPX encapsulation (Line 7). The second subinterface is Ethernet0.2 (Line 8). The second IPX network number for the Ethernet LAN is assigned to subinterface Ethernet0.2 (Line 9). Ethernet0.2 is using NOVELL-ETHER encapsulation (Line 10). Since NOVELL-ETHER is the default encapsulation for an Ethernet interface, we do not really have to type this command. It is shown here just for consistency.

    21. Austin#show ipx interface brief
    22. Interface IPX Network Encapsulation Status IPX State
    23. BRI0 unassigned not config'd administratively down n/a
    24. BRI0:1 unassigned not config'd administratively down n/a
    25. BRI0:2 unassigned not config'd administratively down n/a
    26. Ethernet0 unassigned not config'd up n/a
    27. Ethernet0.1 C0A80100 SAP up [up]
    28. Ethernet0.2 C0A801FF NOVELL-ETHER up [up]
    29. Serial0 C0A80300 HDLC up [up]
    30. Serial1 C0A80200 HDLC up [up]
    31. Serial2 unassigned not config'd administratively down n/a
    32. Serial3 unassigned not config'd administratively down n/a
    33. Austin#

<<<Figure 8-25 Show IPX Interface Brief Output After Subinterface Configuration>>>

Figure 8-25 shows the output of the show ipx interface brief command on Austin after the subinterface configuration. The two subinterfaces with their addresses and encapsulations are displayed (Lines 7 and 8).

Subinterfaces can be deleted from the running configuration with the global configuration command no interface; however, IOS will not remove a deleted subinterface’s Interface Descriptor Block (IDB) from RAM until the router is rebooted.

    1. IPX Configuration Summary

IPX configuration requires that the IOS IPX routing process be started with the ipx routing command. Then we must go to each interface that is to be involved in routing IPX packets and assign it an IPX network number and, possibly, an IPX encapsulation. The network numbers and encapsulations are assigned with the ipx network command in interface configuration mode.

The internetwork that we now have for IPX connectivity is shown in Figure 8-26. All of the IPX network numbers and encapsulations are shown. The boundary of the IPX EIGRP autonomous system is also displayed.

<<<J125 - Figure 8-26 Final IPX Internetwork Diagram>>>

Figure 8-27 shows the IPX-specific commands from Dallas’ running configuration. Figure 8-28 shows FortWorth’s IPX-specific commands taken from the running configuration. Figure 8-29 shows the IPX-specific commands from Austin.

    1. Dallas#show running-config [Some text has been omitted.]
    2. !
    3. ipx routing 0010.7b3a.d4bf
    4. ipx maximum-paths 2
    5. !
    6. interface Ethernet0
    7. ipx network AC100A00
    8. !
    9. interface Serial0
    10. ipx network C0A80200
    11. !
    12. interface Serial1
    13. ipx network AC100B00
    14. !
    15. ipx router eigrp 500
    16. network AC100B00
    17. network C0A80200
    18. !
    19. ipx router rip
    20. no network AC100B00
    21. no network C0A80200
    22. !
    23. Dallas#
    24. <<<Figure 8-27 Dallas IPX Configuration Commands>>>

    25. FortWorth#show running-config [Some text has been omitted.]
    26. !
    27. ipx routing 0010.7b3a.d4af
    28. !
    29. interface Ethernet0
    30. ipx network AC101400
    31. !
    32. interface Serial0
    33. ipx network AC100B00
    34. !
    35. interface Serial1
    36. ipx network C0A80300
    37. !
    38. ipx router eigrp 500
    39. network AC100B00
    40. network C0A80300
    41. !
    42. ipx router rip
    43. no network AC100B00
    44. no network C0A80300
    45. !
    46. FortWorth#
    47. <<<Figure 8-28 FortWorth IPX Configuration Commands>>>

    48. Austin#show running-config [Some text has been omitted.]
    49. !
    50. ipx routing 0010.7b3a.d204
    51. !
    52. interface Ethernet0.1
    53. ipx encapsulation SAP
    54. ipx network C0A80100
    55. !
    56. interface Ethernet0.2
    57. ipx network C0A801FF
    58. !
    59. interface Serial0
    60. ipx network C0A80300
    61. !
    62. interface Serial1
    63. ipx network C0A80200
    64. !
    65. ipx router eigrp 500
    66. network C0A80300
    67. network C0A80200
    68. !
    69. ipx router rip
    70. no network C0A80300
    71. no network C0A80200
    72. !
    73. Austin#

<<<Figure 8-29 Austin IPX Configuration Commands>>>

The address shown at the end of the ipx routing command (Line 3, Figures 8-27, 8-28, and 8-29) is the address that IOS uses as the node part of IPX addresses of WAN interfaces. IOS chooses this address itself. On each of our routers, this is the MAC address of a router’s Ethernet0 interface. We can change this address to something more easily remembered by including a static address on the ipx routing command when we enter it.

    1. IPX Removal

We are going to leave IPX running on our test internetwork; however if we wanted to stop the IPX routing process on a router, we can enter the following global configuration command.

no ipx routing

The no ipx routing command will remove, from the running configuration, the commands dealing with IPX routing. These commands include those that define IPX network numbers, encapsulations, and routing protocols.

If we were to type this command on our test router, Austin, the Ethernet subinterfaces would remain, but they would have no addresses.

Backward Forward
Chapter: | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9


Reserve your copy at a
Bet@ Bookstore near you!
Contact Bet@ Books
© 1999 The McGraw-Hill Companies, Inc. All rights reserved.
Any use of this Bet@ Book(TM) is subject to the rules stated in the Terms of Use.

Bet@ Books | Bet@ Bookstores | Computing McGraw-Hill

Professional Publishing Home | Contact Us | Customer Service | For Authors | International Offices | New Book Alert | Search Catalog/Order | Site Map | What's New


A Division of the McGraw-Hill Companies
Copyright © 1999 The McGraw-Hill Companies, Inc. All rights reserved. Any use is subject to the Terms of Use the corporation also has a comprehensive Privacy Policy governing information we may collect from our customers. Bet@ Books (TM) is a registered trademark of The McGraw-Hill Companies, Inc.