rerouting IP

Discussion in 'Hardware Discussion & Support' started by rushstrike, Jul 20, 2002.

  1. rushstrike

    rushstrike New Member

    Joined:
    May 29, 2002
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    0
    Hi i am running windows xp now. I know that there is a way to reroute an IP to a different address (for example, whenver my comp try to connect to 12.224.186.4 then it'll redriect to 12.224.186.5) but I forgot how. If anyone know please help!!.
     
  2. rushstrike

    rushstrike New Member

    Joined:
    May 29, 2002
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    0
    come on people help me!! 17 reads and 0 replies!!
     
  3. DallasStar

    DallasStar Junior

    Joined:
    May 13, 2002
    Messages:
    2,065
    Likes Received:
    1
    Trophy Points:
    0
    Go to C:\windows\system32\drivers\etc

    use notepad to open the file in this directory called "hosts"

    Now, at the bottom of the file, start a new line and type in the IP you want to rerout to. Press spacebar. Now, type in the address of the site that you want to rerout. (I hope that made sense). If this doesn't make sense, just open up the hosts file and read the instructions that the Microsoft folks typed (I think mine are a bit clearer :bleh: )
     
  4. DallasStar

    DallasStar Junior

    Joined:
    May 13, 2002
    Messages:
    2,065
    Likes Received:
    1
    Trophy Points:
    0
    with this example, you would type:

    12.224.186.5 12.224.186.4

    This would mean that whenever you try to go to 12.224.186.4, you would be directed 12.224.186.5.
     
  5. Vampyromaniac

    Vampyromaniac confutatis maledictis

    Joined:
    May 15, 2002
    Messages:
    5,974
    Likes Received:
    10
    Trophy Points:
    0
    Also useful for creating URL shortcuts

    1. open a command prompt, type "ping driverheaven.net", it'll show you the IP address
    2. in the hosts file, add the line "216.127.74.135 dh"
    3. now you can just type "dh" in the address bar, instead of the full address, or going to the favorites/bookmarks menu

    :)
     

Share This Page

visited