Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Internet connections in house computers. 1

Status
Not open for further replies.

srivika

Programmer
Aug 10, 2001
1
US
Hi I have 2 PC's (Windows 2000 server, Windows 98) and I have 2 NIC's on Server PC and 1 NIC on Win 98 PC.
I have Cable modem connection. I want to connect to internet from both of my PCs.
I know that I can do it in 2 ways.
1. Configuring Router.
2. Configuring NAT.
I connected these 2 PCS with crossover cable. But I dont know how to configure these PCS (router/NAT).
I am not able to see the files from one pc to another.

My server PC is connected to internet using Cable modem.


Please help me regarding configuring, sharing, connecting to internet.

Thanks a lot
- Srini
 
Hi Srivika
If your server has 2 network cards,
one NIC connected to the LAN, and the other one connected to a cable/xDSL modem, then you can set up NAT very easily.


Right click on RRAS in MMC (or look for Routing & Remote Access in Programs -> Administrative Tools), and choose 'enable Routing & Remote Access'
Select 'manual configuration' and click next until the setup has completed
After completion, right click on 'general' under the IP routing section, and choose 'New Routing Protocol'
Choose NAT from the list

Right click on 'Network Address Translation' under the IP routing section, and choose 'new interface'
All the interfaces, both logical & physical are listed here
First, select your public interface (=interface that has an public internet IP)

Set this interface to 'public interface connected to the internet' and check 'translate TCP/UDP headers'
Do the same for the internal interface, and set it's properties to 'private interface connected to private network'

Right click 'Network address translation (NAT)' and choose properties
Go to the address translation tab, and make sure the checkbox 'automatically assign IP addresses by using DHCP' is DISABLED
In the tab 'Name resolution', make sure everything is disabled as well.

Assuming that your server is running DNS :
Now go to the DNS snap-in in mmc, right-click on the local server name, and choose properties
Go to the forwarders tab, and enable forwarders
Fill in the address of the DNS server of your ISP, and click OK

Reboot your server

Client configuration : if your clients have a fixed IP, make sure the default GW is pointing to your RRAS server, and that the DNS server is pointing to the RRAS server as well (by using the forwarder, your RRAS server will be able to resolve all names, including internet addresses...)
If your clients are using DHCP, make sure the DHCP scope options are assigning the IP address of your RRAS server as default gateway, and that the IP address of the DNS server is pointing to your RRAS server as well...

Try to ping to Try to tracert to
If these 2 tests work, then you will be able to surf the internet.

Kapil
Technical Director
Infovalley Interwebspiders Pvt. Ltd.
Microsoft Certified System Engineer
visit
If u find the information provided here useful to u then let me know by clicking on the link below s-)
 
Hi, Kapli,

My network has one dns server runing win2k adv server and the clients are runing win2k, winme, win98, win2k adv server(as cliend but will be nat server).

Can I still use the same steps that you give here to share the internet connection?

Thanks
Eric Chen
 
hi erictchen
yes u can follow these steps :)
as long as the machine u r deploying RRAS is the one connecting ur internal lan to the outside world :)
u can ask me any futher problems u have
Kapil Kapil Aggarwal

Technical Director
Infovalley Interweb Pvt. Ltd.
Microsoft Certified System Engineer
visit
If u find the information provided here useful to u then let me know by clicking on the link below s-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top