I have a linux PC (Debian Squeeze) which is located into a room in another town (I cannot physically access to this PC from where I am)
This PC is linked to internet using an internet box. I can connect to this PC using ssh through port 22 (actually I have a NAT from remote box port XXXX to PC's port 22).
One of my collegue connects a 3G key. I then use sakis script to connect this PC to 3G network, and then my ssh connection is hanged (Broken pipe). My collegue can still access to the PC from his local network using ssh; I can't.
What are the reasons why 3G connection stops the external ssh connection ? How can I solve this issue (keeping my ssh connection opened while 3G connection is made) ?
Edit: additional information
I connect using the NAT, before 3G script is launched
IP does not change for eth0 (the interface I use to connect)
A new interface is added after 3G connection :
ppp0 Link encap:Point-to-Point Protocol
ip route (before 3G connection)
172.16.210.0/24 dev br0 proto kernel scope link src 172.16.210.254 192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.50 default via 192.168.0.254 dev eth0
ip route (after 3G connection)
10.64.64.64 dev ppp0 proto kernel scope link src 10.99.122.183 172.16.210.0/24 dev br0 proto kernel scope link src 172.16.210.254 192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.50 default via 10.64.64.64 dev ppp0