Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

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

Reply
 
Thread Tools Display Modes
  #1  
Old 12-09-2003, 07:16 PM
Default redhat 9 - one machine no longer gets network access beyond router



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?


Umilla Quant
Reply With Quote
  #2  
Old 12-09-2003, 08:31 PM
Neil Horman
Guest
 
Posts: n/a
Default Re: redhat 9 - one machine no longer gets network access beyond router

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

Reply With Quote
  #3  
Old 12-09-2003, 08:47 PM
Jim Fischer
Guest
 
Posts: n/a
Default Re: redhat 9 - one machine no longer gets network access beyond router

Umilla Quant wrote:
> [snip]
>
> 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, [snip]
>
> 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?


What is the output from the ifconfig(8) program on your laptop?

[laptop]$ /sbin/ifconfig -a

--
Jim

To reply by email, remove "link" and change "now.here" to "yahoo"
jfischer_link5809{at}now.here.com


Reply With Quote
Reply

Tags
access, longer, machine, network, redhat, router

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 06:59 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.