Example:
# sh bmcInit.sh
*************************************************************
*** BMC Initialization ***
*************************************************************
Enter BMC management IP (aaa.bbb.ccc.ddd) : 10.2.12.181
Enter BMC management netmask (aaa.bbb.ccc.ddd): 255.255.255.0
Enter default gateway IP (aaa.bbb.ccc.ddd) : 10.2.12.1
Enter NTP time server IP (aaa.bbb.ccc.ddd) : 10.1.1.2
Enter advanced configuration? <y/n>:n
Note: The advanced configuration is used exclusively to configure static routes. For this installation example, enter "n".
Verify your entries....
bmcIpAddr = 10.2.12.181
bmcNetmask = 255.255.255.0
gatewayIpaddr = 10.2.12.1
ntpServerIpaddr = 10.1.1.2
Ok to apply configuration? <y/N>:y
Restarting NTP and network services ....
Setting up IP spoofing protection: rp_filter.
Reconfiguratoin network interfaces...done.
Restarting NTP server: ntpd... done.
Note: Reboot the BMC after completing the process. |