Networking Forums

Networking Forums > Computer Networking > Linux Networking > Fedora Core 4 Networking: Ping DNS problem

Reply
Thread Tools Display Modes

Fedora Core 4 Networking: Ping DNS problem

 
 
TrevorAdams@gmail.com
Guest
Posts: n/a

 
      02-26-2006, 03:55 PM
I have recently installed Fedora Core 4 and ran across a network issue.
I use PuTTY to access the FC4 box, and that works fine. I can ping any
internal ip address(behind the router) but can not access DNS servers.
Cannot ping them or anything. When i try to ping an outside ip i
recieve the following error: connect: Network is unreachable. Host name
cannot be found is the error for ping'ing google. I tried a static ip
address and then went back to dhcp and the problem didn't resolve. The
output of ifconfig is :

eth0 Link encap:Ethernet HWaddr 00:03:47:CC:67:B9
inet addr:192.168.1.101 Bcast:192.168.1.255
Mask:255.255.255.0
inet6 addr: fe80::203:47ff:fecc:67b9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5010 errors:0 dropped:0 overruns:0 frame:0
TX packets:6246 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:535593 (523.0 KiB) TX bytes:581144 (567.5 KiB)

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:88 errors:0 dropped:0 overruns:0 frame:0
TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8965 (8.7 KiB) TX bytes:8965 (8.7 KiB)
I am unsure of how to resolve this issue, since i cannot fully get my
FC4 box up and running until i get the network issue resolved. Any help
you can provide would be greatly appreciated.

 
Reply With Quote
 
 
 
 
Robert Harris
Guest
Posts: n/a

 
      02-26-2006, 08:24 PM
(E-Mail Removed) wrote:
> I have recently installed Fedora Core 4 and ran across a network issue.
> I use PuTTY to access the FC4 box, and that works fine. I can ping any
> internal ip address(behind the router) but can not access DNS servers.
> Cannot ping them or anything. When i try to ping an outside ip i
> recieve the following error: connect: Network is unreachable. Host name
> cannot be found is the error for ping'ing google. I tried a static ip
> address and then went back to dhcp and the problem didn't resolve.


It looks as if you are missing a default gateway in your kernel routing
table. If you get your IP address from DHCP, your server normally
provides your gateway address and your DNS server IP address(es) (which
are normally the IP address of your router) which your system will put
into the right place; but if you choose a static IP address you have to
configure them yourself (no doubt there is a Fedora applet to help you).
If you have no luck, post your output from:

netstat -r

and the contents of your file: /etc/resolv.conf (for your DNS)

Robert

> [snip]

 
Reply With Quote
 
TrevorAdams@gmail.com
Guest
Posts: n/a

 
      02-28-2006, 04:00 AM
Ok, i resolved the problem by setting the default gateway in the
network interfaces files. But would this have anything to do with not
being able to access apache from outside the network with correctly
forwarded ports? Connection refused is the error i get, yet while
inside the network i get the welcome page for apache.

 
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
Fedora Core 6 cannot ping WinXP LAN lucren3@gmail.com Linux Networking 6 06-10-2007 03:40 PM
Can't ping by hostname from Fedora Core 5 PostName06@aol.com Linux Networking 2 04-12-2006 03:49 PM
Win XP -Fedora core 1 networking pranjal_srivastava@hotmail.com Linux Networking 0 03-17-2005 04:58 AM
Strange SSH halting problem between Fedora Core 2/Fedora Core 3 Jonathan Abbey Linux Networking 4 12-03-2004 05:00 PM
NFS problem after upgrade to fedora core 1 J.Urban Linux Networking 1 11-17-2004 01:41 PM



1 2 3 4 5 6 7 8 9 10 11