OpenVMS
取消
顯示結果 
搜尋替代 
您的意思是: 

如何消除多餘的default route,因為開機後每次皆需手動刪除

如何消除多餘的default route,因為開機後每次皆需手動刪除

請各位高手賜教,幫忙小弟解決此問題. 感恩啦!!!
9 回覆

如何消除多餘的default route,因為開機後每次皆需手動刪除

Please post the output of the following commands,



$ ucx sho ver

$ ucx show route/perm

$ ucx show route

$ ucx sho conf start routing

如何消除多餘的default route,因為開機後每次皆需手動刪除

All suggestions are listed below.Please give me some feed back how to delete unnecessary getway. Thanks!!!

Show ver: Digital TCP/IP services/Japanese for OpenVMS Alpha version V4.2 -ECO 2 on a Digital 21164 PICMG SBC 5/500 running openVMS V7.1-2



Show route/perm

PN 0.0.0.0 10.15.16.250

show route

AH 127.0.0.1 127.0.0.1

AN 0.0.0.0 10.15.18.16

AN 0.0.0.0 10.15.16.250

AN 10.15.16.0 10.15.20.143

AN 192.9.47.0 10.14.17.83

show conf start routing

Dynamic Routing configuration

supply:Disabled

Log:Disabled

如何消除多餘的default route,因為開機後每次皆需手動刪除

>>Show route/perm

>>PN 0.0.0.0 10.15.16.250

This is the permanent default route configured in routing file.



>>show route

>>AN 0.0.0.0 10.15.18.16

This is the active default route heard from dynamic routing of network.

>>AN 0.0.0.0 10.15.16.250

This is the default route from permanent routing file.



>>AN 10.15.16.0 10.15.20.143

>>AN 192.9.47.0 10.14.17.83

These two routes are strange! Is the network mask 255.0.0.0?

Please show me your interfaces details with "ucx> sho inter/fu".



>>show conf star t routing

>>Dynamic Routing configuration

>>supply:Disabled

>>Log:Disabled

It means the dynamic routing is enabled on the current node.



If you do not want dynamic routing, you can disable dynamic routing with



UCX> stop routing

UCX> set config start norouting

如何消除多餘的default route,因為開機後每次皆需手動刪除

Thank for your help.

Show inter/fu

Interface:WE0

Ip_addr:10.15.20.143 network:255.255.240.0 BRDCST:10.15.31.255

Ethernet_Addr:AA-00-04-00-68-04 MTU:1500

Flags:up BRDCST NOTRL RUN

.

.

.

Interface:LO0

Ip_addr:127.0.0.1 NetWRK:255.0.0.0 BRDCST:

Ethernet_Addr: MTU:65535

Flags:UP Loop

.

.

.

By the way I have one more questions.

1. When I keyin MCSV>ucx,The monitor show UCX> not TCPIP>.

2. How can I up network?

3. How can I access route setting?

如何消除多餘的default route,因為開機後每次皆需手動刪除

>>Ip_addr:10.15.20.143 network:255.255.240.0 BRDCST:10.15.31.255

So the ">>AN 10.15.16.0 10.15.20.143" route is correct.



but ">>AN 192.9.47.0 10.14.17.83" is not ok unless you have another interface on 10.14.17 subnet.



Have you turned off dynamic routing? after that, does "UCX>show route" show correct routes?



>>1. When I keyin MCSV>ucx,The monitor show UCX> not TCPIP>.

That's because your are using UCX V4.2. For 5.0 and above, it will be "TCPIP>"



>>2. How can I up network?

not quite understand your question!

Try "UCX> help set route example"



3. How can I access route setting?

"UCX> show route" --> display active routing table in memory

"UCX> show route/perm" --> display routing table defined in SYS$SYSTEM:UCX$ROUTE.DAT



FYI,

UCX 4.X is quite old and buggy.

UCX V5.1 can be used on VMS 7.1-X!

You can use some ucx-style commands on UCX V5.X (e.g netstat, route, ifconfig...).

如何消除多餘的default route,因為開機後每次皆需手動刪除

Thanks !!!



I don't know how to access and edit route.dat.Can you show it in detail for me because I am a beginner.

如何消除多餘的default route,因為開機後每次皆需手動刪除

You can not use an editor to edit ucx$route.dat as you did in Unix.



You can only use UCX> commands to maintain the routing table.



UCX> help set route

UCX> help show route



To delete a route just use "UCX> set noroute", it will prompt you each routes before deletion.

如何消除多餘的default route,因為開機後每次皆需手動刪除

Thanks for your help but there was another issue came out.

I use the command(UCX>set noroute)to delete the redundant route,but when we reboot or power off/on the workstation again,but the route that we deleted in advance is still alive.Can you help me to solve this problem?

如何消除多餘的default route,因為開機後每次皆需手動刪除

Which redundant route you need to delete on every reboot? 10.15.18.16?

>>AN 0.0.0.0 10.15.18.16

This is the active default route heard from dynamic routing of network.

>>AN 0.0.0.0 10.15.16.250

This is the default route from permanent routing file.



Have you disabled dynamic routing yet?



1. UCX> stop routing

UCX> set config start norouting

2. reboot or restart UCX

3. after reboot or restart UCX,

UCX> sho rout/perm

UCX> show rout



If you have disabled the dynamic routing as above but still get the redundant default route

then the problem could be that the router send back ICMP Redirect.



Routes created due to ICMP Redirect will have a "D" in Flags field of "netstat -r" command.

Unfortunately UCX 4.X do not support "netstat -r" as in UCX 5.X and Unix. You can only

use sniffer like tool to figure out if the router did send ICMP redirect for the extra default route.



If the problem is caused by ICMP redirect, you need to change routers setings!

UCX do not have option (like in Tru64 kernel) to disable ICMP Redirect receiving!