[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Access to sub network unreachable.



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!

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]