tzhxbg 发表于 2014-08-05 14:02

ALOM里修改ip地址怎么不保存?

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

fireware 发表于 2014-08-05 15:25

执行 resetsc

tzhxbg 发表于 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


   

San风夕 发表于 2014-08-06 15:37

配置完后执行这个,,:D),
sc> setsc netsc_commit true

东方蜘蛛 发表于 2014-08-07 09:44

sc> setupsc

tzhxbg 发表于 2014-08-07 11:07

搞定谢谢!!!回复 5# 东方蜘蛛


   

东方蜘蛛 发表于 2014-08-07 11:17

tzhxbg 发表于 2014-08-07 11:07 static/image/common/back.gif
搞定谢谢!!!回复 5# 东方蜘蛛
过程?:em06: :em06: :em06:

tzhxbg 发表于 2014-08-07 11:21

执行完setupsc在shownetwork地址就10.0.0.10 了 可我断电在上电 有恢复10.0.1.38了 。。。

tzhxbg 发表于 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风夕


   

tzhxbg 发表于 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
Should the SC network interface be enabled ? y
Should the SC interface connection type be set ? ssh
Should the SC email alerts be enabled ? y
Do you wish to configure the network interface ? y
Should the SC use DHCP to obtain its network configuration ? n
Enter the SC IP address ? 10.0.0.10
Enter the SC IP netmask ? 255.255.255.0
Enter the SC IP gateway address ? 10.0.0.1
Do you wish to configure the network management interfaces ? y
Enter the number of mail servers to configure ? 0
Do you wish to configure the SC parameters ? n
Do you wish to configure the platform diagnostic parameters ? 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# 东方蜘蛛


   
页: [1] 2
查看完整版本: ALOM里修改ip地址怎么不保存?