LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-24-2004, 06:22 PM   #1
hnash53
Member
 
Registered: Dec 2003
Location: wyoming
Distribution: mandrake and suse
Posts: 31

Rep: Reputation: 15
can't ping remote but can ping local


Just learning about linux networking. Have two mandrake 9.2 machines networked. Mandrake control center indicates both network cards are up. Static IP addresses assigned to same network. IFCONFIG shows IP addresses, netmask, etc. I can ping localhost, but cannot ping other machine. Here's the output:

[root@linux hnash53]# ping 192.168.1.251
PING 192.168.1.251 (192.168.1.251) 56(84) bytes of data.
From 192.168.1.30 icmp_seq=1 Destination Host Unreachable
From 192.168.1.30 icmp_seq=1 Destination Host Unreachable
From 192.168.1.30 icmp_seq=1 Destination Host Unreachable
From 192.168.1.30 icmp_seq=1 Destination Host Unreachable
From 192.168.1.30 icmp_seq=1 Destination Host Unreachable
From 192.168.1.30 icmp_seq=1 Destination Host Unreachable
ping: sendmsg: Operation not permitted
From 192.168.1.30 icmp_seq=2 Destination Host Unreachable
ping: sendmsg: Operation not permitted

Been struggling all day with books, resources, howtos, etc. HELP!!!
 
Old 01-24-2004, 06:58 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,858

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
How is the network configured. Are the computers connected through a hub, switch or router? Are the network cards link lights illuminated? Do you have known good ethernet cables?

Are the firewalls enabled are the PC's. If so turn it off.
 
Old 01-24-2004, 07:04 PM   #3
hnash53
Member
 
Registered: Dec 2003
Location: wyoming
Distribution: mandrake and suse
Posts: 31

Original Poster
Rep: Reputation: 15
connected thru good crossover cable

the comps are connected through a known and tested good crossover cable. I haven't enabled any firewalls, but don't know how to check to see if anything is enabled.

thanks
 
Old 01-24-2004, 07:31 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,858

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Mandrake Control center under security for security settings and firewall settings. Set the security settings for lowest level and verify the firewall is disabled.

Did you check the NIC link lights to see if they were illuminated on both PC's?

What is the output of the following command for each computer
/sbin/mii-tool
 
Old 01-25-2004, 01:12 PM   #5
hnash53
Member
 
Registered: Dec 2003
Location: wyoming
Distribution: mandrake and suse
Posts: 31

Original Poster
Rep: Reputation: 15
/sbin/mii-tool output

[root@linux hnash53]# /sbin/mii-tool
SIOCGMIIREG on eth0 failed: Operation not supported
SIOCGMIIREG on eth0 failed: Operation not supported
SIOCGMIIREG on eth0 failed: Operation not supported
SIOCGMIIREG on eth0 failed: Operation not supported
SIOCGMIIREG on eth0 failed: Operation not supported
SIOCGMIIREG on eth0 failed: Operation not supported
SIOCGMIIREG on eth0 failed: Operation not supported
SIOCGMIIREG on eth0 failed: Operation not supported
SIOCGMIIREG on eth0 failed: Operation not supported
eth0: negotiated 100baseT4 flow-control, link ok
eth1: negotiated 100baseTx-FD flow-control, link ok

What does this stuff mean?
Thanks.
 
Old 01-25-2004, 02:55 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,858

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Two network cards...
Which NIC is connected to the other PC?
Might as well post the output of /sbin/ifconfig -a
 
Old 01-25-2004, 09:24 PM   #7
tveiga
LQ Newbie
 
Registered: Jan 2004
Location: Portugal
Distribution: Slackware 9.0
Posts: 16

Rep: Reputation: 0
It seems to me that you have a problem with your routing table.
Try adding something like this:
route add -n 192.168.1.0 netmask 255.255.255.0 dev {your device}

Hope it solves your problem,
TVeiga.
 
Old 01-26-2004, 03:59 PM   #8
neilcpp
Member
 
Registered: Jul 2003
Location: England
Distribution: Debian Wheezy, FreeBSD 10.0 anything *nix to get my fix
Posts: 328

Rep: Reputation: Disabled
Hi - you said you had TWO machines connected to each other?

Do you have another machine connected to the internet???
I can only repeat what MichealK asked you to do.. post the precise details of how your network is set up. Do you use a cable or dial up modem? Do you have a separate firewall / router?

Post the info & im sure someone will help you
 
Old 01-26-2004, 08:24 PM   #9
hnash53
Member
 
Registered: Dec 2003
Location: wyoming
Distribution: mandrake and suse
Posts: 31

Original Poster
Rep: Reputation: 15
I have two machines connected via crossover cable. I can ping, ssh, into each computer. One computer is connected to the internet via dialup modem. But I cannot seem to share out the dialup modem to the other computer. I am using SuSE 9.0 Professional. I have used Yast2 to enable ip forwarding, masquerading, etc. But still no sharing of modem.

Thanks in advance for any help.

Hal
 
  


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
Strange Ping Issue - Can't ping localhost but can ping others on LAN code_slinger Linux - Networking 13 03-17-2011 02:47 AM
FC4 won't ping 127.0.0.1 or the internet, but will ping local computers jalsk Linux - Networking 4 11-22-2005 05:59 PM
dhcp client can't ping gateway but can ping other local hosts dirty_forks Linux - Networking 7 10-08-2004 10:54 AM
windows 98 m/c ping to ip address of red hat server but fails to ping hostname ravilohot Linux - Networking 2 09-07-2004 04:57 AM
Can't ping local computers tron_thomas Linux - Networking 14 07-20-2004 09:32 PM


All times are GMT -5. The time now is 01:39 PM.

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