Thank you all for your answers.
Let me clarify a few points.
NAT is turned on in the router. The DHCP address range is 192.168.0.x,
where the router is 192.168.0.1.
I should also point out that the router has an integrated modem.
Now, when all the settings on the pcs are set to "automatically
detect", each pc is assigned an IP address in the 192.168.0.x range,
and the internet is to accessible. At this point, the modem, connected
to a LAN port, is not assigned an IP address. If I check the router's
attached devices, only the pcs are displayed.
If however I set, on one of the pcs, my ISP DNS servers, that PC is
assigned the ISP IP address (81.1.10x.x), and is therefore connected
to the internet. It is however not anymore connected to the intranet,
meaning I can't access the router settings and I can't see the other
pcs.
I'm getting really fed up with this. Is all of this happening because
of the integrated modem?
Thank you all very much for your help.
On Mon, 07 Feb 2005 16:17:33 +0000, Lurch
<(E-Mail Removed)> wrote:
>On Mon, 07 Feb 2005 10:31:48 +0000, NickC
><(E-Mail Removed)> strung together this:
>
>>The problem I am having is that I have only one IP address to connect
>>to the Internet with.
>
>Not a problem, most people in the UK have only one IP address with
>more than one machine behind it.
>
>>The setup at the moment is as follows:
>>
>>Adsl modem (provided by Homechoice) connected to telephone socket at
>>one end, and to router via ethernet. The router then connects the
>>other pcs in the house.
>>
>>The issue is in DHCP. If DHCP is turned on in the router, the network
>>works fine, but I have no access to the internet. I am assuming it is
>>because the router tries to assign an IP address to the modem as well,
>>which it can't do, meaning that the modem isn't seen on the network.
>>
>No, the LAN and WAN side of the router are totally independent of each
>other. The WAN side of the nmodem picks up the IP address from your
>ISP. The LAN side of the modem then either picks up a DHCP IP address
>from the router or it can be fixed. This should be in a private
>address range such as 192.168.1.*.
>The WAN side of the router should have an IP address in the same
>subnet as the modem LAN side, i.e. 192.168.1.*.
>The LAN side of the router then needs a IP address range seperate from
>the WAN side, such as 192.168.0.* and the PC's all connect to the
>router in this range, either statically or by DHCP.
>
>So, you will have
>
>Modem WAN = DHCP (address picked up from ISP).
>Modem LAN = IP address 192.168.1.1.
>Router WAN = 192.168.1.2, gateway 192.168.1.1.
>Router LAN = 192.168.0.1.
>PC's on network = 192.168.0.2-254 with the gateway set as 192.168.0.1.
>All the above, except the modem WAN, should have a 255.255.255.0
>subnet.
|