Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    how to move localhost machine to another place and have prior connections

    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.

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Nottingham, England
    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 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

  3. #3
    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'.

    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

    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

    iface eth1 inet static

    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.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts