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.
MaxLenAsked:
Who is Participating?
 
Pete LongConnect With a Mentor Technical ConsultantCommented:
>>Sorry for trouble you

Its no trouble - thats why Im here,

OK without going into the OSI Model and how things route ill try and answer the question as simply as I can :)

Every IP address has (at least) two parts (I say at cause there can be three - but lets confuse the issue) Theres a Host part and a network part

for example, let look at one of your IP addresses

Network B:
IP Address: 10.9.2.37
Subnet Mask: 255.255.255.0

this tells me your IP address breaks down as follows............


10          9          2          37
<--network-------><--Host->

I know this because thats what your subnet tells me.  to get to ANOTHER network (remember you have three) you need to ROUTE the traffic there, a PC can do this but it would need a network card plugged into Two or more subnets. thats why to join networks to gether we need routers.
Routers are only bothered about NETWORKS not hosts so they dont deal with HOSTS. To work out the network number they add the subnet to the IP address (this is not strictly true they use an arthmetical AND statement - but lets not get too technical)

Pete

0
 
Pete LongTechnical ConsultantCommented:
on computer B click start >run >conf {enter}

and follow the on screen promots
0
 
KenzeroCommented:
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.
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
MaxLenAuthor Commented:
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.
0
 
Pete LongTechnical ConsultantCommented:
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
0
 
MaxLenAuthor Commented:
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
0
 
Pete LongTechnical ConsultantCommented:
is there only hubs seperating the network segments?
0
 
MaxLenAuthor Commented:
That's right. Is this design will not work?
0
 
Pete LongTechnical ConsultantCommented:
You need something to "route" between each subnet to work. :(
0
 
MaxLenAuthor Commented:
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.
0
 
Epic_SupportCommented:
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
0
All Courses

From novice to tech pro — start learning today.