免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 6488 | 回复: 4
打印 上一主题 下一主题

AIX5.3怎样加静态路由?? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-02-10 17:07 |只看该作者 |倒序浏览
请教下AIX5.3怎样加静态路由指令是什么??\r\nwindows下是用route add   ,,,......

论坛徽章:
0
2 [报告]
发表于 2009-02-11 09:11 |只看该作者

回复 #1 qwertl 的帖子

smitty tcpip 然后选择第二项 看选项就可以了

论坛徽章:
0
3 [报告]
发表于 2009-02-13 09:09 |只看该作者
#smitty route\r\n\r\n            COMMAND STATUS\r\n\r\nCommand: OK            stdout: yes           stderr: no\r\n\r\nBefore command completion, additional instructions may appear below.\r\n\r\nMethod error (/usr/lib/methods/chginet):\r\n        0514-068 Cause not known.\r\n0821-285 ioctl returns 6\r\nioctl (SIOCGIFADDR): There is a request to a device or address that does not exi\r\nst.\r\n0821-103 : The command /usr/sbin/route add -net -hopcount 0 -netmask 255.255.255\r\n.0 -if 192.168.55.30    192.168.99.0 192.168.55.30 failed.\r\n0821-240 chginet: Error writing to routing socket.\r\n\r\n\r\n类似于windows下的路由指令,\r\nroute add 192.168.99.0  mask 255.255.255.0 192.168.55.30        (55.30是aix机en2同子网的台服务器)\r\n\r\n在unix下怎样的格式

论坛徽章:
0
4 [报告]
发表于 2009-02-13 09:22 |只看该作者
192.168.55.255     192.168.55.22     UHSb      0         4 en2      -\r\n192.168.99/24      192.168.55.30     UG        0         9 en2      -\r\n\r\n\r\n\r\n                                Add Static Route\r\n\r\nType or select values in entry fields.\r\nPress Enter AFTER making all desired changes.\r\n\r\n                                                        [Entry Fields]\r\n  Destination TYPE                                    net                    +\r\n* DESTINATION Address                                []\r\n  (dotted decimal or symbolic name)\r\n* Default GATEWAY Address                            []\r\n  (dotted decimal or symbolic name)\r\n  COST                                               [0]                      #\r\n  Network MASK (hexadecimal or dotted decimal)       []\r\n  Network Interface                                  []                      +\r\n  (interface to associate route with)\r\n  Enable Active Dead Gateway Detection?               no                     +\r\n  Is this a Local (Interface) Route?                  no                     +\r\n  Policy (for Multipath Routing Only)                 Default (Global)       +\r\n  Weight (for Weighted Multipath Routing Policy)     [1] 9 en2      -      -  #\r\n  Apply change to DATABASE only                       no                     +   原来是这里没有改YES保存   \r\n[MORE...3]

论坛徽章:
0
5 [报告]
发表于 2009-02-13 17:07 |只看该作者
\r\n类似于windows下的路由指令,\r\nroute add 192.168.99.0  mask 255.255.255.0 192.168.55.30        (55.30是aix机en2同子网的台服务器)\r\n\r\n在unix下怎样的格式\r\n
\r\nroute add -net 192.168.99.0 -netmask 255.255.255.0 gw 192.168.55.30
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP