"He has two legacy boxes with the
same fixed IPs that can't be changed."
Exactly.
I actually have four legacy boxes with the address 1.1.1.101.
I want a C program or programs for the ts-7800 that can
individually talk to each of the legacy devices through the 4
ports of the ts-7800.
So I want
to know if on the ts-7800 can I set up 4 IP
stacks/SOCK/iptables/whatever so that I can have a 4
different networks, lets call them A, B, C, and D, all on the
same ts-7800.
so I
should be able to have a c program of the sort:
talk_to_legacy_device
-n[A|B|C|D] -i[1.1.1.101] -m"message"
where
on all 4
networks, I have established that my node is 1.1.1.200.
when I use
talk_to_legacy_device, the -n parameter lets the c program
know which of the 4 networks I want to send the message out
on, and then also has a listener on that same network for the
response from 1.1.1.101.
eventually
I will have 4 background processes all listening on the four
different networks, for a communication from their respective
1.1.1.101 legacy system, and signal a command program to
format a response and have only that one background process
send the reply.
So can
this arrangement be set up on the ts-7800 or not???