Networking Forums

Networking Forums > Computer Networking > Windows Networking > shareing a internet connection

Reply
Thread Tools Display Modes

shareing a internet connection

 
 
Ajay Chaudhari
Guest
Posts: n/a

 
      08-08-2003, 09:57 AM
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.

 
Reply With Quote
 
 
 
 
James Egan
Guest
Posts: n/a

 
      08-08-2003, 10:58 AM
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.

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless router - Shareing High speed internet connection Bjorn Wireless Networks 4 01-20-2007 08:57 PM
File shareing between PPC and Desktop Jon C Wireless Networks 3 09-06-2005 11:09 AM
odd shareing problem John Smith Windows Networking 3 12-03-2004 11:40 PM
shareing my broad band connection neil Wireless Internet 3 08-18-2004 08:55 PM
Shareing your interests. Timbo Home Networking 1 12-15-2003 09:25 PM



1 2 3 4 5 6 7 8 9 10 11