Solved

Fedora Core 2 Networking problem

Posted on 2004-09-23
10
230 Views
Last Modified: 2010-03-18
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
0
Comment
Question by:Guitarman316
  • 5
  • 5
10 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 12135303
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)?
0
 

Author Comment

by:Guitarman316
ID: 12135454
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.  

0
 
LVL 40

Expert Comment

by:jlevie
ID: 12135543
> 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?
0
 

Author Comment

by:Guitarman316
ID: 12136263
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.
0
 
LVL 40

Accepted Solution

by:
jlevie earned 50 total points
ID: 12136470
So now you can access LAN or Internet sites when only using the local network. When you bring up a PPP connection you should be able to access Internet sites via the PPP connection, but you'll loose local LAN access. Is that what you are saying happens?
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

Author Comment

by:Guitarman316
ID: 12136701
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.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 12139859
> 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.
0
 

Author Comment

by:Guitarman316
ID: 12143466
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
0
 

Author Comment

by:Guitarman316
ID: 12159947
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.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 12161881
> 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.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now