Link to home
Start Free TrialLog in
Avatar of Guitarman316
Guitarman316

asked on

Fedora Core 2 Networking problem

I've installed Fedora Core 2 and have an intreting ( to a newbie) networking problem.  From eth0 I can connect to my local lan and ping all the pc's on it.  However I can not ping any pc's on the internet.  I have the same problem with ppp0 when I dial up to the internet.  Feels like some kinda routing issue that I'm not seeing.  Here's my ifconfig:

eth0      Link encap:Ethernet  HWaddr 00:02:3F:D6:D3:06  
          inet addr:192.168.0.207  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::202:3fff:fed6:d306/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2779 errors:0 dropped:0 overruns:0 frame:0
          TX packets:289 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:359468 (351.0 Kb)  TX bytes:19163 (18.7 Kb)
          Interrupt:177 Base address:0xa000

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1925 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1925 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2080535 (1.9 Mb)  TX bytes:2080535 (1.9 Mb)

The gateway is setup as well.

The machine is a new laptop a Toshiba A75-S206.

Any help would be appreciated.

Thanks
Avatar of jlevie
jlevie

Does 'netstat -nr' show the correct gateway IP for the default route?

Is DNS correctly set up? Does a ping of an Internet site work by IP but not by hostname?

Is there a firewall on the local network that blocks ICMP (pings)?
Avatar of Guitarman316

ASKER

I just fixed the eth0 problem with route add default gw 192.168.0.207.  I can now get on the lan ok.

As to the questions: the gateway is correct, I couild try pinging by name and get an IP address but it showed dest not reachable same thing for pinging by ip.  Firewall is disabled.

The only issue since the above fix is related to be able to surf through dialup using kppp.  It connects but I can't ping anything on the internet.  

> I couild try pinging by name and get an IP address but it showed dest not reachable same thing for pinging by > ip

That sounds like a gateway problem or that the gateway blocks ICMP. Can you access an Internet site with a web browser?
Now that I've deleted the initial default and add in the new one I can on the LAN.  If I'm running just off of ppp I cannot.
ASKER CERTIFIED SOLUTION
Avatar of jlevie
jlevie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Well, since I've made the fix to be able to access the lan I've not been able to test the ppp connection.  What you describe is the way I want to use it.  On the lan in the office and connected by dialup from home.  There's not an instance I know of where I would need both to be up at once.

I'll test tonight and let you know.  I read in the PPP how to that if there was a default route connection to a nic that KPPP wouldn't create a default route for ppp when it was launched.  It's funny I didn't have to go through all of this with SuSE Pro.  I'm liking the tools and feel of Fedora though.

Thanks for the help.  I'll let you know the results in the morning.
> I read in the PPP how to that if there was a default route connection to a nic that KPPP wouldn't create a default route for ppp when it was launched.

I don't have that problem in RedHat or RHEL, even when the laptop is connected to a network with an active default route via ethernet. The PPP connection replaces the default route for the duration of the PPP session. But then I'm using redhat-config-network to bring up/take down the dial up and don't use KPPP, so I don't know if it might behave differently.
Well, I tried connecting via ppp at home and couldn't make the connection still. Route showed the following:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.12.233  *               255.255.255.255 UH    0      0        0 ppp0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         192.168.12.233  0.0.0.0         UG    0      0        0 ppp0

The only thing I could ping was the one remote address I was connected to.  It was 69. something.  Maybe I should look into using redhat-config-network instead.  I'll try that over the weekend.

I appreciate the help.  If I can get past this and being able to play MP3's (can't all be for work) I think I'll like Fedora.

Thanks again
Well, I've tried to connect from home again and could not.  I looked for redhat-config-network and that apparantly is not in Fedora.  So I decided to go back to SuSE for the moment.  I did save an image of Fedora so I could get back to the same point later.


Thanks for the help.
> The only thing I could ping was the one remote address I was connected to.  It was 69. something.

Was that the IP shown in 'ifconfig ppp0'? That would be the local end of the PPP link. The remote end of that connection was 192.168.12.233.

Your route looked okay. Were you attempting to do the pings by IP, like 'ping -n 1.2.3.4'?

Did the set up of the PPP session properly adjust /etc/resolv.conf?

Regarding MP3 and the like... RedHat doesn't ship an MP3 enabled audio player because of concerns over the licensing issues. But that's pretty easy to solve by going to http://www.xmms.org. And if you want to be able to watch videos in various formats, including DVD's mplayer (http://www.mplayerhq.hu) works very well.