Operating System - OpenVMS
1828225 Members
3524 Online
109975 Solutions
New Discussion

TCPIP Route missing after reboot

 
Chaim Budnick
Regular Advisor

TCPIP Route missing after reboot

Recently a new route was added using the following command

TCPIP>route add host route mask

After a reboot this route was "lost"

Other similar routes were still existing.

I tried finding some command procedure which perhaps readds the routes at rebbot, but I found nothing.

What did we NOT do correctly?

5 REPLIES 5
Åge Rønning
Trusted Contributor

Re: TCPIP Route missing after reboot

TCPIP> HELP SET ROUTE/PERM
VMS Forever
Chaim Budnick
Regular Advisor

Re: TCPIP Route missing after reboot

As I mentioned, only the route that was added last week was missing after reboot, other routes (DYNAMIC) remained.

I did do a show route/perm, but NONE of the existing routes appear there, so I don't think they were created with set route/perm, nevertheless only the one route disappeared!

Dieter Rossbach
Regular Advisor

Re: TCPIP Route missing after reboot

Some of the routes are generated automatically by TCPIP when cresating the interface. That is the reason, why some of the dynamic routes are in the permanent database and some are not. Every route where the local interface is not the routing interface, must be declared in the permant database to survive a reboot.

Regards

Dieter
Chaim Budnick
Regular Advisor

Re: TCPIP Route missing after reboot

Here are the entries for sho route:


DYNAMIC

Type Destination Gateway

AN 0.0.0.0 192.1.2.1
AN 127.0.0.0/8 127.0.0.1
AH 127.0.0.1 127.0.0.1
AN 172.23.0.0/16 192.1.2.2
AN 192.1.2.0/24 192.1.2.100
AH 192.1.2.100 192.1.2.100

Here are the entries for sho route/perm:

PERMANENT

Type Destination Gateway

PN 0.0.0.0 192.1.2.1

The entry in question is:

AN 172.23.0.0/16 192.1.2.2


As you can see, there are many more entries in the DYNAMIC than in the PERMANENT and yet the only entry which disappeared after the last reboot was the entry:

AN 172.23.0.0/16 192.1.2.2

David B Sneddon
Honored Contributor

Re: TCPIP Route missing after reboot

Chaim,

The default gateway was obviously added with
/permanent. The 127.0.0.x and the 192.1.2.x
entries are created automatically.
As mentioned before, you need to add the route
with /permanent.

Regards
Dave