当我运行scadm命令时,IP 地址与我在服务器上配置的不同:
55 /usr/platform/SUNW,Sun-Fire-V210/sbin> uname -a
SunOS UI1 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Fire-V210
56 /usr/platform/SUNW,Sun-Fire-V210/sbin> ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet ***.***.***.*** netmask ffffe000 broadcast ***.***.***.255
ether 0:3:ba:8a:28:d1
57 /usr/platform/SUNW,Sun-Fire-V210/sbin> ./scadm shownetwork
IP Address: 192.168.132.2
Gateway address: 192.168.132.2
Netmask: 255.255.255.0
Ethernet address: 00:03:ba:8a:28:da
58 /usr/platform/SUNW,Sun-Fire-V210/sbin> cat /etc/inet/hosts
#
# Internet host
#
127.0.0.1 localhost
***.***.***.*** aaaaa
/etc/inet/hosts中的 IP 地址和ifconfig -a显示的 IP 地址是正确的。scadm shownetwork显示的不正确。为什么?