I have a lab setup with multiple pieces of equipment that can be controlled remotely using each one's respective embedded Telnet server. I can connect to each one easily by configuring a static IP for the lab computer and pointing the default gateway to the equipment IP. I have them all plugged into a network switch connected to the computer's Ethernet interface.
As is, I can only interface with one piece of equipment at a time by changing the wired network profile manually. However, I'm now working on a test where I will need to communicate with two different Telnet servers (but not between each other) so manual configuration switching will not work.
How can I configure the network so that outgoing requests go to the proper equipment? (ie. when I send a telnet command to 10.0.0.1 it should route to the network analyzer, but commands sent to 192.168.1.3 should go to the signal generator). The routing solution needs to be able to receive information from both sources as well upon request.
I don't know much about IP routing or Linux, but I'd like to learn, so any help is appreciated! I found a few guides online already, but I don't know enough of the jargon to know what I need to do for my situation. I'm using Ubuntu 20.04.2 LTS.
Thanks!