Link to home
Start Free TrialLog in
Avatar of MaxLen
MaxLen

asked on

IP Forwarding / Routing

Dear Experts,

I need to transfer my data from a LAN to another LAN. My architecture is.....

 B (WXP) <-> HUB <-> A (WXP) <-> HUB <-> C (W2K)

The IP for B is Static. A and C is using DHCP IP. I want to transfer my data from Station C to Station B through A, which is not at the same network group.

I have set the IPEnableRouter = 1 at the registry, which is posted on some websites, but I am still unable to do so.

Kindly provide me guidance, or related URLs.

Thanks.
Avatar of Pete Long
Pete Long
Flag of United Kingdom of Great Britain and Northern Ireland image

on computer B click start >run >conf {enter}

and follow the on screen promots
Avatar of Kenzero
Kenzero

All you need to do is add a route statement to the network pc that is in the middle, from what you discribed you have network b with a pc with one nic card and then you have network a with a pc with 2 nic cards and then network c.  On the pc with two nic cards that is basicly on both networks you need to add a route statement so it will know to travel across its other nic card to make the connection.  It would look like this all xxx.xxx.C.0 goes to xxx.xxx.C.xxx being c.xxx is the ip of the card that is on the other network. now for network C to get to network B you will have to add another route so C knows to go across the other card as well it would look the same but just take the C out and put in a B.  But this would only work if the middle network has an address on each nic card that matches both networks, if it doesn't then one address will have to change or you will have to add another nic card or two to the middle pc.
Avatar of MaxLen

ASKER

PeteLong,

Thanks for your answer, but there is some questions that I need to clarify with you, as I am not familiar with all these network issues:-
1. What is route statement? How I can do this?
2. How to let the Network C knows where to go?

To make my question more precise, here are the IP address that I am using.

Network B:
IP Address: 10.9.2.37
Subnet Mask: 255.255.255.0
Gateway : -

Network A.1
IP Address: 10.9.2.38
Subnet Mask: 255.255.255.0
Gateway : -

Network A.2
IP Address: 10.9.1.39
SubNet Mask: 255.255.255.0
Default Gateway: 10.9.1.8

Network C
IP Address: 10.9.1.133
Subnet Mask: 255.255.255.0
Default Gateway: 10.9.1.8

Thanks.
TO add a route statement to windows 2000 or XP you first need to check its routing table

start >run >cmd {enter}
route print {enter}

to add a route

route add <network number> mask <subnet mank of that network> <ip address of the next hop> -p
the -p makes it a persistant route i.e it will always be there

PCA --------------PCB-------------------PCC

PCA
ip 194.189.189.2                       IF PCA wants to get to PCC then it needs to know where to go next
sm 255.255.255.0                     route add 192.168.0.0 mask 255.255.0.0 194.189.189.1  <--you dg would do this for you
dg 194.189.189.1                      route add 172.16.1.0 mask 255.255.255.0 192.168.1.1  <---you only need to do this

PCB
ip 192.168.1.2                          route add 172.16.1.0 mask 255.255.255.0 172.16.1.1
sm 255.255.0.0
dg 192.168.1.1

PCC
ip 172.16.1.2
sm 255.255.255.0
dg 172.16.1.1
Avatar of MaxLen

ASKER

PeteLong,

Sorry, the sample u gave is not working as it should be.

Could you give me the exact command based on my ip configuration posted early? or could you provide me URLs with details explainations?

Thanks
is there only hubs seperating the network segments?
Avatar of MaxLen

ASKER

That's right. Is this design will not work?
You need something to "route" between each subnet to work. :(
Avatar of MaxLen

ASKER

Sorry for trouble you. May I know what is your "something" refer to?

The PCB is served as a seperated of both subnet, as I plugged in 2 network cards. Each network card is connected to 1 subnet. Can I do it with this design?

Thank you.
ASKER CERTIFIED SOLUTION
Avatar of Pete Long
Pete Long
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
IPv4Router: Enable / Disable IP Packet Forwarding (Routing). Routing starting work immediately, without reboot. Works on Windows Vista, Windows 7, WinPe 2.x and WinPe 3.x

http://www.itstuff.ca/2009/06/downloads-itstuff-labs.html