Global ETH0 and Global Secondary ETH0 IP Addresses

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Brooks
Posts: 36
Joined: Thu Dec 10, 2015 2:29 pm

Global ETH0 and Global Secondary ETH0 IP Addresses

Post by Brooks »

Hello,

When the VM for our Nagios installatation got configured we configured the ip address for one static ip address. I just noticed the following outputwhen I enter the command ==>ip addr show (Note these are not actual ip addresses - just using these 2 addresses as an example)

(below ip address is the static address I configured)
inet 192.168.10.30/23 brd (broadcast ip address) scope global eth0
(not sure how the below DHCP address got assigned)
inet 192.168.10.50/23


- The question is this a normal ip address configuration (static ip address for the website) or did I miss something during the configuration? I would like to use static for both.

Thanks,
Bob
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Global ETH0 and Global Secondary ETH0 IP Addresses

Post by rkennedy »

Brooks wrote:Hello,
- The question is this a normal ip address configuration (static ip address for the website) or did I miss something during the configuration? I would like to use static for both.
I'm a bit confused about what you're asking. When you say 'website' are you referring to your Nagios XI? What do you mean by 'I would like to use static for both' - both what?

Can you post the full output of ifconfig for us to look at?
Former Nagios Employee
Brooks
Posts: 36
Joined: Thu Dec 10, 2015 2:29 pm

Re: Global ETH0 and Global Secondary ETH0 IP Addresses

Post by Brooks »

yes, sorry about that. The nagiosxi web interface is the static ip address that I set during the installation. I was assuming that this would be the only ip address configured. But there appears to be 2 ip addresses. I'm just wondering how the 2nd address got configured. Both ip addresses get me to the webgui.
Brooks
Posts: 36
Joined: Thu Dec 10, 2015 2:29 pm

Re: Global ETH0 and Global Secondary ETH0 IP Addresses

Post by Brooks »

I should display what the 2nd address shows:
(below ip address is the static address I configured)
inet 192.168.10.30/23 brd (broadcast ip address) scope global eth0
(not sure how the below DHCP address got assigned)
inet 192.168.10.50/23 (broadcast ip address) scope global secondary eth0


- So, how did the secondary eth0 get configured with an ip address?
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Global ETH0 and Global Secondary ETH0 IP Addresses

Post by rkennedy »

I don't believe Nagios makes any changes to interface configuration, so I'm not sure how the 2nd address got configured either.

Was the system a fresh install? Is anything else on the machine?

Once again, can you please post the output of ifconfig for us to take a look at?
Former Nagios Employee
Brooks
Posts: 36
Joined: Thu Dec 10, 2015 2:29 pm

Re: Global ETH0 and Global Secondary ETH0 IP Addresses

Post by Brooks »

the configuration was from a preconfigurable virtual machine (VMWARE) that I downloaded from the site. I followed installation instructions to get everything up and running. the ifconfig output shows only the 2nd address I noted
Brooks
Posts: 36
Joined: Thu Dec 10, 2015 2:29 pm

Re: Global ETH0 and Global Secondary ETH0 IP Addresses

Post by Brooks »

disregard. I did a reboot and now I see the one static ip address from the command ==>ip addr show

- sorry for the false alarm. Not sure what I did (perhaps I triggered some action from the web interface that did something funky with an ip function).

You can close this case.

Thanks for the response.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Global ETH0 and Global Secondary ETH0 IP Addresses

Post by jolson »

Please run the following and get the information back to us:

Code: Select all

ls /etc/sysconfig/network-scripts/ifcfg-e*
cat /etc/sysconfig/network-scripts/ifcfg-e*
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
Brooks
Posts: 36
Joined: Thu Dec 10, 2015 2:29 pm

Re: Global ETH0 and Global Secondary ETH0 IP Addresses

Post by Brooks »

thanks for the reply Jolson but i'm all set now. If I see this same issue again I will note some of the commands and post the output in another post.

Thanks again,
Bob
Locked