如何在AIX上设置TCP/IP
(2)删除路由 用 SMIT 删除一条路由的操作与增加一条路由很相象。输入如下命令并且在各域填入适当的值即可: # smit rmroute (3)刷新路由表 启动 SMIT : # smit fshrttbl 出现如下: ---------------------------------------------------------------------- Flush Routing Table Type or select values in entry fields. Press Enter AFTER making all desired changes. [Entry Fields] Flush Routing Table in the Current Running System yes + Flush Routing Table in the Configuration Data Base no + (effective in the next system restart) ---------------------------------------------------------------------- 如果只想暂时刷新路由表,而保持 ODM 数据库中的路由信息,就接受缺省值。如 果还想要清除 ODM 的路由信息,Flush Routing Table in the Configuration Data Base域选 YES。 3、网卡配置 增加新网卡后第一次系统启机时(或作cfgmgr)会自动认出网卡并给予默认配置,故有时必须对网卡配置进行修改甚至删除。 (1)改变网卡的配置 用 SMIT 命令: # smit chinet 在 Available Network Interfaces 菜单选择适当的网络接口。按需要做适当的改变。 如果让 BROADCAST ADDRESS 域空白, AIX将基于子网掩模提供一个缺省值。 例子: ---------------------------------------------------------------------- Change / Show a Standard Ethernet Interface Type or select values in entry fields. Press Enter AFTER making all desired changes. [Entry Fields] Network Interface Name en0 INTERNET ADDRESS (dotted decimal) [15.24.48.58] Network MASK (hexadecimal or dotted decimal) [255.255.248.0] Current STATE up + Use Address Resolution Protocol ( ARP ) ? yes + BROADCAST ADDRESS (dotted decimal) [] ---------------------------------------------------------------------- 查看本栏目更多精彩内容:http://www.bianceng.cn/OS/unix/ (2)删除网卡配置 用 SMIT 命令: # smit inet 选 Remove a Network Interface 选项。选择适当的网络接口。 注意:SMIT 删除网络接口没有确认提示! 4、编辑一些重要文件 (1)编辑/etc/hosts。 可以用 SMIT 操作编辑/etc/hosts 文件或直接使用一个文本编辑器编辑/etc/hosts 文件。用 SMIT 操作如下: # smit hostent ---------------------------------------------------------------------- Hosts Table (/etc/hosts) Move cursor to desired item and press Enter. List All Hosts Add a Host Change / Show Characteristics of a Host Remove a Host ---------------------------------------------------------------------- (编辑:云计算网_泰州站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |