AIX 的网络通信
一、配置和运行 TCP/IP
1、在配置 TCP/IP 前,需知道:
主机名和域名 IP 地址和子网掩码 路由器的 IP 地址 域名服务器的 IP 地址 smit tcpip -Minimum Configuration & Startup Minimum Configuration & Startup To Delete existing configuration data, please use Further Configuration menus Type or select values in entry fields. Press Enter AFTER making all desired changes. [Entry Fields] * HOSTNAME [ ] * Internet ADDRESS (dotted decimal) [ ] Network MASK (dotted decimal) [ ] * Network INTERFACE en0 NAMESERVER Internet ADDRESS (dotted decimal) [ ] DOMAIN Name [ ] Default GATEWAY Address [ ] (dotted decimal or symbolic name) Your CABLE Type N/A + START Now no +
F1=Help F2=Refresh F3=Cancel F4=List Esc+5=Reset Esc+6=Command Esc+7=Edit Esc+8=Image Esc+9=Shell Esc+0=Exit Enter=Do 在域中输入正确的值,按 ENTER 键即可完成 TCP/IP 的配置。 如果值有变化,第二次可用 smit chinet 来设置。例如: smit chinet [Entry Fields] Network Interface Name en0 Internet ADDRESS (dotted decimal) [] Network MASK (dotted decimal) [] Current STAT up
F1=Help F2=Refresh F3=Cancel F4=List Esc+5=Reset Esc+6=Command Esc+7=Edit Esc+8=Image Esc+9=Shell Esc+0=Exit Enter=Do
2、TCP/IP 的启动 TCP/IP 启动时需要两个启动文件:/etc/rc.net 和/etc/rc.tcpip。文件/etc/rc.net 用于配置网络界 面,设置路由;而/etc/rc.tcpip 用于启动 tcpip 后台服务进程。
二、TCP/IP 常用的命令 1、ping 2、telnet 3、