-> set /SP/network property=value property=value ...
where:
property is the parameter of the network to configure.
value is the value of the property being configured.
These properties are supported:
pendingipdiscovery – value is the method of IP discovery to be configured, either static or dhcp.
pendingipaddress – value is the IP address of the SP to be configured. Not needed for DHCP.
pendingipgateway – value is the IP address of the routing gateway of the management network. Not needed for DHCP.
pendingipnetmask – value is the netmask for the management network. Not needed for DHCP.
-> set /SP/network state=ipv4-only
-> set /SP/network commitpending=true
The new configuration parameters take effect immediately.
-> start /HOST/console Are you sure you want to start /HOST/console (y/n)? y Serial console started. To stop, type ESC (
Oracle Linux Server release 6.6 Kernel 4.0.4-15.el6uek.x86_64 on an x86_64 hostname login:
hostname login: root Password:password Last login: Fri May 25 09:51:36 on ttyS0 [root@hostname ~]#
The default password is changeme.
[root@hostname ~]# nm3tool ipaddress SCP_IP_address|dhcp|ilom
where SCP_IP_address is the IP address to be assigned to the SCP. Alternatively, you can configure IP address assignment by DHCP or Oracle ILOM. If you provide a static IP address, you will also need to provide the netmask and the IP address of the management network gateway. For example:
[root@hostname ~]# nm3tool ipaddress 123.45.67.90 Enter netmask: 255.255.255.0 Enter default gateway: 123.45.67.1 Restart network now? (Y/n)
Restart network now? (Y/n)Y Shutting down interface eth0: [ OK ] Shutting down interface eth1: [ OK ] Shutting down loopback interface: [ OK ] Bringing up loopback interface: [ OK ] Bringing up interface eth0: Determining IP information for eth0... done. [ OK ] Bringing up interface eth1: Determining if ip address 169.254.2.1 is already in use for device eth1... [ OK ] [root@hostname ~]#
Provide the new host name. For example:
[root@hostname ~]# nm3tool hostname hostname
where hostname is the host name of the SCP. For example:
[root@hostname ~]# nm3tool hostname hostwiththemost [root@hostname ~]#
[root@hostname ~]# nm3tool apply Setting network configuration from XML [root@hostname ~]#