I am using an RPi3 with Debian Jessie to run my Nagios monitoring.
I have moved from a VM based Linux host so I know the clients (specifically Windows using NSClient++) are working properly.
The instance sits on two networks, 172.25.245.0 and 192.168.101.0
Most of the servers are available on both networks.
Code:
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether b8:27:eb:c4:e5:3e brd ff:ff:ff:ff:ff:ff
inet 172.25.245.116/16 brd 172.25.255.255 scope global eth0
valid_lft forever preferred_lft forever
inet 172.25.0.47/16 brd 172.25.255.255 scope global secondary eth0
valid_lft forever preferred_lft forever
inet6 fe80::ba27:ebff:fec4:e53e/64 scope link
valid_lft forever preferred_lft forever
4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:50:b6:1b:9e:11 brd ff:ff:ff:ff:ff:ff
inet 192.168.101.116/24 brd 192.168.101.255 scope global eth1
valid_lft forever preferred_lft forever
inet 169.254.19.52/16 brd 169.254.255.255 scope global eth1
valid_lft forever preferred_lft forever
inet6 fe80::7cda:800f:4fe4:474f/64 scope link
valid_lft forever preferred_lft forever
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 172.25.255.254 0.0.0.0 UG 0 0 0 eth0
default 172.25.255.254 0.0.0.0 UG 202 0 0 eth0
link-local * 255.255.0.0 U 204 0 0 eth1
172.21.0.0 * 255.255.0.0 U 202 0 0 eth0
192.168.101.0 * 255.255.255.0 U 0 0 0 eth1
When the 192.x was eth0 I was able to access the servers that were on that network but I had issues accessing servers that were not.
I then thought I would be clever and switch the interfaces to what you see above but it's still not working.
I am fairly frustrated and out of ideas for the moment.
Anybody have suggestions?