我有一台小型机,通过smitty mktcpip设置ip为192.168.0.148
配置完成后通过cat /etc/host及ifconfig -a命令查看系统信息如下:
#cat /etc/hosts
# Internet Address Hostname # Comments
# 192.9.200.1 net0sample # ethernet name/address
# 128.100.0.1 token0sample # token ring name/address
# 10.2.0.2 x25sample # x.25 name/address
127.0.0.1 loopback localhost # loopback (lo0) name/address
192.168.0.148 localhost
# ifconfig -a
en0: flags=4e080863,80
inet 192.168.0.148 netmask 0xffffff00 broadcast 192.168.0.255
lo0: flags=e08084b
inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
inet6 ::1/0
tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1
然后我通过prtconf 查看显示如下:
# prtconf
System Model: IBM,7028-6E1
Machine Serial Number: 10B7DFD
Processor Type: PowerPC_POWER3
Processor Implementation Mode: POWER 630
Processor Version: PV_630
Number Of Processors: 2
Processor Clock Speed: 375 MHz
CPU Type: 64-bit
Kernel Type: 32-bit
LPAR Info: -1 NULL
Memory Size: 4608 MB
Good Memory Size: 4608 MB
Platform Firmware level: Not Available
Firmware Version: IBM,CLT01309
Console Login: enable
Auto Restart: true
Full Core: false
en0
Network Information
Host Name: localhost
IP Address: 192.168.0.208
Sub Netmask: 255.255.255.0
Gateway: 192.168.0.1
Name Server:
Domain Name:
现在问题是我通过smitty mktcpip配置成192.168.0.148后,
通过其他机器可以Ping通192.168.0.148
但是我机器重新启动之后,ping 不通192.168.0.148这个地址。
通过ifconfig -a 查看Ip地址变成了192.168.0.208
cat /etc/hosts 下查看ip还是192.168.0.148收起