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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Broadband Intenet connection sharing

Status
Not open for further replies.

mdm708

Programmer
Apr 22, 2003
29
0
0
GB
I have two computers, one has broadband and is running Win2000 Pro. The other is running Xp Pro.

The two computers are linked with two Ethernet cards in each and a crossover cable.

I have enabled Internet connection sharing for the broadband on Win2K, and have disabled the XP computer from dialing its own connection, but the XP computer just won't recognise that it can share the other PC's broadband connection.

It's not a problem with the cable, because Win 2000 can get documents off the other computer without any fuss.

It's not a problem with the shortcut on the start menu - I've checked that.

Can anybody help?
Thankyou.
mdm708
 
Have you tried using the network connection sharing wizard on the XP machine?

C:\DOS:>
C:\DOS:>RUN
RUN DOS RUN!!
 
tetaguila: I have been on analogx.com and - to be honest - I don't understand a word! Thanks anyway.

Crundy: Yes, I have tried the XP network setup machine; it completes the wizard and doesn't fix the problem. Thanks anyway.

manarth: I will reinstall the ICS if I cannot fix the problem (and when I can find the disc...)

Thankyou for your help
mdm708
 
I'm sure you have already checked, but I thought I'd make sure: Do you have any firewall software running on either of the two machines?

Can the machines talk to each other when the broadband is disconnected? If so, you probably have a routing problem and can fix it by adding a static route with something like:

route -p add 192.168.0.0 mask 255.255.255.0 192.168.0.1


C:\DOS:>
C:\DOS:>RUN
RUN DOS RUN!!
 
Crundy: This sounds good - I have a firewall running on Win2000 - ZoneAlarm. However, my computers can can still share documents and access each other's resources (eg printers) when the broadband is disconnected.

However, I am very inexperienced with DOS and type-in commands: how would I go about this 'route -p add 192.168.0.0 mask 255.255.255.0 192.168.0.1'?

Thankyou very much for your help.

mdm708

[Iffy computing. Stupid username.]
 
OK, you used the internet connection sharing wizard, so the machine with the broadband connection has the IP address of 192.168.0.1 and all the machines that connect to the internet through it will have IP addresses of 192.168.0.X (this is the standard IP address range for personal networks).

What is possibly going wrong is that when the broadband is connected, the machine thinks that all traffic should be going down the broadband route (which isn't true for the other machine) so you need to add a static route. Go start/all programs/accessories/command prompt and enter this line:

route -p add 192.168.0.0 mask 255.255.255.0 192.168.0.1

This line says "for all traffic to the IP address range 192.168.0.X, send it down the adapter with IP address 192.168.0.1 (the ethernet card)".

C:\DOS:>
C:\DOS:>RUN
RUN DOS RUN!!
 
I'm sorry - which computer should I add this command to?

mdm708

[Iffy computing. Stupid username.]
 
The one with the broadband connection

C:\DOS:>
C:\DOS:>RUN
RUN DOS RUN!!
 
I did it, but when I try accessing the Internet from the XP computer (without rroadband) I just get 'this page cannot be displayed'.

mdm708

[Iffy computing. Stupid username.]
 
actually, ICS should (!) automatically assign the appropriate route(s).

try (dos command) "route print" on each machine, and post back what you've got.

<marc> i wonder what will happen if i press this...[pc][ul][li]please give feedback on what works / what doesn't[/li][li]need some help? how to get a better answer: faq581-3339[/li][/ul]
 
just putting my &quot;two cents&quot; in.

have you checked to make sure that ICS is in fact in your network components AND add/remove programs list under windows components heading? just to make sure it installed properly.

&quot;Jack of all trades. Master of none.&quot;
[americanflag]
 
MANARTH:

On the Win2K computer:

C:\>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x1000003 ...00 c1 26 11 7a 95 ...... Realtek RTL8139/810x Family Fast Ethernet
NIC
0x2000004 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 81.77.122.41 81.77.122.41 1
62.25.200.13 255.255.255.255 81.77.122.41 81.77.122.41 1
81.77.122.41 255.255.255.255 127.0.0.1 127.0.0.1 1
81.255.255.255 255.255.255.255 81.77.122.41 81.77.122.41 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.0.0 255.255.255.0 192.168.0.1 192.168.0.1 1
192.168.0.1 255.255.255.255 127.0.0.1 127.0.0.1 1
192.168.0.255 255.255.255.255 192.168.0.1 192.168.0.1 1
224.0.0.0 224.0.0.0 81.77.122.41 81.77.122.41 1
224.0.0.0 224.0.0.0 192.168.0.1 192.168.0.1 1
255.255.255.255 255.255.255.255 192.168.0.1 192.168.0.1 1
Default Gateway: 81.77.122.41
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
192.168.0.0 255.255.255.0 192.168.0.1 1

On the XP Computer:
I will post the results shortly.


INTERNETECH:

Under Add/Remove programs I donot have 'ICS', but have 'Freeserve Broadband Connection, 5.33 MB'/

Under Device Manager, I DO have 'Copperjest ADSL modem connecting with Freeserve Broadband'.

mdm708

[Iffy computing. Stupid username.]
 
MANARTH:

Here is the result from the 'route print' command on the XP Computer (sorry for the delay, for some reason it won't just copy+paste):

==================================
Interface List
0x1...........................MS TCP Loopback Interface
0x10003 ...00 20 af b5 9b 4d ...... 3Com Etherlink III ISAPNP Ethernet Adapter

<generic 3C509b>
==================================
==================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.0.1 192.168.0.152 30
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.0.0 255.255.255.0 192.168.0.152 192.168.0.152 30
192.168.0.152 255.255.255.255 127.0.0.1 127.0.0.1 30
192.168.0.255 255.255.255.255 192.168.0.152 192.168.0.152 30
224.0.0.0 240.0.0.0 192.168.0.152 192.168.0.152 30
255.255.255.255 255.255.255.255 192.168.0.152 192.168.0.152 1
Default gateway: 192.168.0.1
=================================
Persistent Routes:
None

mdm708

[Iffy computing. Stupid username.]
 
you can install 2 nic in win2k box, one goes to hub and the other to ur internet provider normally, it's connected with dsl router if u r using dsl, so the xp pro should be connected to hub or switch, jst enable the internet connection sharing and use private ip address or if the isp will give you public ip better! but dnt forget to configure the gateway to ur xp box so that xp box can access the internet...

hope this will help....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top