How to Remove the Routing Tables in a Device or PC

Issue

  • Remove the Routing tables from I/NET and Xenta 527 devices
  • Host conflict or station conflict error messages displayed at the I/NET Host.
  • Incorrect Links, Hosts and IP addresses that do not exist in your Network are shown when penetrating Network Configuration.

Product Line

TAC I/NET, TAC Vista, Other

Environment

  • I/NET IP Routers
  • Xenta 527

Cause

Host or station conflict errors can be caused by old information stored in a routing table. From time to time, it may be necessary to purge that information and allow the tables to be rebuilt automatically.

The only way that routing tables can become corrupted is if a laptop was used to connect to the system from a different Network or from the Outside. Once connected, its IP table is broadcasted to the other devices like PCs and NPRs, thus populating the table with entries that does not belong or is non-existent for this location or system. 

Resolution

Managing I/NET Routing Tables

 

I/NET Host Workstation

View the I/NET Routing Table

Delete a Single entry in the I/NET Routing Table

  1. Go to Start > Run
  2. Type Telnet and hit Enter
  3. Type open, hit the space bar, then enter the IP address of the PC
  4. Press Enter
  5. When the login comes up, type csi, hit enter
  6. Type LA  and hit enter to list all routing table entries
  7. Type ipdel xxx.xxx.xxx.xxx with xxx.xxx.xxx.xxx being the IP address of the device you wish to delete
  8. Press enter

Clearing the I/NET Routing Table

  1. Shutdown the I/O Server
  2. Open Windows Explorer
  3. Browse to C:\INET Seven Data (or C:\Program Files\INET Seven)
  4. Delete the .dat files (you may want to save a backup to another location)
  5. Delete the routing table from any device listed as a Reference Host or the table will repopulate
  6. Start I/NET

Other Method:

See Lessons Learned Article #2168 for instructions on using the delall command in Telnet

 

 Xenta 527-NPR; Xenta 913; Xenta 527 Web Server LL#2995

 Viewing the I/NET Routing Table

  1. View LL#1502 to configure HyperTerminal to communicate to the Xenta Device
  2. Log into the Xenta Device as the root user
  3. At the dsh/> type “inet ip”
  4. Press enter

Deleting a Single entry in the I/NET Routing Table

  1. View LL#1502 to configure HyperTerminal to communicate to the Xenta Device
  2. Log into the Xenta Device as the root user
  3. At the dsh/> type “inet ipdel” then the IP address of the device you wish to delete
  4. Press enter

Clearing the I/NET Routing Table

  1. View LL#1502 to configure HyperTerminal to communicate to the Xenta Device
  2. Log into the Xenta Device as the root user
  3. At the dsh/> type “inet delall”
  4. Press enter
  5. Type “inethost” and press enter
  6. Verify or set the Reference Hosts
  7. Clear the routing table from any referenced device to ensure old data is not repopulated
  8. Restart the Controller to re-populate the routing table

 

You can also realize this through the web page of Xenta device. Open the web page of Xenta controller, browse to Utilities-I/NET-I/NET Command Line, and type the command below or above. The result is the same as using HyperTerminal, which is also an easier way.

Typing “inet help” or “inet” gives every I/NET option within the controller

  • inet - I/NET Help
  • ip - Display IP table list
  • ls - Display Link/Station table list
  • cp - Display Compressed table list
  • gp - Display Global Point table list
  • mm - Message masking
  • all - Display all lists
  • ipadd - Add an IP address to the tables
  • ipdel - Delete a single ip record
  • delall - Delete all ip records

 

NPR-2000

Viewing the I/NET Routing Table

  1. Go to Start>Run then type “Telnet” and hit Enter
  2. Type open hit the space bar then enter the IP address of the NPR
  3. Press Enter
  4. When the login comes up, type csi
  5. hit enter
  6. Type “LA”  and hit enter to list all routing table entries

Deleting a Single entry in the I/NET Routing Table

  1. Go to Start>Run then type “Telnet” and hit Enter
  2. Type open hit the space bar then enter the IP address of the NPR
  3. Press Enter
  4. When the login comes up, type csi
  5. hit enter
  6. Type “LA”  and hit enter to list all routing table entries
  7. Type “ipdel xxx.xxx.xxx.xxx” with xxx.xxx.xxx.xxx being the IP address of the device you wish to delete
  8. Press enter

Clearing the I/NET Routing Table LL#2168

 Go to Start>Run then type “Telnet” and hit Enter

  1. Type open hit the space bar then enter the IP address of the PC
  2. Press Enter
  3. When the login comes up, type csi
  4. hit enter
  5. Type “LA”  and hit enter to list all routing table entries
  6. Type “delall” and hit enter to clear the table

 

Appendix A: I/NET Telnet Commands Glossary:

  • Help – Displays all available commands in the NPR or I/O Server.  Note there are some differences between the NPR and I/O Server.
  • ipadd a.b.c.d – Adds the IP to the routing tables.
  • ipdel a.b.c.d – Deletes the IP from the routing tables.
  • gpadd LLSSPPBBTT XX | a.b.c.d – Adds a global point link or global point IP to the routing tables.
  • delall – Deletes “all” local routing table entries.
  • setpass password – Change the telnet login password (6 characters max).
  • +cpdel LLLL SS – Deletes the specified link/site address from the CP table.
  • +debug gp on|off – Turns global point debugging on or off.
  • +reboot – Reboots the NPR.
  • +wdog – Reports watchdog errors.
  • +wdogrst – Clears the watchdog errors.
  • +Dx – Toggle debug output to COM3.  x=0/1; 0 = off, 1=on.
  •  

List Commands:

  • +LR – IP Stack routing table.
  • LI – IP routing table.
  • LM – IP routing masks.
  • LL – Link/Station routing table.
  • LG – Global point routing table.
  • +LC – Compressed routing table.
  • +LS # - Compressed routing table: station to site maps for the specified link #.
  • LA – All routing tables.
  • LU – System metrics.
  • *LD – Dial maps.
  •  + = NPR only
  • * = Host PC only

 

Appendix B: Method for Clearing Routing Tables at a Large Site

See Lessons Learned Article #4522.

 

Appendix C: Suggested Reference Host Settings

TCON 298

A Reference Host is any TAC I/NET workstation, NPR, or Xenta 527/527-NPR that will serve as a source of IP addresses. Any of these devices attached to an Ethernet LAN can be used as a Reference Host.

Each time I/O Server is started on a workstation, it provides the workstation’s IP address to each remote host designated as a Reference Host. I/O Server also requests and receives a list of all host IP addresses that are known to the remote host at that time. I/O Server must be running on the remote host for this address exchange to occur. I/O Server compiles and maintains a list of all the remote hosts that it learns about. Ultimately, all hosts in the network will know the IP addresses of all the other hosts.

Ideally, you should determine 1or at most 2 devices to serve as your Reference Host.  This device would ideally be a Xenta Server or an NPR, but a Host workstation that has I/O Server running 100% of the time will work as well. 

All devices on the system will use this as a single Reference Host. No others are needed.  When the device comes online it will contact the Reference Host and get the site’s Routing Table.  The Reference Host can have an empty routing table. 

Once the Routing Table is shared, Reference Hosts are no longer needed.  You can leave the single entry in place. This will allow a quick recover, in the event of a critical system failure.

Here are a few reasons for using multiple Reference Hosts:

  • Temporarily add a new device as a Reference Host on the Sites Reference Host or a workstation to aid in bringing it online
  • A large site may desire to have 2 Reference Hosts in case one is offline when a device comes online.
  • An I/NET site that spans multiple locations may wish to declare a local Reference Host for each building and a network Reference Host