+ -
当前位置:首页 → 问答吧 → 无法更改IP!!

无法更改IP!!

时间:2010-11-01

来源:互联网

一台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

作者: hlhl2003   发布时间: 2010-11-01

一定是系统有些问题造成的,具体怎么改的,说说看。

作者: rmb   发布时间: 2010-11-01

看ipnodes

作者: doni   发布时间: 2010-11-01

就是查看/etc/hosts,/etc/hostname.bge0,/etc/netmasks/,/etc/nodename,这些文件,都没有问题呀,而且,我还grep 218.7.250.2 /etc/* ,也没查到有这个字符串的文件,出鬼了?现在把IP配到bge1上了,已经可以用了,但这个问题还是没有找到原因,心里很不爽!没病不死人呀!这是为啥呢?现在启动时还要用CTRL+D才能进去,但启动的那个信息,用户没有办法发给我。

作者: hlhl2003   发布时间: 2010-11-01

bash-2.05# more /etc/inet/ipnodes
#
# Internet host table
#
::1             localhost
127.0.0.1       localhost

作者: hlhl2003   发布时间: 2010-11-01

热门下载

更多