Bind Icinga2 Client to specific IP Interface

Hello to All,

we have VM’s with 10 IP Interfaces and 10 IP’s

Some like so

IP Interface lo1 = IP 10.1.176.1

IP Interface lo10 = IP 10.1.176.10

So someone can tell me, how i can bind Icinga2 Client to an specific Interface like “lo2”

When the Icinga2 Client is not bind to an IP Interface it would work with 10 IP’s and can not connect to the Master Server.

Port 5665 in the Firewall is open.

Does someone now how i can implemantate a Route to the Interface “lo2”

Thanks for your help …

Hello to All,

we have VM’s with 10 IP Interfaces and 10 IP’s

So, one VM has 10 interfaces, each with a single IPv4 on it?

Some like so

IP Interface lo1 = IP 10.1.176.1

I would not use “lo” as the base name of any interface other than loopback.

I think it’s very likely to confuse someone about what’s going on when they
look at such a setup in 6 months’ time.

I suggest something like “Veth” instead.

IP Interface lo10 = IP 10.1.176.10

Um, what’s the netmask on these interfaces?

So someone can tell me, how i can bind Icinga2 Client to an specific
Interface like “lo2”

You don’t bind Icinga to an interface; you bind it to an address. This is
done using the “address” parameter of the Host object for the VM.

When the Icinga2 Client is not bind to an IP Interface it would work with
10 IP’s and can not connect to the Master Server.

Why not? What does your routing table look like?

Port 5665 in the Firewall is open.

Does someone now how i can implemantate a Route to the Interface “lo2”

I think we need to understand a bit more about what you’re trying to do and
why.

For example, you say that one VM has 10 interfaces, and they’re addressed
10.1.176.1 to 10.1.176.10.

What is the netmask on those interfaces?

Why do you have 10 interfaces on one VM?

Why do they have consecutive addresses?

What is each interface intended to talk to?

What does your routing table look like?

What is your default route?

What is the IP address of the Icinga Master?

If you can explain anything else to help us understand what this rather
unusual setup is intended to achieve, that would be helpful.

Antony.

2 Likes