Networking Forums

Networking Forums > Computer Networking > Linux Networking > redhat 9 - one machine no longer gets network access beyond router

Reply
Thread Tools Display Modes

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

 
 
Umilla Quant
Guest
Posts: n/a

 
      12-09-2003, 06:16 PM
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?
 
Reply With Quote
 
 
 
 
Neil Horman
Guest
Posts: n/a

 
      12-09-2003, 07:31 PM
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
 
Jim Fischer
Guest
Posts: n/a

 
      12-09-2003, 07:47 PM
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

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Machine network access Richard Johansson, Parnasso Windows Networking 1 11-01-2008 02:33 PM
How to create RedHat Linux machine as router chonja@inbox.lv Linux Networking 1 04-21-2005 02:31 PM
Use a redhat enterprise machine as Remote Access server for Win2K network? Niall Porter Linux Networking 0 10-13-2004 11:54 AM
How can I access my home linux machine which is connected through Router Santa Linux Networking 5 06-28-2004 10:31 PM
One Win 98 Machine no Longer goes on my LAN - How to fix? Howard Ehlers Windows Networking 1 11-18-2003 07:30 AM



1 2 3 4 5 6 7 8 9 10 11