- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We're trying to activate DNS on our BMC's to allow specifying an NTP server by host name and not IP. In the GUI, we can set a primary and secondary DNS server but I cannot find a way to do this via command line. The intel syscfg utility appears to support it, but fails when I run it:
~]$ sudo /usr/bin/syscfg/syscfg /lc 1 C5 10.0.0.10
Error: DNS IP Address Set failed
Ipmitool doesn't have this option that I can see. How can we set this via command line?
Board: S7200AP
Thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello superwombat,
Thank you for joining the community
The IPMI have some options to configure LAN settings of the BMC on the local server:
ipmitool lan set 1 ipsrc [ static | dhcp ]
ipmitool lan set 1 ipaddr {YOUR DESIRED IP}
ipmitool lan set 1 netmask {YOUR NETMASK}
ipmitool lan set 1 defgw ipaddr 10.0.1.1
Let me check if there is any specific command to configure DNS
Regards
Jose A.
Intel Customer Support Technician
For firmware updates and troubleshooting tips, visit:
https://intel.com/support/serverbios
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello superwombat,
Here is Hexa command to set the DNS name using IPMITool.
ipmitool -C17 -Ilanplus -H%1 -U%UserID% -P%password% raw 0x0c 0x01 0x03 0xC5 %DNS1%
ipmitool -C17 -Ilanplus -H%1 -U%UserID% -P%password% raw 0x0c 0x01 0x03 0xC6 %DNS2%
Example IP: 10.21.12.85
DNS1=0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xff 0xff 0x0a 0x15 0x0c 0x55
Command looks like below:
ipmitool -C17 -Ilanplus -H%1 -U%UserID% -P%password% raw 0x0c 0x01 0x03 0xC5 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xff 0xff 0x0a 0x15 0x0c 0x55
This is an example only, you need to change the IP address into Hexa format to use above command. Only last 4 values they need to change.
You can use the following website to convert from ip to hex : Convert an IP Address to Hex - Online Hex Tools
Regards
Jose A.
Intel Customer Support Technician
For firmware updates and troubleshooting tips, visit:
https://intel.com/support/serverbios
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jose,
Thanks a lot for this, I'll give it a try later today! Is there a guide somewhere to all these raw commands? I'd like access to the full functionality of the hardware, but these raw commands are brutal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello superwombat,
This is this Intel IPMI Technical Resources website with plenty of information IPMI Technical Resources (intel.com). Other than that will be a 3rd party forum of similar.
Regards
Jose A.
Intel Customer Support Technician
For firmware updates and troubleshooting tips, visit:
https://intel.com/support/serverbios
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello superwombat,
I am just following up to double-check if you found the provided information useful. If you have further questions please don't hesitate to ask. If you consider the issue to be completed please let us know so we can proceed to mark this thread as closed. I will try to reach you back on next Monday 29th. After that the ticket will be automatically archived.
Regards
Jose A.
Intel Customer Support Technician
For firmware updates and troubleshooting tips, visit:
https://intel.com/support/serverbios
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello superwombat,
We will proceed to mark this thread as closed. If you have further issues or questions just go ahead and submit a new topic.
Regards
Jose A.
Intel Customer Support Technician
For firmware updates and troubleshooting tips, visit:
https://intel.com/support/serverbios
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page