Adding an IP Route

This procedure is used to add an IP route to the database using the ent-ip-rte command.

The ent-ip-rte command uses these parameters.

:loc – The location of the IP card that the IP route will be assigned to.

:dest – The IP address of the remote host or network.

:submask – The subnet mask of the destination IP address.

:gtwy – The IP address of the gateway or router that will send the IP data to its final destination.

There can be a maximum of 64 IP routes assigned to an IP card.

The EAGLE can contain a maximum of 2048 IP routes.

Ethernet Interfaces A and B on the IP card specified by the loc parameter can be used.

The network portion of the IP address value of the gtwy parameter must be the same as the network portion of the IP addresses shown for either the A or B interfaces in the rtrv-ip-card output.

The value of the dest and gtwy parameters cannot be 127.x.x.x (the loopback address), 0.0.0.0, or the IP addresses of the A or B interfaces on the IP card, and cannot be assigned to another IP card.

If the dest parameter value represents a host IP address, the value for the submask parameter must be 255.255.255.255. Otherwise, the submask parameter value is identifies the network/host ID portions that must be entered when the dest parameter value represents a network address.

The submask is applied to the IP address which is being routed to see if it yields a route match. For example, if IP address 192.1.1.2 is being routed and the IP routing table contains these entries.

Table 4-5 Sample IP Routing Table

IP address Submask Gateway

191.1.0.0

255.255.0.0

192.168.110.250

192.0.0.0

255.0.0.0

192.168.110.251

IP routing occurs as follows:

  1. The subnet mask of route 1 (255.255.0.0) is applied to the IP address being routed (192.1.1.2) with the resulting IP address of 192.1.0.0. IP address 192.1.0.0 does not match IP address 191.1.0.0 in the IP routing table, so the next route is chosen.

  2. The subnet mask of route 2 (255.0.0.0) is applied to the IP address being routed (192.1.1.2) with the resulting IP address of 192.0.0.0 which matches the second route in the IP routing table, so this route is selected for routing this datagram.

See Table 4-6 for the valid input values for the submask and dest parameter combinations.

Table 4-6 Valid Subnet Mask Parameter Values

Network Class IP Network Address Range Valid Subnet Mask Values

A

1.0.0.0 to 127.0.0.0

255.0.0.0 (the default value for a class A IP address)

255.192.0.0

255.224.0.0

255.240.0.0

255.248.0.0

255.252.0.0

255.254.0.0

255.255.128.1

A+B

128.1.0.0 to 191.255.0.0

255.255.0.0 (the default value for a class B IP address)

255.255.192.0

255.255.224.0

255.255.240.0

255.255.248.0

255.255.252.0

255.255.254.0

255.255.255.128

A+B+C

192.0.0.0 to 223.255.255.0

255.255.255.0 (the default value for a class C IP address)

255.255.255.192

255.255.255.224

255.255.255.240

255.255.255.248

255.255.255.252

If a Class B IP address is specified for the dest parameter of the ent-ip-rte command, the subnet address that results from the dest and submask parameter values cannot be the same as the subnet address that results from the pvn and pvnmask, fcna and fcnamask, or fcnb and fcnbmask parameter values of the chg-netopts command. The pvn and pvnmask, fcna and fcnamask, or fcnb and fcnbmask parameter values can be verified by entering the rtrv-netopts command. Choose dest and submask parameter values for the IP route whose resulting subnet address is not be the same as the subnet address resulting from the pvn and pvnmask parameter values of the chg-netopts command.

  1. Display the IP routes in the database with the rtrv-ip-rte command.

    This is an example of the possible output.

    
    rlghncxa03w 06-10-28 09:12:36 GMT EAGLE5 36.0.0
    LOC   DEST             SUBMASK          GTWY
    1301  128.252.10.5     255.255.255.255  140.188.13.33
    1301  128.252.0.0      255.255.0.0      140.188.13.34
    1301  150.10.1.1       255.255.255.255  140.190.15.3
    1303  192.168.10.1     255.255.255.255  150.190.15.23
    1303  192.168.0.0      255.255.255.0    150.190.15.24
    
    IP Route table is  (5 of 2048) 0.24% full
    
  2. Display the IP cards in the database with the rtrv-ip-card command.

    This is an example of the possible output.

    
    rlghncxa03w 08-08-28 21:17:37 GMT EAGLE5 39.0.0
       LOC 1212
         SRCHORDR  LOCAL
         DNSA      150.1.1.1
         DNSB      ---------------
         DEFROUTER 150.1.1.100
         DOMAIN    NC. TEKELEC. COM
         SCTPCSUM  crc32c
         BPIPADDR  ---------------
         BPSUBMASK ---------------
       LOC 1301
         SRCHORDR  SRVRONLY
         DNSA      140.188.13.10
         DNSB      140.190.15.28
         DEFROUTER ---------------
         DOMAIN    NC. TEKELEC. COM
         SCTPCSUM  crc32c
         BPIPADDR  ---------------
         BPSUBMASK ---------------
       LOC 1303
         SRCHORDR  LOCAL
         DNSA      150.190.15.1
         DNSB      ---------------
         DEFROUTER 150.190.15.25
         DOMAIN    NC. TEKELEC. COM
         SCTPCSUM  crc32c
         BPIPADDR  ---------------
         BPSUBMASK ---------------
    

    If the required IP card is not shown in the rtrv-ip-card output, perform the Adding an IPGWx Card to add the card to the database.

    Perform the Configuring an IP Card and make sure that the network portion of the IP addresses assigned for the A or B interfaces of the IP card is the same as the network portion of the IP address that will be assigned to the gtwy parameter of the IP route

    Note:

    If a Class A or CIP address (seeTable 4-6) will be specified for thedest parameter in4, continue the procedure with4.
  3. The subnet address that results from the dest and submask parameter values of the ent-ip-rte command cannot be the same as the subnet address that results from the pvn and pvnmask, fcna and fcnamask, or fcnb and fcnbmask parameter values of the chg-netopts command.

    Display the pvn, pvnmask, fcna, fcnamask, fcnb, and fcnbmask parameter values of the chg-netopts command by entering the rtrv-netopts command.

    If error message E3967 Cmd Rej: E5IS must be on is displayed after the rtrv-netopts command is executed, the pvn, pvnmask, fcna, fcnamask, fcnb, and fcnbmask parameters are not configured. Continue the procedure with 4.

    This is an example of the possible output if the E5IS feature is on.

    
    rlghncxa03w 09-02-28 21:17:37 GMT EAGLE5 40.1.0
    NETWORK OPTIONS
    ------------------
    PVN        = 128.20.30.40
    PVNMASK    = 255.255.192.0
    FCNA       = 170.120.50.0
    FCNAMASK   = 255.255.240.0
    FCNB       = 170.121.50.0
    FCNBMASK   = 255.255.254.0
    

    Choose dest and submask parameter values for the IP route whose resulting subnet address is not be the same as the subnet address resulting from the pvn and pvnmask, fcna and fcnamask, or fcnb and fcnbmask parameter values of the chg-netopts command. Continue the procedure with 4.

  4. Add the IP route to the database using the ent-ip-rte command.

    For this example, enter this command.

    ent-ip-rte:loc=1212:dest=132.10.175.20:submask=255.255.255.255 :gtwy=150.1.1.50

    When this command has successfully completed, this message should appear.

    
    rlghncxa03w 06-10-12 09:12:36 GMT EAGLE5 36.0.0
    ENT-IP-RTE: MASP A - COMPLTD
    
  5. Verify the changes using the rtrv-ip-rte command with the card location specified with the ent-ip-rte command in 4.

    For this example, enter these commands.

    rtrv-ip-rte:loc=1212

    This is an example of the possible output.

    
    rlghncxa03w 06-10-28 09:12:36 GMT EAGLE5 36.0.0
    LOC   DEST             SUBMASK          GTWY
    1212  132.10.175.20    255.255.255.255  150.1.1.50
    IP Route table is  (6 of 2048) 0.29% full
    
  6. Back up the new changes using the chg-db:action=backup:dest=fixed command.
    These messages should appear, the active Maintenance and Administration Subsystem Processor (MASP) appears first.
    
    BACKUP (FIXED) : MASP A - Backup starts on active MASP.
    BACKUP (FIXED) : MASP A - Backup on active MASP to fixed disk complete.
    BACKUP (FIXED) : MASP A - Backup starts on standby MASP.
    BACKUP (FIXED) : MASP A - Backup on standby MASP to fixed disk complete.
    

Figure 4-10 Adding an IP Route



Sheet 1 of 2



Sheet 2 of 2