Computer Related > Two computers - one internet connection Miscellaneous
Thread Author: Crankcase Replies: 18

 Two computers - one internet connection - car4play
When either machine is connected to the internet and working ok what ip address does it use? E.g on the mac under system preferences what does it say for network->airport. On the pc if you run the command prompt what does it give for "ipconfig"?

The reason is that the easy way to get both machines on the net at the same time is that they share the same outside (WAN) ip address of the Virgin cable modem by doing NAT (network address translation). This would give a connected pc one of the local ip addresses (usually something like 192.168.xxx.xxx). A DHCP server would automatically assign this to your pc but is not necessary. Eg Most of our machines here don't use our DHCP server for their configuration.

If your Virgin modem does not do NAT (because it is just a modem and not a modem/router) then you can either
- buy a NAT modem/router instead
- add a NAT router to it (eg. Apple's Airport Extreme will connect to DSL and do NAT and the wireless access at the same time - and DHCP serving if you want that too)
- effectively get one of the connected PCs to do NAT by "sharing their internet connection". You would have to have that pc on for the other to work and you would also have to wire one of the connections because you cant share wireless to wireless for example.
- a final way is to get Virgin to give you 2 WAN ip addresses if they can although this really isnt the way to go at all.

It is better security-wise to be connected by NAT because then any shared services (eg file sharing) are on non-standard ports for people on the outside of your home.
 Messages Author Date
 Two computers - one internet connection new Crankcase 14 Apr 10 22:14
 Two computers - one internet connection new Zero 14 Apr 10 22:21
 Two computers - one internet connection new Crankcase 14 Apr 10 22:30
 Two computers - one internet connection new Iffy 14 Apr 10 22:34
 Two computers - one internet connectio.. new Crankcase 14 Apr 10 22:40
 Two computers - one internet connect.. new Iffy 14 Apr 10 22:44
 Two computers - one internet connec.. new Crankcase 14 Apr 10 22:48
 Two computers - one internet conne.. new Iffy 14 Apr 10 22:54
 Two computers - one internet conne.. new rtj70 14 Apr 10 23:05
 Two computers - one internet connection new rtj70 14 Apr 10 23:02
 Two computers - one internet connection new Crankcase 14 Apr 10 22:46
 Two computers - one internet connection new Zero 14 Apr 10 23:12
 Two computers - one internet connection new rtj70 14 Apr 10 23:16
 Two computers - one internet connection new car4play 15 Apr 10 06:17
 Two computers - one internet connection new Crankcase 15 Apr 10 08:42
 Two computers - one internet connection new rtj70 15 Apr 10 10:25
 Two computers - one internet connectio.. new movilogo 15 Apr 10 12:16
 Two computers - one internet connect.. new rtj70 15 Apr 10 12:20
 Two computers - one internet connec.. new Crankcase 15 Apr 10 20:13
Latest Forum Posts