免费注册 查看新帖 |

Chinaunix

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

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

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

论坛徽章:
0
2 [报告]
发表于 2009-02-10 17:28 |只看该作者
smitty route

论坛徽章:
0
3 [报告]
发表于 2009-02-10 19:02 |只看该作者
man route

论坛徽章:
0
4 [报告]
发表于 2009-02-11 08:50 |只看该作者
route add

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

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

回复 #1 qwertl 的帖子

smitty tcpip 然后选择第二项 看选项就可以了
ying920 该用户已被删除
7 [报告]
发表于 2009-02-11 09:11 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
8 [报告]
发表于 2009-02-13 09:09 |只看该作者
#smitty route

            COMMAND STATUS

Command: OK            stdout: yes           stderr: no

Before command completion, additional instructions may appear below.

Method error (/usr/lib/methods/chginet):
        0514-068 Cause not known.
0821-285 ioctl returns 6
ioctl (SIOCGIFADDR): There is a request to a device or address that does not exi
st.
0821-103 : The command /usr/sbin/route add -net -hopcount 0 -netmask 255.255.255
.0 -if 192.168.55.30    192.168.99.0 192.168.55.30 failed.
0821-240 chginet: Error writing to routing socket.


类似于windows下的路由指令,
route add 192.168.99.0  mask 255.255.255.0 192.168.55.30        (55.30是aix机en2同子网的台服务器)

在unix下怎样的格式

论坛徽章:
0
9 [报告]
发表于 2009-02-13 09:22 |只看该作者
192.168.55.255     192.168.55.22     UHSb      0         4 en2      -
192.168.99/24      192.168.55.30     UG        0         9 en2      -



                                Add Static Route

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

                                                        [Entry Fields]
  Destination TYPE                                    net                    +
* DESTINATION Address                                []
  (dotted decimal or symbolic name)
* Default GATEWAY Address                            []
  (dotted decimal or symbolic name)
  COST                                               [0]                      #
  Network MASK (hexadecimal or dotted decimal)       []
  Network Interface                                  []                      +
  (interface to associate route with)
  Enable Active Dead Gateway Detection?               no                     +
  Is this a Local (Interface) Route?                  no                     +
  Policy (for Multipath Routing Only)                 Default (Global)       +
  Weight (for Weighted Multipath Routing Policy)     [1] 9 en2      -      -  #
  Apply change to DATABASE only                       no                     +   原来是这里没有改YES保存  
[MORE...3]

论坛徽章:
0
10 [报告]
发表于 2009-02-13 17:07 |只看该作者
类似于windows下的路由指令,
route add 192.168.99.0  mask 255.255.255.0 192.168.55.30        (55.30是aix机en2同子网的台服务器)

在unix下怎样的格式

route 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