免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1867 | 回复: 7
打印 上一主题 下一主题

无法更改IP!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-11-01 13:47 |只看该作者 |倒序浏览
一台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

论坛徽章:
0
2 [报告]
发表于 2010-11-01 14:03 |只看该作者
一定是系统有些问题造成的,具体怎么改的,说说看。

论坛徽章:
0
3 [报告]
发表于 2010-11-01 14:22 |只看该作者
看ipnodes

论坛徽章:
0
4 [报告]
发表于 2010-11-01 14:23 |只看该作者
就是查看/etc/hosts,/etc/hostname.bge0,/etc/netmasks/,/etc/nodename,这些文件,都没有问题呀,而且,我还grep 218.7.250.2 /etc/* ,也没查到有这个字符串的文件,出鬼了?现在把IP配到bge1上了,已经可以用了,但这个问题还是没有找到原因,心里很不爽!没病不死人呀!这是为啥呢?现在启动时还要用CTRL+D才能进去,但启动的那个信息,用户没有办法发给我。

论坛徽章:
0
5 [报告]
发表于 2010-11-01 14:27 |只看该作者
bash-2.05# more /etc/inet/ipnodes
#
# Internet host table
#
::1             localhost
127.0.0.1       localhost

论坛徽章:
0
6 [报告]
发表于 2010-11-01 15:54 |只看该作者
不知道在说啥{:3_202:}

论坛徽章:
0
7 [报告]
发表于 2010-11-01 21:30 |只看该作者
3楼是正解

论坛徽章:
0
8 [报告]
发表于 2010-11-03 09:28 |只看该作者
3楼说的,我已看过了,IPnodes没有IP呀!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP