免费注册 查看新帖 |

Chinaunix

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

ALOM里修改ip地址怎么不保存? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-08-05 14:02 |只看该作者 |倒序浏览
setsc if_network true

setsc netsc_dhcp false

setsc netsc_ipaddr 192.168.0.111

setsc netsc_ipnetmask 255.255.255.0

setsc netsc_ipgateway 192.168.0.1


用shownetwork查看地址还是10.0.1.38

论坛徽章:
0
2 [报告]
发表于 2014-08-05 15:25 |只看该作者
执行 resetsc

论坛徽章:
0
3 [报告]
发表于 2014-08-05 17:06 |只看该作者
执行完 resetsc   还是这样:
sc> shownetwork
SC network configuration is:
IP Address: 10.0.1.38
Gateway address: 0.0.0.0
Netmask: 255.0.0.0
Ethernet address: 00:21:28:11:10:49
sc> setsc if_network true
sc> setsc netsc_dhcp false
sc> setsc netsc_ipaddr 10.0.0.10
sc> setsc netsc_ipnetmask 255.255.255.0
sc> setsc netsc_ipgateway 10.0.0.1
sc> shownetwork
SC network configuration is:
IP Address: 10.0.1.38
Gateway address: 0.0.0.0
Netmask: 255.0.0.0
Ethernet address: 00:21:28:11:10:49
sc>回复 2# fireware


   

论坛徽章:
0
4 [报告]
发表于 2014-08-06 15:37 |只看该作者
配置完后执行这个,,,
sc> setsc netsc_commit true

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
5 [报告]
发表于 2014-08-07 09:44 |只看该作者
sc> setupsc

论坛徽章:
0
6 [报告]
发表于 2014-08-07 11:07 |只看该作者
搞定  谢谢!!!回复 5# 东方蜘蛛


   

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
7 [报告]
发表于 2014-08-07 11:17 |只看该作者
tzhxbg 发表于 2014-08-07 11:07
搞定  谢谢!!!回复 5# 东方蜘蛛

过程?

论坛徽章:
0
8 [报告]
发表于 2014-08-07 11:21 |只看该作者
执行完setupsc  在shownetwork地址就10.0.0.10 了 可我断电在上电 有恢复10.0.1.38了 。。。

论坛徽章:
0
9 [报告]
发表于 2014-08-07 11:34 |只看该作者
sc> setsc if_network true
sc> setsc netsc_dhcp false
sc> setsc netsc_ipaddr 10.0.0.10
sc> setsc netsc_ipnetmask 255.255.255.0
sc> setsc netsc_ipgateway 10.0.0.1
sc> setsc netsc_commit true
Error: Invalid configuration parameter回复 4# San风夕


   

论坛徽章:
0
10 [报告]
发表于 2014-08-07 11:51 |只看该作者
sc> setupsc
Entering Interactive setup mode. To exit and discard changes to that point, use
Ctrl-C or to exit and save changes to that point, use Ctrl-Z.
Do you wish to configure the enabled interfaces [y]? y
Should the SC network interface be enabled [y]? y
Should the SC interface connection type be set [ssh]? ssh
Should the SC email alerts be enabled [y]? y
Do you wish to configure the network interface [y]? y
Should the SC use DHCP to obtain its network configuration [y]? n
Enter the SC IP address [100.100.100.100]? 10.0.0.10
Enter the SC IP netmask [255.255.255.0]? 255.255.255.0
Enter the SC IP gateway address [100.100.100.100]? 10.0.0.1
Do you wish to configure the network management interfaces [y]? y
Enter the number of mail servers to configure [0]? 0
Do you wish to configure the SC parameters [y]? n
Do you wish to configure the platform diagnostic parameters [y]? n
Your ALOM configuration profile has been successfully completed. To activate you
r network configuration, please reset the SC.

执行完我重启就好了
Please login: admin
Please Enter password: ********



SC Alert: Failed to send email alert for recent event.
sc> shownetwork
SC network configuration is:
IP Address: 10.0.0.10
Gateway address: 10.0.0.1
Netmask: 255.255.255.0
Ethernet address: 00:21:28:11:10:49

上次没仔细看 一路yes  关了dhcp就好了回复 7# 东方蜘蛛


   
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP