Sharing internet connection.

Status
Not open for further replies.

Deus Ex Machina

Contributor
I have two machines with single ethernet card and internal modems each.
I have a broadband connection thru Sify. And i want to share it between two machines. It's no problem if the one of the systems has to be runnig for the other to access net.
And plz dont suggest buying a router.
Btw, both machines hav Win98, WinXP, and Fedora Core 1. One of the machines got Solaris.
 
It's no problem if the one of the systems has to be runnig for the other to access net.

Use a crossover Ethernet cable, use 1 machine as the sever (connect it directly to the net)

1)Using the crossover cable, conect the two NIC cards.....
2) Set the IP of the server NIC as a private IP address , say 192.168.0.1
3) Set Internet connection sharing as enabled from advanced properties tab of ur Sify connection (From the conteol panel>network conections)
4) connect to th net
4) switch on the client machine....The client NIC will be assigned an IP automtically by the DHCP on the server
5) Voila. yo'll have the net on both machines now
 
  • Like
Reactions: 1 person
Thanx for the solution. a few queries...
According to this...i shud have two lan cards on the server? Anything i can do by using the two modems i already have?
Correct me if i m wrong, but given 10-15 kbps speed i get....wudnt a modem connection between two pc suffice?
 
oh, ok, Since ur using one of the NICs for ur SIFY connection, u can use the modems for the data connection between the two machines....But before we dwelve into that, 1 quick question...When u say 10-15 kbps, do you means 10-15 KBps (kilobytes) or kbps (kilobits)...I suspect it is the former (given the fact it is a broad band (??) SIFY connection.....and if it is, with a dial up connection usint the two modems, u would get approx 45-50 kbps = 5-6 KBps) on your other machine (client).....

1 Kilobyte = 8 kilobits (And kilobyte KB is what is displayed on the screen when u r downloading a file)

So the question is do you want to use a sower connection on the 2nd machine for saving 350/- on a 2nd NIC card?.....If not, use the crossover connection method...If yes, let me know and I will give u a step by step sol'n to setting up a DUN connection b/w the two.....
Moreover with a DUN connection, file sharing between the two machines would be painful and slow....I have a 11 Mbps wireless peer-peer connection between my two machines, and at times, I regret the slow file transfer speeds between the two....Do you really want to limit it to 56 kbps?
 
hmmmm...Rs. 275 more :(....
But u scared me enuff. Thanx. I'll stick to 2 nic arrangement.
Juss for the sake of knowledge...can u still give the DUN method ?
 
ThunderBolt said:
amm ammm...
Any good ( with pics ) tutorial to "how to connect two systems thru LAN" ?

thats simple without pics.

For TWO machines

Buy and insert Dlink Network Card in each Machine A & B if it is not present onboard in each machine. Usually on newer Motherboards it is onboard. So check before you buy !

Buy Cat 5 or 6 cable with properly crimped (Crossover)

Connect the two machines wit the cable.

Boot your OS

Machine A Ethernet Configure IP for example:
IP = 123.123.123.1
Netmask = 255.255.255.252

Machine B Ethernet Configure IP:
IP = 123.123.123.2
Netmask = 255.255.255.252

In linux howto configure IP for Machine A:
Open terminal and Use command:
ifdown eth0 <---enter
ifconfig eth0 123.123.123.1 netmask 255.255.255.252 up <---enter
service network restart

For machine B:
ifdown eth0
ifconfig eth0 123.123.123.2 netmask 255.255.255.252 up
service network restart

From Machine A ping Machine B:
ping 123.123.123.2

~~~~~~~~~~~~~`
In Windows OS:
Hint = Control Panel > Network Connections > Right click Local Area Connection > Porperties -> Double Click Internet Protocol (TCP/IP)

bye
 
superczar said:
is 123.123.x.x a recognized private ip address....i would suggest usin a 192.168.x.x ip configuration

are u connected to the Internet first of all. it doesn't matter on ur private internal network.

secondly when u type 123.123.x.x that means ur netmask is 255.255.0.0

See what netmask i used: 255.255.255.252

that means the network is : 123.123.123.0
The broadcast is : 123.123.123.3

Only max two hosts possible: 123.123.123.1 and 123.123.123.2

Second possiblity:
network is: 123.123.123.4
The broadcast is : 123.123.123.7
Only max two hosts possible: 123.123.123.5 and 123.123.123.6

and so on....hope u understood
 
~uNIx~ said:
are u connected to the Internet first of all. it doesn't matter on ur private internal network.
Yes i'll shortly be. As soon as i get the LAN working first. Then i'll be connecting to Sify Broadband, as suggested by superczar.
So any changes for that? Also, now i'm running Win98 only, on both the machines. I hope the above config works on win98 too.

There's another problem. I have two NICs' installed on "server" system - one for Sify and another one for LAN. Now the problem is whenever i assign DNS setting to Sify-walla NIC the same setting get applied to LAN-walla NIC :( even though i done need them on that NIC.
 
ok my reply was to when you want to connect two machines. my reply also apply to sharing internet by proxy server. In both cases it doesn't matter if ur internal network is 123.123.123.x etc when you have two NIC on server machine one for internet ISP and the other to ur local network.

So if u are sharing sify connection with the dialer then i am sorry. do it as supersczar said bcoz i not know what that stupid sify has started up.

and no i not comment on win 98 supersczar will help here :)

bye
 
I am on Win98....i cant find any way to do it on this platform. WinXP supports it though.

If i install i proxy server in Win98 on this machine....wont that solve the problem?
 
ThunderBolt said:
I am on Win98....i cant find any way to do it on this platform. WinXP supports it though.

If i install i proxy server in Win98 on this machine....wont that solve the problem?

In linux it is Squid proxy server the ultimate choice :hap2: If u want help in linux then i have already posted a topic here before. :)

~~~
In Win 98 you go in control panel and double click network connection. Then double click TCP/IP and enter IP/Netmask.

Refer: http://www.lboro.ac.uk/computing/external/tcpipw9x.html

The best free proxy server for windows is:
Code:
http://www.janaserver.de/start.php?lang=en
 
I m sorry...cudnt get u??
Can it be done in Win98 with proxy server ( jana or other) ?
Is it possible to share the connection without proxy server as well???
 
If you have win 98 SE, u can use the inbuilt ICS
I'll assume u do have 98SE, so her' what u need to do...

1- Install the 2nd NIC on the 1st PC
2- After installation, go to network properties, and ensure you see One Client for Microsoft networks, Two network adapters AND Two TCP/IP, one for each network adapter
3- If you see only one TCP/Ip here, choose add and add the 2nd
4- Remove Netbeui and IPX as they are not needed
5- I dunno how SIFY has assigned the IP to your 1st NIC...Assuming it is somethin like 192.168.1.10, let that be, and set the 2nd NIC to 192.168.0.1 and subnet mask 255.255.255.0

6- set your Primary Network Login to 'Client for Microsoft Networks'
7- Enable file and print sharing (if u want to)
8 Impoertant- Add ICS to the 1st PC....Been long since i used 98, so i don't rem xactly, but i thin it's done through Add-remove programs>Installed compoents >Internet components>ICS
9- Install and reboot...connect to the netand test on the 1st
Time to setup the 2nd one:

Assumin u've already connected the 2nd NIC (of PC 1) with the NIC of 2nd PC thru a crossover cable

8- Click on network properties
9- Set TCP/IPsettings as follows
- Obtain IP address automaticallyy
- Gateway- 192.168.0.1

Voila
 
to each his own but i stronngly hate ICS and not recommend so i suggest use 3rd party proxy server. Jana is total freeware and very very good for windows. i gave up windows 98 long long time back so i posted what i remember. sorry if u didn't understand but its funny u still stuck up wiith 98 or atleast upgrade to windows 2000. anyways its better to follow whats in your signature thunderbolt i like it :tongue:

here is my rough HowTo Squid proxy on Linux:
http://techenclave.com/forums/showthread.php?p=6022#post6022

there is also a way with Iptables (Ip forwarding)
 
the problem with using proxy servers is that they make certain apps, especially Yahoo messenger run extremely slow.....Try using Yahoo msgr over a poxy server and try to message urself.....They somwhow screw up the latency

to each his own but i stronngly hate ICS
Care to elablorate why?
 
superczar said:
the problem with using proxy servers is that they make certain apps, especially Yahoo messenger run extremely slow.....Try using Yahoo msgr over a poxy server and try to message urself.....They somwhow screw up the latency

no problem for me with proxy servers they run fine. i hve installed jana proxy server on my brothers lame windows PC bcoz my ISP uses a custom PPPoE dialer to connect to the internet and there is no support for linux bcoz the lamer doesn't know how to let roaring penguin compatible. And so i proxy my Linux machine to my bros. PC to acces internet and i have not faced any problems. Otherwise i would have used SQUID in my linux machine. your bad luck if yahoo causes problems oops you tell me to try yahoo as if i am doing it for the first time all this :S

Care to elablorate why?

bcoz i hate windows secondly i am advnced user who will not use lame windows inbuilt applications like internet connection firewall, Internet explorer and so ICS(less powerful in features) if i am a full time windows user which i was many years back and now its linux .

superczar said:
is 123.123.x.x a recognized private ip address....i would suggest usin a 192.168.x.x ip configuration

secondly u make me laugh by your book knowledge. i do all practical and not just follow what i read. u made me laugh when u said that i shuld not use 123.123.123.x and instead use 192.168.x.x on my local network. ha ha my god how come i use 123.123.123.x for so many years then on my local network :O
 
No use :(
Done exactly as suggested by SuperCzar...still no luck :((
The ICS is working and i can connect to net on PC I but the PC II still refuses.
The ip address given by Sify is 10.13.202.114 and i have assigneed 10.13.0.1 to NIC II on PC I.
And i noticed in Intenet Sharing Protocol there was nothing to be selected to be binded.
The ICS configuration shows everything fine..
And as i just found out ...i cant even ping between the two systems anymore. Not connected.
 
Status
Not open for further replies.