Results 1 to 3 of 3
Hi,
I want to move my localhost machine to another city. I am wondering how I can have the same connections that I had before. I connect to localhost through ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-27-2006 #1Just Joined!
- Join Date
- May 2006
- Posts
- 8
how to move localhost machine to another place and have prior connections
Hi,
I want to move my localhost machine to another city. I am wondering how I can have the same connections that I had before. I connect to localhost through gateway machine. I connect to other remote machines through the localhost. All the machines run under Debian Linux 2.6.X. Do I have to modify the /etc/network/interfaces only?
Thank you in advance for your answer.
- 05-31-2006 #2
localhost is usually a name applied to the machine that you're using the console or X session of, it is normally assigned to IP address 127.0.0.1. It's not normally a completely seperate and individual machine on its own.
Perhaps you could explain a little more about your networking config so we can help?Linux user #126863 - see http://linuxcounter.net/
- 05-31-2006 #3Just Joined!
- Join Date
- May 2006
- Posts
- 8
Here is how the connection between the machines looks like. I connect
(with ssh) from a machine that is called gateway to another machine, which
I am going to move, by ssh -p 2358 localhost. After the connection is
established I connect to the other machine by 'ssh machine.name'.
Here is how '/etc/network/interfaces' file for the machine that I intend
to move looks like:
auto lo eth0 ppp0
iface lo inet loopback
iface eth0 inet static
address 192.168.0.27
netmask 255.255.255.0
gateway 192.168.0.1
iface ppp0 inet ppp
provider yyy
'network/interfaces' file for the gateway machine looks like the following:
auto lo eth0 eth1
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
broadcast 192.168.0.255
iface eth1 inet static
address 209.87.243.xxx
netmask 255.255.255.224
gateway 209.87.243.xxx
broadcast 209.87.243.xxx
iface ppp0 inet ppp
provider xxx-dialup
Would I modify only '/etc/network/interfaces' and
'/etc/resolv.conf' files?
Would you please help with this matter? I am really stuck.
I really appreciate your help.


Reply With Quote
