observium secondary IP
Hello, Can we configure a secondary IP address for the observium server and use this to add devices? the primary IP will be routed on the primary link based on tunneling technology and the secondary IP will be routed on the backup MPLS link.
Thank you and Regards,
Toky,
This isn’t really an Observium question per se, it’s more down to the host OS. If you can reach the networks from the host, it should work ok.
We don’t control the source address used to reach things, that’s left to the host OS itself.
Adam.
From: observium observium-bounces@observium.org On Behalf Of Toky ANDRIANASOLO via observium Sent: 08 May 2022 20:02 To: Observium observium@observium.org Cc: Toky ANDRIANASOLO toky.andrianasolo@comdatagroup.com Subject: [Observium] observium secondary IP
Hello,
Can we configure a secondary IP address for the observium server and use this to add devices?
the primary IP will be routed on the primary link based on tunneling technology and the secondary IP will be routed on the backup MPLS link.
Thank you and Regards,
Toky,
@Toky, if you`re using MPLS I would recommend to tweak BGP to be sending the same /32 prefix over both circuits with different metrics. Or you can achieve same by static route from the PE to CE with different metrics. We can take it out of this thread if you need need more guidance.
ne 8. 5. 2022 v 21:02 odesílatel Toky ANDRIANASOLO via observium < observium@observium.org> napsal:
Hello, Can we configure a secondary IP address for the observium server and use this to add devices? the primary IP will be routed on the primary link based on tunneling technology and the secondary IP will be routed on the backup MPLS link.
Thank you and Regards,
Toky,
[image: https://app.livestorm.co/comdata-group/services-financiers-comment-optimiser...] https://app.livestorm.co/comdata-group/services-financiers-comment-optimiser-votre-back-office?type=detailed&utm_source=Email&utm_medium=email&utm_campaign=Webinar+banque+-+FR _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
The source IP isn’t under Observium’s control. It could theoretically be, but it isn’t. I would strongly recommend using a single IP on your Observium server, and putting it behind an actual router that can make intelligent routing decisions for it. Technically, Linux has the routing capability to do so, but putting both functions on a single box would be a really bad idea because Observium doesn’t set the source IP address, so it would be… difficult, at best, to control, and you would have random failures all day long.
Having servers with backup IP addresses to match backup links is a network design anti-pattern, i.e. something that looks like a good idea at the time, but is actually a horrible nightmare to operate once you build it. Also, the fail-over functionality you just described is literally why dynamic routing protocols exist, so… if price is an issue, go buy a Mikrotik hEX router which will happily pump ~300-400Mbps all day long for <US$100, configure OSPF over the two links, and put Observium behind that. Better yet, use something higher-end than a Mikrotik, but… I have to say Mikrotiks do work, and they are cheap. If you’re in a virtual environment, feel free to spin up a second Linux host and use that as a router.
If you really, really want to run it all on one system, you’re now into rtables which are… black magic. Not literally, obviously, but the Linux kernel can maintain two separate routing domains at once and assign different processes to different rtables. Use one for Observium and another for the routing function.
But none of these solutions involve having more than a single IP address for Observium.
-Adam (UNIX specialist and Network Architect)
Adam Thompson Consultant, Infrastructure Services [MERLIN] 100 - 135 Innovation Drive Winnipeg, MB R3T 6A8 (204) 977-6824 or 1-800-430-6404 (MB only) https://www.merlin.mb.cahttps://www.merlin.mb.ca/ [cid:image002.png@01D8648B.6E00D650]Chat with me on Teamshttps://teams.microsoft.com/l/chat/0/0?users=athompson@merlin.mb.ca
From: observium observium-bounces@observium.org On Behalf Of Toky ANDRIANASOLO via observium Sent: Sunday, May 8, 2022 2:02 PM To: Observium observium@observium.org Cc: Toky ANDRIANASOLO toky.andrianasolo@comdatagroup.com Subject: [Observium] observium secondary IP
Hello, Can we configure a secondary IP address for the observium server and use this to add devices? the primary IP will be routed on the primary link based on tunneling technology and the secondary IP will be routed on the backup MPLS link.
Thank you and Regards,
Toky,
[https://www.comdatagroup.com/wp-content/uploads/2022/05/bandeau-Webinar-Banq...]https://app.livestorm.co/comdata-group/services-financiers-comment-optimiser-votre-back-office?type=detailed&utm_source=Email&utm_medium=email&utm_campaign=Webinar+banque+-+FR
participants (4)
-
Adam Thompson
-
adama@observium.org
-
Jan Horacek
-
Toky ANDRIANASOLO