Re: redhat 9 - one machine no longer gets network access beyond router

From: Neil Horman (nhorman_at_rNeOdShPaMt.com)
Date: 12/09/03


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


Relevant Pages

  • Re: Networking problem
    ... machine 2# HP Z8000 laptop xp media center on board lan and 802.11 windows firewall off. ... router linksys befw11s4 ... Network activity lights flash on the router on the port in use. ... I finally got it to the point that from the desktop i can ping the ip ...
    (microsoft.public.windowsxp.general)
  • Re: how do i configure??
    ... possible that if you connect the Internet input of a router to the ICS ... NIC on the laptop, ...
    (microsoft.public.windowsxp.network_web)
  • Re: moved a working network, now it doesnt work
    ... router I can ping the internet with no problem. ... From one of your Linux machines can you ping the FA 0/1 interface (default ... are NOT natting so if CAN ping from the router, ...
    (comp.dcom.sys.cisco)
  • Re: how do i configure??
    ... the ICS be 'only' be able to access the 'one' necessary site. ... like a router for the other computers. ... 'limited' to what IP address that the laptop is viewing or are the ... be on in order for any of the other computers to access the Internet), ...
    (microsoft.public.windowsxp.network_web)
  • Re: XP SP2, Cant access internet with 1 PC out of 3 updated
    ... w/out the router? ... Uninstall SP2 again and see what happens. ... > I can ping the rounter from this problem PC (Toshiba laptop), ... I can't access the internet from the Toshiba. ...
    (microsoft.public.windowsxp.general)