LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack Search this Thread
Old 10-29-2004, 11:44 PM   #1
cmacklin
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Rep: Reputation: 0
m1 can ping m2, but not vice versa


I am setting up a network at home: q
2X Linux boxes (Mandrake 9q.2)
1X Windows XP

I can ping Linux1 to Linux2, but cannot ping Linux2 to Linux1. Both machines can ping the gateway and I can access the external network from both. Neither can ping the Windows machine, but I am not really concerned about this... yet. On Linux2 I can ping itself (127.0.0.1). I am not sure what I set up differntly. I am using static IPs and I am pinging IPs (although I think I have /etc/hosts the way it needs to be).

Can anyone point me in the right direction?
 
Old 10-30-2004, 01:35 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: At home: Arch, OpenBSD, Solaris. At work: CentOS, Debian, Ubuntu
Posts: 3,625

Rep: Reputation: 101Reputation: 101
Do you have a firewall set up on Linux1 that is blocking ICMP traffic?
 
Old 10-30-2004, 07:45 AM   #3
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,022

Rep: Reputation: 45
All the computers need to have IP addresses that are in the same subnet, this means for a typical home user that the first three numbers, the 192.168.0 part, are the same.

All of them also need the same subnet mask, most likely 255.255.255.0

In Linux it is also possible to set the wrong broadcast address, to over simplify it, the broadcast address is the IP address with a 255 where the subnet is 0:

192.168.000.001 IP address
255.255.255.000 subnet mask
-------------------------------------
192.168.000.255 broadcast

Also when you said one computer could ping itself you used 127.0.0.1 which is a loopback address, can you also ping the IP address you set for that computer?

If your computers have IP addresses starting with 192.168 or 10 they are in what is called private IP space which means the router hides them from The Internet, so if you can't get it working run ifconfig (ipconfig in windows) and post the IP address, subnet mask, broadcast address and default gateway for all the computers)
 
Old 10-31-2004, 02:15 PM   #4
cmacklin
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Original Poster
Rep: Reputation: 0
btmiller,

That was it! I was not allowing "Mail Server" & "POP & IMAP server". I am not sure which of these was blocking ICMP, but it definitely gets me interested in looking under the hood on all the Security settings. Thanks much!

cmacklin
 
Old 10-31-2004, 08:01 PM   #5
cmacklin
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Darin,

Thanks for your reply as well. This forum definitely makes things a bit more efficient.

Thanks,

Cliff
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to convert pdf to pdb and vice versa dr_zayus69 Linux - Software 1 07-17-2005 05:40 PM
ssh from windows to linux and vice versa pyromania Linux - Networking 6 04-14-2004 03:17 PM
KDE under Gnome, or vice-versa Pres General 7 02-01-2004 10:18 AM
Ping from Debian to WinME (vice versa) failed :( Elijah Linux - Networking 6 08-24-2003 12:40 AM
Possible to telnet to SSH server or vice versa ? Rampage2884 Linux - Networking 4 05-04-2002 10:31 AM


All times are GMT -5. The time now is 06:29 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
Open Source Consulting | Domain Registration