Joseph wrote:
On Fri, 2005-08-26 at 13:38 -0400, Willie Wong wrote:

On Fri, Aug 26, 2005 at 10:02:08AM -0600, Joseph wrote:

I have a device with an IP 192.168.0.1 which I need to access via
browser.
My PC gets an IP via DHCP from the router.
What should I use for gateway? I've tired 192.168.0.0 192.168.0

huh? if you get the IP via DHCP, doesn't it also set up the gateway?


No, I set my firewall/router with my numbers.  My main network is set to
Gateway 10.0.0.1  and DHCP pool range (so other devices an get the IP
automatically) is 10.0.0.150 - 10.0.0.180

But the deice I have has a preset from the factory static IP 192.168.0.1
If they set it to anything else like 192.168.0.10 or 192.168.0.100 it
would be easy.

This is a little confusing to me - is there something special about IP 192.168.0.1 compared to any other IP?

I could set my gateway to 192.168.0.1 and DHCP pool range to
192.168.0.10 to 192.168.0.100 and it would work.
When I try to set my gateway to 192.168.0.0 my DHCP pool range
192.168.0.1 to 192.168.0.100 doesn't work.

Not sure what hardware you have around, but if you don't have a crossover cable do you at least have a hub or switch? If you do, just disable DHCP temporarilly on your PC and manually set the IP address to 192.168.0.2, set the gateway to 192.168.0.1 and netmask to 255.255.255.0 and plug the PC and router device into the same hub/switch. This method has worked for me in the past when I have a router with a preset address that needed to be changed.

--
gentoo-user@gentoo.org mailing list

Reply via email to