Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I share my internet connection using a router?

I get from my provider and as a DNS server, mask is

I suppose 150 is my gateway now.

What IP should have the router set? What addresses, masks and other settings should the PCs in my LAN have?

EDIT: is the address of the access point. I connect another access point with router to the other one and want to have another subnet. Is this possible?

share|improve this question
Can you clarify, please? Who is "your provider"? If your computer's address is you are already using a router, which has the address Are you connecting your computer wirelessly? If so, you can probably just attach another computer, and it will get its IP address automatically from this router. If not, you should really explain more about your situation. – slhck Dec 27 '11 at 11:38
Please tell us how your PC is connected to the router, and edit and post a copy of ipconfig /all – Paul Dec 27 '11 at 12:09
Your ISP is not assigning you as an ip address. That is a local network ip address, its an invalid public ip address, and does not exist outside of your local network. – Ramhound Dec 27 '11 at 12:58
@Ramhound In some cases, ISP may in fact provide such an address and ISP's "LAN" may be connected to the Internet. – AndrejaKo Dec 27 '11 at 13:24
I have updated the question. – takeshin Dec 27 '11 at 14:08
up vote 1 down vote accepted

Router is the device that connects two different networks together. So you must theoretically have two different networks on both sides of your router.

From what you have written in your question I suggest that that is not your provider, but rather your router that assigns you the IPs you provided: 192.168.*.* is common for local network topologies, not for WAN addresses. The only strange things here seems to be your DNS, that is usually not the same server as your GateWay.

On the other side you might also be in the situation common in many dormitories where your "provider" is your landlord or home management office and you get the IPs from the local network assigned to your personally. Since you mention using the router this seems to be the address assigned to your router, not to your private PC. In this case you can just connect as many clients to your router as you want, both using cable or wirelessly and they all will use the shared line for Internet connection.

You don't have to configure your clients beforehand, rather you better activate the DHCP service on your router so that the latter will automatically distribute the available IP address pool to your clients and manage those (having certain expriration time etc.).

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .