LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-17-2004, 05:14 PM   #1
trippeer
LQ Newbie
 
Registered: May 2004
Location: St. Louis, MO
Distribution: Fedora
Posts: 5

Rep: Reputation: 0
Unhappy Cannot ping my gateway


I am trying to set up Linux on my Fujitsu s6010 Lifebook and I cannot get networking to work. I tried Fedora yesterday, and I am trying Gentoo today. I have tried static IP and DHCP. I know that the numbers are correct, because they worked with Windows XP 2 days ago on the same computer.

I can ping 127.0.0.1 and I can ping 128.252.223.165 (my IP) but I cannot ping the gateway by IP nor can I ping anything outside.

Please help.

/sbin/ifconfig
Code:
eth0    Link encap:Ethernet HWaddr 00:E0:00:BD:36:AD
           inet addr:128.252.223.165 Bcast:128.252.223.233 Mask:255.255.255.0
           inet6 addr: fe80::2e0:ff:febd:36ad/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
           RX packets:3651 errors:0 dropped:0 overruns:0 frame:0
           TX packets:85 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:100
           RX bytes:302558 (295.4 Kb) TX bytes: 13110 (12.8 Kb)
           Interrupt:11 Base address:0x6800

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:32 errors:0 dropped:0 overruns:0 frame:0
           TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:2932 (2.8 Kb) TX bytes:2932 (2.8 Kb)
 
Old 05-17-2004, 05:30 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
What does your routing table look like:
route -n
 
Old 05-17-2004, 05:37 PM   #3
trippeer
LQ Newbie
 
Registered: May 2004
Location: St. Louis, MO
Distribution: Fedora
Posts: 5

Original Poster
Rep: Reputation: 0
Code:
Kernel IP routing table
Destination       Gateway               Genmask           Flags  Metric  Ref  Use Iface
128.252.223.0  0.0.0.0                  255.255.255.0  U         0         0     0   eth0
127.0.0.0          127.0.0.1              255.0.0.0          UG       0         0     0       lo
0.0.0.0              128.252.223.254  0.0.0.0              UG       1         0     0    eth0
Eh, the formatting is off, but thats it.
 
Old 05-17-2004, 05:53 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Try setting your broadcast to:
128.252.223.255
 
Old 05-17-2004, 06:00 PM   #5
trippeer
LQ Newbie
 
Registered: May 2004
Location: St. Louis, MO
Distribution: Fedora
Posts: 5

Original Poster
Rep: Reputation: 0
I did

ifconfig eth0 128.252.223.165 broadcast 128.252.223.255 netmask 255.255.255.0

When I try to ping 128.252.223.254 it still says Destiantion Host Unreachable
 
Old 05-17-2004, 07:23 PM   #6
trippeer
LQ Newbie
 
Registered: May 2004
Location: St. Louis, MO
Distribution: Fedora
Posts: 5

Original Poster
Rep: Reputation: 0
So is this a hopeless cause? Is it back to Windows for me?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandrake 10.1 can't ping my gateway mgrenier Linux - Networking 2 05-17-2005 10:22 AM
PPP establish can ping the gateway router but unable to ping the host deepalalla Linux - Networking 0 11-18-2004 09:10 AM
dhcp client can't ping gateway but can ping other local hosts dirty_forks Linux - Networking 7 10-08-2004 10:54 AM
can't ping gateway pierogie Linux - Networking 3 08-06-2003 05:38 PM
Can't ping or get resolution beyond gateway. Gladiator Linux - Networking 6 04-05-2002 09:45 PM


All times are GMT -5. The time now is 04:32 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration