Share a USB internet connection

Two PCs running Windows XP professional.

I have a high speed USB 3G modem. This modem connects to the internet by creating a Dialup connection (not the broadband ADSL PPPoE type but the general type). The connection disappears as soon as I disconnect the USB modem from the PC. A dynamic IP address is allocated everytime I connect to the internet with it.

I would like to share it with another PC. Both PCs are connected by a Crossover LAN cable. I would not like to purchase a router.

Options I have thought of --
1. Internet connection sharing
2. Bridging the Internet connections
3. Using a proxy server
4. Using the windows netsh command to create a NAT routing solution
5. Using the route command to add a static route.

Experts Exchange search returned results that were just too old & most of the recommending a Router based solution.

Drawbacks I have thought of that might work with the above with each solution respectively--

1. ICS may be an option, but the connection disappears as soon as it is disconnects. However I am willing to go that way.
2. Same as 1.
3. I have no idea how to implement such a solution, walkthrough appreciated
4. Same as 3
5. Same as 3.

Help as always is appreciated.

Ravi.
Diagram.PNG
LVL 18
Ravi AgrawalAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

c_a_n_o_nCommented:
There are several Proxy servers that are free:
Analog X
http://www.analogx.com/contents/download/Network/proxy/Freeware.htm
Documentation
http://www.analogx.com/contents/download/Network/proxy/Documentation.htm

Other possibilities ...

ac FreeProxy  http://sourceforge.net/projects/acfreeproxy/
http://www.softpedia.com/get/Internet/Servers/Proxy-Servers/FreeProxy.shtml

Years ago I had purchased a product called WinProxy.

I had tested AnalogX about a year ago, it worked.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ravi AgrawalAuthor Commented:
Ok thanks, let me check them out. I'll be back if I have something to say.

Ravi.
0
greg wardSystems EngineerCommented:
1:http://www.annoyances.org/exec/show/ics_xp
3:http://www.reaper-x.com/2006/07/18/complete-guide-on-installing-and-configuring-squid-proxy-server-for-windows/
4. I have not done this.
5:route add 192.168.1.1 mask 0.0.0.0 0.0.0.0 metric 100 (size of metric should be higher than anything else you already have)
use route print to show current metrics.
use route add -p to make a persistent route (stay even after reboot)
 
Greg
0
Discover the Answer to Productive IT

Discover app within WatchGuard's Wi-Fi Cloud helps you optimize W-Fi user experience with the most complete set of visibility, troubleshooting, and network health features. Quickly pinpointing network problems will lead to more happy users and most importantly, productive IT.

Ravi AgrawalAuthor Commented:
@deepdraw

1. It won't work as diaup connection vanishes, ICS is for Ethernet

3. AnalogX proxy seems to be simpler, If I fail with that, I'll try squid

4. no problem, I had a link referring to it but it's down at the moment. Let's hope it revives...
http://gnubox.dnsalias.org/gnubox/sharing.html although not completely related to what I am trying to establish, but it did have a section regarding sharing with NAT.

5. I manage to get successful pings after issuing the route command as follows --

route add 10.168.1.0 mask 255.255.255.0 10.164.52.199 metric 100

Attached is route print file of host machine




route.txt
0
Ravi AgrawalAuthor Commented:
Sorry, hit the submit button unknowingly when not done....

Attached is ipconfig of client which is trying to share the internet connection,--

However DNS names don't resolve nor can I browse the internet. The browser is configure to use a LAN connection without proxy.

Ravi.



ipconfig.txt
0
JaredjarCommented:
use internet connection sharing.Right click on modem ,advanced and share.it is the easiest solution for two pcs.
0
greg wardSystems EngineerCommented:
route [-f] [-p] [Command [Destination] [mask Netmask] [Gateway] [metric Metric]] [if Interface]]
route add 0.0.0.0 mask 0.0.0.0 10.164.52.199 metric 100
 
also add dns server 4.2.2.1
0.0.0.0 mask 0.0.0.0 is everything ie the internet
Greg
0
Ravi AgrawalAuthor Commented:
Its already there in the routing table (first entry)

I can't set it as persistent with the -p switch as the IP address is dynamic. However I guess I need to increase the metric (but since no other route with the same credentials is present, the metric value won't matter).

Any more ideas. The proxy server is working but I can't browse secure sites with it. ;-(

Ravi.

Ravi.
0
greg wardSystems EngineerCommented:
ip address 10.164.52.99 is on your network and you can should be able to make it static however you still need to configure nat on this machine for the other machine to access the internet.
What about a socks proxy?
http://www.youngzsoft.net/ccproxy/
 
Greg
0
Ravi AgrawalAuthor Commented:
Greg,

I simply miss on what you say.

I am not trying to outsmart you, but I have constantly repeated that the IP address to the internet changes as soon as I disconnect, so it is not possible to set it as a static route. Even if I set it, the next time I connect, the defined route will be useless as now the modem will have been issued a new IP address.

Regarding the socks proxy, it is a paid software, so I guess money comes in there, If I need to pay money, then I'd install a router, why pay for a software solution. That's just my idea, please don't take it to heart.

Even if I don't manage to get it working that fine, I guess I've at least found a solution in part so will close it and give you your fair share of points :-)

btw, thanks for the help. I myself have earned quite many points on this site & managed to write a few articles too. Regarding static routes too, here -- http://www.experts-exchange.com/A_2507.html

This is not to make you feel low, but just to say that I completely follow what you were trying to advise but somehow I am missing something that the setup ain't working :-/

Best regards,

Ravi.
0
Ravi AgrawalAuthor Commented:
----  but I have constantly repeated that the IP address to the internet  changes as soon as I disconnect, so it is not possible to set it as a  static route. ----

should be read as

----  but I have constantly repeated that the IP address to the  internet  changes as soon as I disconnect, so it is not possible to set  it as a persistent route. ----
 
Ravi.
0
greg wardSystems EngineerCommented:
Sorry its early morning here.
however what i think you need is to have nat set up on the device your modem is plugged into.
The static address would be that of the computer not the 3g modem.
Sorry about the link, i was reading somewhere else the software was free for three users.
http://mybroadband.co.za/vb/showthread.php?85648-Best-free-proxy-socks-software 
Also this is at the top of the page on the cc proxy website so i guess it would be free for you.
CC Proxy Download - Proxy Server Download - 3-user Free Proxy Server Download Center
 
 
Greg
0
Ravi AgrawalAuthor Commented:
:-)

I too was looking in the NAT direction. Guess will have to see how to implement it.

Regarding proxy, I have trashed the idea at least for now. So NAT remains.

Regardless to say, proxy is working,,, but I'd like to keep the Question open to find a NAT solution as XP can be used as router & I know that well.

Ravi.
0
Ravi AgrawalAuthor Commented:
Hi,

"Routing and Remote Access Services" was disabled, so probably that was the reason for not working. However, I haven't had the time to test the setup. I'll let you know the progress. Give me a few more days.

Ravi.
0
mikekuehCommented:
First off, which 3G USB modem do you use?  I would suggest just going out and purchasing a Mifi which will automatically resolve your issue as long as you have Wifi devices on your computers.  
0
Ravi AgrawalAuthor Commented:
Well its micromax mmx372g HSUPA modem backwards compatible with GPRS. The modem is no issue probably. I am little interested in purchasing additional hardware but I'll have a look at what you have suggested.

The setup works with a proxy server but I apologise for not being able to post any progress regarding the same as I had some other priorities.

I'll try to get the setup working with the netshell utility of windows but I just don't have the time to do it yet.

Ravi.
0
Ravi AgrawalAuthor Commented:
Thanks. Unfortunately, I haven't had the time to test the setup yet and so am closing the Question.

I was not able to try CCproxy but it looks promising. However AnalogX proxy did work for me.

Anyways I was looking for something more complex like creating a NAT interface and then sharing the connection but seems I am running out of time. But I  will try to make it work when I have time and will post the solution here, if I get lucky.

Everybody was a great help. Thanks again.

Ravi.
0
Ravi AgrawalAuthor Commented:
http://mhotspot.com/index.html

Upgraded to Windows 7.

This works.

Ravi.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Broadband

From novice to tech pro — start learning today.