1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Routing between two xp machines

Discussion in 'Networking (Hardware & Software)' started by jawdoc, 2005/12/27.

  1. 2005/12/27
    jawdoc

    jawdoc Inactive Thread Starter

    Joined:
    2002/10/27
    Messages:
    102
    Likes Received:
    0
    Hello
    I have a routing question on two windows xp machines:
    Here is my setup:

    PC1

    Network Card on LAN with access to internet 192.168.0.2
    Firewire connection to PC2 192.168.2.1

    PC2
    Firewire connection to PC1 192.168.2.2(set gateway to 192.168.2.1)

    PC1 can get to the internet fine.
    Can ping back back and forth from PC1 to PC2 through firewire interface.

    I am sure that I need to add a route entry to PC1 but I am not sure what that would be. I have done this in the past but now cannot remember.
    I tried to bridge the connections on PC1 but that prevented killed my connection from PC1 to PC2 all together.
    Any help on this is greatly appreciated!
     
  2. 2005/12/30
    rsinfo

    rsinfo SuperGeek Alumni

    Joined:
    2005/12/25
    Messages:
    4,076
    Likes Received:
    178
    route ADD <destination> <destination mask> <gateway>

    In your case it would be
    route ADD 192.168.2.2 255.255.255.0 192.168.2.1
     

  3. to hide this advert.

  4. 2005/12/30
    patwhatsthat

    patwhatsthat Inactive

    Joined:
    2005/12/28
    Messages:
    2
    Likes Received:
    0
    Good answer from rsinfo, just don't forget the -p switch (for persistent) or else you'll be doing the route add statement everytime you restrart the computer
     
  5. 2005/12/30
    jawdoc

    jawdoc Inactive Thread Starter

    Joined:
    2002/10/27
    Messages:
    102
    Likes Received:
    0
    Bridge worked

    Actually I had already set the default gateway correctly. That was my problem.
    To correct I bridged the firewire and the nic connection on pc1. Then set pc2 to dhcp(I had set the ip manually to the .2 network)
    Then pc2 obtained the ip via dhcp server.
    Now I can get to the internet via pc2,see shares on pc1.
    I upgrading to a new pc this allows me to move stuff and get on the internet to download updated drivers etc.
    Thanks for the help.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.