Access to sub network unreachable.
Mikkel L. Ellertson
mikkel at infinity-ltd.com
Sat Jan 10 01:20:15 UTC 2009
Simon Slater wrote:
> Hi all,
> I'm sure I have missed something simple (or done something
> stupid) but have no idea what so I'll ask anyhow.
>
> All the computers on our SOHO network had static addresses in the
> 192.168.0.1-9 range with netmask of 255.255.255.0 and all worked fine
> for ages. Now I have a Linksys gateway which has a default address of
> 192.168.1.1 for configuration. It works fine as a DSL router but I
> cannot use a browser to access the configuration. All I get is "An
> error occurred while loading http://192.168.1.1: Could not connect to
> host." Pinging returns "Destination Host Unreachable".
>
> I changed the netmask for the ethx device to 255.255.0.0 but this made
> no difference. What have I forgotten?
>
> Thanks
If I understand what is going on, your default route is probably set
to 192.168.0.1 (Your old router?) so the system is trying to access
192.168.1.1 through a gateway that is no longer there. You can add a
temporary route so you can talk to it. Something like:
route add -host 192.168.1.1 eth0
or
route add -net 192.168.1.0 netmask 255.255.255.0 eth0
Mikkel
--
Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20090109/5b35f426/attachment-0001.bin
More information about the users
mailing list