LinuxQuestions.org
Review your favorite Linux distribution.
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-31-2004, 02:21 PM   #1
trbittner
LQ Newbie
 
Registered: May 2004
Distribution: FC1-2.4.22
Posts: 3

Rep: Reputation: 0
Linux machines can't see each other on LAN


Hello,

I have a simple three node home network with a router, a laptop, and a PC. The PC acts as a simple server and has Samba installed on it. It runs FC1-2.4.22-1.255.nptl.

The laptop is a dual boot computer with both WinXP and FC1 (same kernel as above) installed.

When the laptop is running WinXP, it can access the Samba server on the PC, ssh to it, and ping it. However, when the laptop is running FC1, it can't see the PC, and the PC can't see it. The laptop can access the gateway/router (IP Address 192.168.2.1), and access the web, it just seems to have a problem accessing anything on the LAN.

The issue doesn't seem to have anything to do with /etc/hosts, as I can't even ping the IP address, much less the associated alias, and the pings work for between PC and WinXP side of the laptop.

I've done a self-ping on the laptop (IP Address 192.168.2.4) to ensure that the static IP is correct. The PC (IP Address 192.168.2.2) works as well. It may also be worth mentioning that the laptop has both an ethernet card (eth0, which is disabled), and a wireless card (eth1, which is active).

I've pasted in my ifconfig and route info below for the laptop and verified that the inet addr and Mask are correct for the PC as well. The route info looks the same for the PC, except that the interface reads eth0 instead of eth1. Any suggestions as to what I may be doing wrong or may be missing?

Thanks.

Todd

eth1 Link encap:Ethernet HWaddr 00:02:2D:68:77:4B
inet addr:192.168.2.4 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1009 errors:0 dropped:0 overruns:0 frame:0
TX packets:1126 errors:4 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:650095 (634.8 Kb) TX bytes:250907 (245.0 Kb)
Interrupt:10 Base address:0x100

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3591 errors:0 dropped:0 overruns:0 frame:0
TX packets:3591 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1603898 (1.5 Mb) TX bytes:1603898 (1.5 Mb)

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 eth1
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.2.1 0.0.0.0 UG 0 0 0 eth1
 
Old 05-31-2004, 02:25 PM   #2
LuggerHouse
Member
 
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 210

Rep: Reputation: 30
Maby a firewall Issue on the Linux laptop ??
 
Old 05-31-2004, 02:51 PM   #3
trbittner
LQ Newbie
 
Registered: May 2004
Distribution: FC1-2.4.22
Posts: 3

Original Poster
Rep: Reputation: 0
I've disabled the firewalls on both systems and still get a 'Destination Unreachable' from the ping when I try to ping from PC to laptop or laptop to PC. Any other possible suggestions?

Thanks.

Todd
 
Old 06-01-2004, 04:05 AM   #4
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
Run

#tcpdump

on both the systems and check how the traffic moves.

Hope both the systems are on the same subnet, hosts.allow, hosts.deny do not have any entries that may restrict traffic.
 
Old 06-03-2004, 02:52 PM   #5
bagira
LQ Newbie
 
Registered: Dec 2003
Location: Germany
Distribution: Gentoo
Posts: 27

Rep: Reputation: 15
What does route -nv and arp -a tell you?
 
Old 06-03-2004, 09:41 PM   #6
trbittner
LQ Newbie
 
Registered: May 2004
Distribution: FC1-2.4.22
Posts: 3

Original Poster
Rep: Reputation: 0
On route -nv I get the following on my PC:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 eth0

On arp -a I get the following on my PC:

? (192.168.2.1) at 00:04:E2:19:4C:54 [ether] on eth0

The values are pretty much the same for the laptop, except eth0 is eth1 for the wireless card, it has a different MAC address, and the 192.168.2.0 line is listed twice with duplicate information under every header.

Both systems are on the same subnet, and I don't have anything configured for hosts.allow or hosts.deny at the moment.

Thanks.

Todd
 
  


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
How to know what machines are in LAN ? pvv Linux - Networking 3 03-25-2004 04:59 AM
LAN party with Linux + windows machines. qwijibow Linux - Networking 3 11-29-2003 07:22 PM
Connecting to Windows NT machines on LAN rgarg Linux - Networking 2 07-06-2003 11:20 PM
deny LAN machines a particular domain epeus Linux - Networking 3 11-22-2002 03:51 AM
How do you find LAN machines with dhcp? jkcunningham Linux - Networking 39 11-19-2002 05:45 PM

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

All times are GMT -5. The time now is 12:50 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