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
  Search this Thread
Old 05-26-2010, 10:35 AM   #1
mac1234mac
Member
 
Registered: Sep 2005
Posts: 183

Rep: Reputation: 30
ping connection to router OK, but no ping between boxes in LAN


Hello,

I have Mandriva One 2009.0 (192.168.1.100) on one box and Mandriva Free 2010.0 (192.168.1.118) on the other. I can ping router (192.168.1.1) from both of these boxes but I can't ping one box to the other and the other way around. What's going on?.
Do I have to change some settings in router?. Or is it firewall issue on those two machines?. Both of these boxes are connected by cable. Symbol of the router: TL-WR340G.

Cheers,
 
Old 05-26-2010, 10:50 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
assuming you're connecting via a switch in the router, that *could* be doing various things. Back out and check if you have arp entries on both machines for the other host, and also check the routing tables to ensure you are on /24 subnets (odd not to be, but you never know)
 
Old 05-26-2010, 11:29 AM   #3
mac1234mac
Member
 
Registered: Sep 2005
Posts: 183

Original Poster
Rep: Reputation: 30
So, I run arp on Mandriva One 2009.0 (192.168.1.100) and I got only router adress.
I used following command: arp -s 192.168.1.118 <MAC address> and now I have the following:

[root@localhost mac]# arp
Address HWtype HWaddress Flags Mask Iface
192.168.1.1 ether 08:21:27:ff:ff:28 C eth0
192.168.1.118 ether 05:1e:4d:9c:c9:0d CM eth0

On the other box (192.168.1.118) I had both router and IP address of the other box (192.168.1.100) in the entries. But without CM as a Flags Mask. There are two C's. Maybe that's the problem?.

But there is still no connection.

>>...and also check the routing tables to ensure you are on /24 subnets

Do you mean iptables?. Where I can find config files to it?.

Thanks, for answer.
 
  


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 15 03-30-2015 02:39 PM
why am i able to ping hosts on my LAN except my router traineetux Linux - Networking 3 11-20-2006 07:37 PM
Linux router, my boxes can ping outside, but no web mallard Linux - Networking 7 07-14-2006 08:50 AM
LAN/ADSL Router ping working but DNS ping fails R N Ghosh Linux - Networking 1 01-13-2006 07:44 AM
Any idea why this time I can not ping my LAN pc but can PING for ex. www.yahoo.com vakia Debian 5 09-28-2005 06:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:16 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration