I have a requirement where I have to connect to multiple devices connected to different routers with a same switch.
Linux: Centos 6.5
Switch: Tp link router as switch
- Got LAN connections from switch to 2 routers and Linux.
- Connected devices to router1 and router2.
- Now my requirement is to ssh from my linux to devices connected to those routers.
I'm very new to Networking/linux. Not sure how to connect or SSH from my linux to device connected to those routers. Please help and Thanks in advance.
I want the devices to be connected to different networks and should be able to ssh from Linux so I may not bring them to same subnet. I kind of doing research on static routing and tried few things adding multiple gateways in my eth files but none of them worked.