If you want to access the iDRAC from the server itself, that is one of the explicit purposes of the iDRAC Service Module. See: https://www.dell.com/support/kbdoc/en-us/000178050/support-for-dell-emc-idrac-service-module
[root@r7525 ~]# ip a s
...SNIP...
6: idrac: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
link/ether ec:2a:72:04:23:87 brd ff:ff:ff:ff:ff:ff
inet 169.254.1.2/16 brd 169.254.255.255 scope global idrac
valid_lft forever preferred_lft forever
...SNIP...
It will create a virtual interface on the operating system with IP address in the 169.254.0.0/16 range, typically 169.254.0.2, and the iDRAC will be at 169.254.0.1. You can then directly access the iDRAC from the host OS without having to go external to the server.
See https://grantcurell.github.io/Using%20the%20iDRAC%20Service%20Module/ for a walkthrough and screenshots.