Solved

IP Forwarding / Routing

Posted on 2004-04-08
12
4,083 Views
Last Modified: 2009-07-01
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.
0
Comment
Question by:MaxLen
12 Comments
 
LVL 57

Expert Comment

by:Pete Long
ID: 10783121
on computer B click start >run >conf {enter}

and follow the on screen promots
0
 

Expert Comment

by:Kenzero
ID: 10784752
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
 

Author Comment

by:MaxLen
ID: 10789071
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
 
LVL 57

Expert Comment

by:Pete Long
ID: 10790424
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
 

Author Comment

by:MaxLen
ID: 10890449
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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 57

Expert Comment

by:Pete Long
ID: 10891142
is there only hubs seperating the network segments?
0
 

Author Comment

by:MaxLen
ID: 10900172
That's right. Is this design will not work?
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 10902297
You need something to "route" between each subnet to work. :(
0
 

Author Comment

by:MaxLen
ID: 10906393
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
 
LVL 57

Accepted Solution

by:
Pete Long earned 200 total points
ID: 10907452
>>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
 

Expert Comment

by:Epic_Support
ID: 24759721
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

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Suggested Solutions

Most of the time we are in fix when all of sudden our systems behave weirdly.  Such problems cost time and effort... so it's best to take some preventive actions so that we can avoid such issues or overcome such problems more easily. Preventive M…
If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article (http://rdsrc.us/u3GP7A) first and run the tool TDSSKiller (http://rdsrc.us/GDBBs4) to get rid of the infection. Once done, and if the …
This video discusses moving either the default database or any database to a new volume.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now