On Fri, 8 Aug 2003 02:57:23 -0700, "Ajay Chaudhari"
<(E-Mail Removed)> wrote:
>When two network adapters are present in a computer,
>
>If one of the network adapters is used to connect to the
>Internet,IP 172.16.71.29 netmask 255.255.0.0 gateway
>172.16.1.1
>For the network adapter that is connected only to the
>Local Area Network (LAN), IP 192.168.1.2 netmask
>255.255.255.0 gateway "none"
>
>What should be the gateway or
>
>what route should be added useing the route.exe commond so
>that all the computers on the Local Area Network (LAN)
>needs to obtain access to the Internet.
Change the default gateway on the network (client) pc's to 192.168.1.2
On the pc with the two cards you need to make a change to the registry
to enable ip forwarding between the two interfaces
On win9x this is
System Key:
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\VxD\MSTCP]
Value Name: EnableRouting = 1
Data Type: (string value)
Value Data: (0 = disabled, 1 = enabled)
For winxp/2k/NT
System Key:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip\Parameters]
Value Name: IPEnableRouter
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = disabled, 1 = enabled)
Jim.
|