Results 1 to 10 of 10
Enjoy an ad free experience by logging in. Not a member yet? Register.
Connect 2 PC's on different networks but in the same room
In short my question is: how can I connect two computers which are connected to different corporate networks but which are in the same room.
At my office I have a desktop and a laptop. The laptop is connected to my work's network via an ethernet cable in a wall socket. My desktop is connected to the network of another organization which is in the same building via an ethernet cable in another wall socket. This is so because I need access to both networks. However, I want to exchange files between the two computers, and also run commands from one on the other. I would prefer to do this through SSH.
What is the best way to achieve this?
The laptop has WiFi and my work provides wireless access to its network. The desktop lacks bluetooth. Both my computers run OpenSuse 12.1.
Thank you for any suggestions.
DaanOS's I use: Debian testing, Debian stable, Ubuntu, OpenSuse 12.1, Windows 7, Windows Vista, Windows XP
Can't you also connect your laptop to the wall socket of the other company and use it's wireless for your work?
- Join Date
- Jan 2009
It depends on how the corporate networks are configured. If it's one company I would expect one network to be accessible from another. However, if the routing between those is disabled, you will need some kind of tunneling, vpn, etc.
Thanks rukiaEnix and Balda.
The two networks belong to different organizations and there is no direct access from one to the other. That's why the IT guys switched one wall socket to connect to the other organization's network. I was looking to set up SSH tunnelling, but because both networks are behind a firewall, this would require a computer in the middle (e.g. my home computer) and that wouldn't be very efficient when transferring large files.
Connecting both PC's to the other network and use the wireless for my organization's network might be a good option. I could ask the IT guys to also change the connection of the other wall socket. One question I have though: how do control which network interface is used for which task? For instance, I would use ssh to transfer files from my laptop to desktop through the wired connection, but I would have to use the wireless for access to certain file servers.
Thanks, DaanOS's I use: Debian testing, Debian stable, Ubuntu, OpenSuse 12.1, Windows 7, Windows Vista, Windows XP
- Join Date
- Jan 2009
The routing table specifies on which interface the other organization's network can be reached. For instance:
route add -net 22.214.171.124 netmask 255.255.255.0 dev wlan0Code:
route add -host 126.96.36.199 dev wlan0
Lazydog, I doubt they would fire me if I did make a networked connection between the two computers, but of course I do not want to frustrate the efforts of any IT department, so I'll talk to them before I make a connection.
But what then is a convenient way to exchange files between the two computers? A USB stick?OS's I use: Debian testing, Debian stable, Ubuntu, OpenSuse 12.1, Windows 7, Windows Vista, Windows XP
but of course I do not want to frustrate the efforts of any IT department, so I'll talk to them before I make a connection.
But what then is a convenient way to exchange files between the two computers? A USB stick?
Did you configure manually your network configuration files?