Posted by : Ray
Friday, April 23, 2010
If we have 7 computer and 2 hub/switch, and we want make 2 different network which can access internet, we need 1 computer with 3 network card. One of network card connect to cable or DSL modem which connect to internet. Then connect other network card to switch/hub, so this computer can becomes a router.
Configure the computer which becomes a router :
Router (Windows XP Professional)
Network Card A ( connect to A ):
IP: 10.10.10.1
Netmask: 255.255.255.0
Gateway (GW): [leave blank]
IP: 10.10.10.1
Netmask: 255.255.255.0
Gateway (GW): [leave blank]
Network Card B ( connect to B ):
IP: 192.168.20.1
Netmask: 255.255.255.0
Gateway (GW): [leave blank]
Network Card C ( connect to internet via cable or DSL )
IP: 192.168.1.1
Netmask: 255.255.255.0
Gateway (GW): 192.168.1.1
Configure all computer on network A :
Network A
IP: 10.10.10.2-254
Netmask: 255.255.255.0
Gateway (GW): 10.10.10.1
IP: 10.10.10.2-254
Netmask: 255.255.255.0
Gateway (GW): 10.10.10.1
Configure all computer on network B :
Network B
IP: 192.168.20.2-254
Netmask: 255.255.255.0
Gateway: 192.168.20.1
IP: 192.168.20.2-254
Netmask: 255.255.255.0
Gateway: 192.168.20.1
Configure ip forwarding on computer which becomes a router
1) Start – Run – Regedit
2) Find location :
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
Right click on IPEnableRouter, then click Modify.
4) Close the registry and restart the computter.
5) Now all computer on network A and network B can connect to internet and can sharing all file and printer.
Related Posts :
- Back to Home »
- computer networking »
- IP Forwarding - Make Computer becomes a Router
