- 论坛徽章:
- 0
|
ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
ce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255
ether 0:3:ba:33:8d:c2
eri0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 192.188.100.1 netmask ffffff00 broadcast 192.188.100.255
ether 0:3:ba:33:8d:c2
qfe0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
inet 192.188.66.237 netmask ffffff00 broadcast 192.188.66.255
ether 0:3:ba:33:8d:c2
qfe1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 5
inet 10.52.18.233 netmask ff000000 broadcast 10.255.255.255
ether 0:3:ba:33:8d:c2
oot@WAMSCOMM-GZ # more hosts
#
# Internet host table
#
127.0.0.1 localhost
192.188.66.237 WAMSCOMM-GZ loghost
10.52.18.233 WAMSCOMM-GZ-N2
192.188.100.1 WAMSCOMM-GZ-OUT
10.73.1.80 WAMSCOMM-GZ-ce0
192.188.66.232 WAMSHISDB-GZ
10.52.18.232 WAMSHISDB-GZ
##############################################
root@WAMSCOMM-GZ # more hostname.ce0
WAMSCOMM-GZ-ce0
#################################################
root@WAMSCOMM-GZ # more /etc/inet/ipnodes
#
# Internet host table
#
::1 localhost
127.0.0.1 localhost
现在的情况是,使用命令ifconfig ce0 inet 10.73.1.80 netmask 255.255.255.240 up后可以ping通1.80,但是重启后ifconfig -a 查看,显示ce0IP没有配置成功
在netmasks中添加 10.0.0.0 255.0.0.0 ?
在ipnodes中添加hosts文件中的内容? |
|