In my setup I have a Zabbix Server on a Hyper-V Ubuntu Server 22.04 LTS VM which is running on Server A. The Ubuntu Server has two virtual interfaces of which each is associated to one physical interface.
Both interfaces are in the same subnet; one is connected to an RMC Port (of Server B) and the other is connected to a normal LAN port of Server B.
This is the current netplan (of the Zabbix Server):
network: ethernets: # 1st network interface - Goes to RMC eth0: dhcp4: false addresses: [10.100.100.4/28] # routes: # - to: 10.100.100.12/28 # via: 10.100.100.11/28 # 2nd network interface - Goes to standard LAN port eth1: dhcp4: false addresses: [10.100.100.8/28] routes: - to: 0.0.0.0/0 via: 10.100.100.11/28
The problem now is, that I can only fetch data over one port at a time.
- If I only define interface
eth1, I can fetch data from Server B.
- If I define both interfaces with or without routes, I can fetch data from RMC but not from Server B. I can ping the Zabbix Server from Server B, but I can't connect to it (open the web dashboard).
Therefore I'm guessing, that if the Zabbix Server receives data, it is confused and doesn't know over which interface it should respond. I've started reading about routing-policy but it seems like it is used when having two IPs on the same interface.
Am I completely misunderstanding something or what am I missing?