solaris10 改了IP怎么就不行了?

weixin_38058939 2008-06-05 02:46:42

各位前辈我把机器改了IP地址,没改机器名,结果重新启动发现能看到网卡,但是IP地址加载不上了,成了0.0.0.0,手工用ifconfig配置IP地址还是能用,说明硬件无恙,重启不能加载。

ifconfig
bge0: 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:4:ff:9d


启动过程报错:
Hardware watchdog enabled
Failed to configure IPv4 interface(s): bge0
Jun  5 13:20:24 svc.startd[7]: svc:/network/physical:default: Method "/lib/svc/m
ethod/net-physical" failed with exit status 96.
[ network/physical:default misconfigured (see 'svcs -x' for details) ]

看log文件:
-bash-3.00# more /etc/svc/volatile/network-physical:default.log
[ start + 1.41s Enabled. ]
[ start + 4.17s Executing start method ("/lib/svc/method/net-physical") ]
[ start + 4.20s Timeout override by svc.startd.  Using infinite timeout ]
configuring IPv4 interfaces:ifconfig: srv1: bad address
bge0.
add net default: gateway 192.168.17.1: Network is unreachable


其中我修改了:/etc/hostname.bge0, /etc/netmasks,/etc/hosts,/etc/defaultrouter,/etc/inet/ipnodes

谢谢
...全文
16 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复

477

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧