Article 5AF7W Wrong ip address - ifconfig

Wrong ip address - ifconfig

by
marjan.sayyad@gmail.com
from LinuxQuestions.org on (#5AF7W)
Hello Everyone,
I have installed CentOS 8. Then I have installed Nagios core on it. I installed it on Vmware 6.5 in my company.
After complete installation of OS and Nagios Core I noticed "ifconfig -a" is showing IP address different than I saved in /etc/sysconfig/network-script/ifcfg-ens192. I gave static IP address on ifcfg0ens192 file.
The problem is "ifconfig -a" is showing one of our dhcp Ip that our user workstation is using.

The thing is both IP address are working on http://IPAddress/nagios without any issue.
I will appreciate if someone can help me why is it showing wrong IP Address.
Thanks,
Marjanlatest?d=yIl2AUoC8zA latest?i=OGIL3xy7YN0:PmwvaYkAcE4:F7zBnMy latest?i=OGIL3xy7YN0:PmwvaYkAcE4:V_sGLiP latest?d=qj6IDK7rITs latest?i=OGIL3xy7YN0:PmwvaYkAcE4:gIN9vFwOGIL3xy7YN0
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments