无法更改IP!!
一台V240,S9系统,bge0IP无法更改,实在想不通。内容如下:
bash-2.05# ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 218.7.250.2 netmask da07fa07 broadcast 218.7.250.7
ether 0:3:ba:c5:f8:d5
bge1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 61.138.33.12 netmask ffffff80 broadcast 61.138.33.127
ether 0:3:ba:c5:f8:d6
bash-2.05# more /etc/hosts
#
# Internet host table
#
127.0.0.1 localhost
61.138.33.12 qth loghost
bash-2.05# more /etc/hostnam e me.*
::::::::::::::
/etc/hostname.bge0
::::::::::::::
qth0
/etc/hostname.bge1
::::::::::::::
qth
bash-2.05#
bash-2.05# more /etc/netmasks
#
# The netmasks file associates Internet Protocol (IP) address
# masks with IP network numbers.
#
# network-number netmask
#
# The term network-number refers to a number obtained from the Internet Network
# Information Center.
#
# Both the network-number and the netmasks are specified in
# "decimal dot" notation, e.g:
#
# 128.32.0.0 255.255.255.0
#
61.138.33.0 255.255.255.128
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
3楼说的,我已看过了,IPnodes没有IP呀!
3楼是正解
不知道在说啥{:3_202:}
bash-2.05# more /etc/inet/ipnodes
#
# Internet host table
#
::1 localhost
127.0.0.1 localhost
就是查看/etc/hosts,/etc/hostname.bge0,/etc/netmasks/,/etc/nodename,这些文件,都没有问题呀,而且,我还grep 218.7.250.2 /etc/* ,也没查到有这个字符串的文件,出鬼了?现在把IP配到bge1上了,已经可以用了,但这个问题还是没有找到原因,心里很不爽!没病不死人呀!这是为啥呢?现在启动时还要用CTRL+D才能进去,但启动的那个信息,用户没有办法发给我。
看ipnodes
一定是系统有些问题造成的,具体怎么改的,说说看。