Re: redhat 9 - one machine no longer gets network access beyond router
From: Neil Horman (nhorman_at_rNeOdShPaMt.com)
Date: 12/09/03
- Next message: Jem Berkes: "Re: Tool like wget to upload?"
- Previous message: Juha Laiho: "Re: Tool like wget to upload?"
- In reply to: Umilla Quant: "redhat 9 - one machine no longer gets network access beyond router"
- Next in thread: Jim Fischer: "Re: redhat 9 - one machine no longer gets network access beyond router"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 09 Dec 2003 15:31:42 -0500
Umilla Quant wrote:
> Hi,
>
> I have a small home network with 2 machines (desktop and laptop, both
> with RedHat 9) and a dlink router/hub/access point. Both machines
> access the internet throught ethernet connections to the router. Both
> had been working fine with no problems.
>
> Then I put a pcmcia modem on the laptop so I could use it to access
> the internet on the road. I disconnected the laptop from the ethernet
> and set up KPPP to use the modem to acces the internet. Once I got
> this set up, I took out the modem and reattached the laptop to the
> ethernet network.
>
> Now, however, the laptop will not access the internet or anything
> beyond the router. The laptop can ping the router, and it can ping the
> desktop,but when I try to ping a machine on the internet beyond the
> router, I get:
>
> $ ping yahoo.com
> PING yahoo.com (66.218.71.198) 56(84) bytes of data.
>
> --yahoo.com ping statistics---
> 20 packets transmitted, 0 received, 100% packet loss
>
> (so the router [which is also the dns server] successfully resolves
> the IP address of the remote machine and sends that to the laptop but
> the laptop cannot send pings [or receive pings?] to/from the remote
> machine)
>
> I can still ping machines on the internet from the desktop machine
> with no problem.
>
> So I presume what happened was that setting up kppp changed some
> configuration files that had been working so now they don't. I haven't
> been able to figure out what, though.
>
> Both machines have similar /sbin/route outputs:
>
> desktop$ /sbin/route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
> 139.254.0.0 * 255.255.0.0 U 0 0 0 eth0
> 127.0.0.0 * 255.0.0.0 U 0 0 0 lo
> default router 0.0.0.0 UG 0 0 0 eth0
> desktop$
>
>
> laptop$ /sbin/route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
> 139.254.0.0 * 255.255.0.0 U 0 0 0 eth0
> 127.0.0.0 * 255.0.0.0 U 0 0 0 lo
> default router 0.0.0.0 UG 0 0 0 eth0
> laptop$
>
> ...and idential resolv.conf files:
>
> $ cat /etc/resolv.conf
> ; generated by /sbin/dhclient-script
> search localhost.localdomain
> nameserver 192.168.0.1
> $
>
> Does anybody know what went wrong and how to fix it?
Do you use the same default router ip address when you are on the road?
Your route table lists 'router' as the default router hostname? If
that resolves to the ip address that you use on your desktop, that may
explain your problem, assuming your remote connection is on a different
subnet.
HTH
Neil
-- Neil Horman Red Hat, Inc., http://people.redhat.com/nhorman gpg keyid: 1024D / 0x92A74FA1, http://www.keyserver.net
- Next message: Jem Berkes: "Re: Tool like wget to upload?"
- Previous message: Juha Laiho: "Re: Tool like wget to upload?"
- In reply to: Umilla Quant: "redhat 9 - one machine no longer gets network access beyond router"
- Next in thread: Jim Fischer: "Re: redhat 9 - one machine no longer gets network access beyond router"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|