3
1
I have a situation where I need to communicate via telnet to multiple devices that have the same IP address. The context is that I am writing a "final test" of devices in a manufacturing facility. These devices go out to the customer with some default IP address and I would like to NOT change this, even temporarily, for this final test.
I'd like to know if/how this is possible to do with one host machine and preferably one router or managed-switch.
I am not super familiar with managed switches or routers. However, I know that routers support NAT (network address translation) and I know that some routers are very configurable. So would it be possible to have a setup like the following:
A bunch of devices plugged into the ports of a router, each with the same IP address.
Configuration of NAT on the router to map each of those physical ports to a unique IP on the LAN.
The application that interacts with the devices telnets to the unique LAN IP's.
If this is possible then what would be the right vocabulary to describe a router with those features?
3You can't; you can do it one at a time but if multiple devices have the same address you have no control over which device will receive the packet – Ramhound – 2014-02-25T11:24:07.807
@Ramhound, If I were to do it one at a time, does there exist a switch that would allow me to programmatically "disable" specific physical ports? – Angelo – 2014-02-25T11:27:01.557
@Angelo if you mean disabling ports at the switch, then yes, but you need managed switch then. It costs more than a bunch of NICs though. – LogicDaemon – 2014-02-25T20:24:47.753
@LogicDaemon, thanks, I've modified my question to try to make my problem a little more clear. Disabling ports, on second thought, would be too much of an obstacle if I can get it work some other way. – Angelo – 2014-02-25T22:13:50.517
The only way would be static APR address. However, Telnet is a TCP/IP application. So setting a device's or devices' MAC to a "fake" IP on a managing system via static APR will not work. – SgtOJ – 2014-02-26T00:01:24.427