I want to share my DSL connection with another computer in my home, I have the modem which has only one port, from where a cable comes out and goes into my computer's NIC. I also have an Ethernet switch having 5 ports. Pleas tell me what to do.

link|improve this question
1  
This should be moved to superuser.com – fahadsadah Aug 8 '10 at 11:53
3  
You keep asking questions that are inappropriate for this site. Please read the FAQ. – John Gardeniers Aug 8 '10 at 12:40
Something tells me this'll be a dupe on SU... – squillman Aug 8 '10 at 17:14
feedback

migrated from serverfault.com Aug 9 '10 at 8:27

This question came from our site for system administrators and desktop support professionals.

6 Answers

As Sven said.

  • If you have a DSL ROUTER, configure it to use NAT.

  • If you have a DSL MODEM, get a DSL Router - there is no way to do what you want with a DSL Modem. What you ask for is identical to use two mobile phones with the same SIM card AT THE SAME TIME - not doable. A DSL Router can make your network appear to be ONE computer for the ISP (through what is called NAT).

link|improve this answer
feedback

are you using USB modem or normal lan port modem

if u using LAN port modem disconnect network cable from your PC NIC card and connect to 5 port switch then connect from switch to pic's NIC card

link|improve this answer
Again: No. This only works with a DSL router, not with a modem. – SvenW Aug 8 '10 at 14:57
feedback

If you only have one port from your ADSL router, I'm assuming its a USB port, and if is a USB port you probably have a 'dialup' connection to the internet.

What you are able to do is is share that dial up connection.

The 'router connected pc' will be used as an internet gateway for your other computers. This computer will supply all the other Pcs in your LAN with an IP address and a default gateway address. Instructions can be found here

EDIT; I missed the part where its mentioned that the cables goes into the NIC. If that was not the case I'd would have recommend sharing a PPPoE connection.

Well in that case. Enable DHCP on the router. Configure the router with your ISP settings and confirm you can browse the net and the run the router to a switch.

or, just a get a router/switch combo. they arent expensive.

link|improve this answer
1  
No, this is not correct. In many places, DSL modems are quite common. They decode the DSL signals and then send PPP encapsulated packets on an ethernet port, which gets connected to a PC where the packets will be unpacked. Of course, you can then use Internet connection sharing, with all it's drawbacks. Better option would be to replace the modem with a integrated modem/router combo or connect the modem with a cheap router (without the DSL modem). – SvenW Aug 8 '10 at 13:08
Lots of pretty ignorant assumptions. While I am a big fan of DSL Routers, there ARE dsl modems as Sven said, and for a one computer setup they may be quite common (as: cheaper). I would assume the poster knows at least what it said on the packaging of the parts he installed. – TomTom Aug 8 '10 at 13:18
feedback

Connect the ethernet cable from DSL modem to switch and connect both your machines to the switch.

link|improve this answer
1  
No, that can't work. The modem sends PPP (or PPTP) encapsulated packages, they must be processed first. – SvenW Aug 8 '10 at 13:10
@SvenW That's not always the case.. Depends on the modem – Tom O'Connor Aug 8 '10 at 14:19
Even if a modem would send ethernet frames not encapsulated in PPP/PPTP, it still wouldn't work like that. By definition, a modem is not a router. If you want to connect more than one device to the same DSL connection, you need a router. It's important to keep the terminology straight here: A DSL router might include the modem functionality, but a pure modem just translates DSL signals to ethernet signals, it doesn't care about routing at all. – SvenW Aug 8 '10 at 14:55
feedback

buy a broadband router (cheaper than a dsl router), unplug the ethernet cable from the computer and plug it into the broadband router, plug both your computers in the broadband routers and go.

link|improve this answer
feedback

Connect both computers thru the switch to create an internal network, then use Internet Connection Sharing (ICS) to share the Internet connection of the directly connected computer with the other.

The following Microsoft article describes what to do :
Using ICS (Internet Connection Sharing)

For XP, the following article may be more exact:
How to configure Internet Connection Sharing in Windows XP

image

link|improve this answer
feedback

Your Answer

 
or
required, but never shown