Solved

Arp resolution problem

Posted on 2000-04-14
4
405 Views
Last Modified: 2010-04-20
My problem is ... peculiar... So, I have a linux box (actually it's booted off floppies - bootdisk & rootdisk) and when I try to resolve an ip address (for instance I type: ping 195.116.101.80) nothing happens. I have put up a sniffer and I noticed that really weird arp request packets are being sent out, look at this:
eth src: 00:c0:13:14:15:16 (OK - my hw)
eth dst: FF:FF:FF:FF:FF:FF (OK - brdcst)
packet arp request (OK)
sender hw: 00:00:00:00:00:00 (?)
sender ip: 0.0.0.0 (?)
target hw: 00:00:00:00:00:00 (?)
target ip: 0.0.0.0 (?)

what the hell... ???
I usually just bring my interface up with a normal:
ifconfig eth0 195.116.101.1
the "noarp" flag is _not_ set. (even if it was no arp frames would have been sent). I have kernel version 2.2.6, and the distibution is slack 4.0.  Honestly I don't know what the mechanism for resolving arp is (kernel? what syscall?). I have taken a look at /etc/nsswitch.conf - but it seems ok. I have no clue :( The worst thing is, that it was all working fine not long ago...

regards,
Filip

P.S. If I missed any important info, please let me know
PSS: I just realized at other times I get totaly random values like:
sender hw: 05 00 00 00 00 10
sender ip: 0.0.1.0
target hw: 00 00 e4 51 00 00
target ip: 228.97.0.0
I realize that something is messed up big time, if anyone can help, I'll be really glad!
0
Comment
Question by:Filip_Ruszkowski
  • 2
4 Comments
 
LVL 4

Accepted Solution

by:
kiffney earned 200 total points
Comment Utility
So, it's just ping and arp that appear messed up?  Or every other net function (telnet, ftp)?  I assume it's everything.  What does the output of ifconfig say?  What does 'dmesg' say when it gets to your ethernet device?  What happened since the time when everything was working fine?  Is your network cable good?  Is your ethercard good?  (the only way to really tell is swap with known good cables and cards - do the cable first, it's cheapest)?  If this is 10baseT (looks like thick telephone cables, not like coax) is your hub ok?  does it light up at your port when you start the pc?
0
 
LVL 1

Expert Comment

by:arikb
Comment Utility
Can you post the tcpdump output? You can run it on any of the machines you are testing it with.
0
 

Author Comment

by:Filip_Ruszkowski
Comment Utility
ehm...
First of all, I got it to work. I figured out the the problem lay on the kernel-bootdisk(kernel: 2.2.6). I tried /bootdisk1.44/net.i on the slackware distro and it worked with the same old rootdisk. I then recompiled the kernel several times (and put it on the bootdisk) and tried to match it to the net.i config file (/kernels/net.i/config). If I took the config straight from net.i it actually didn't compile. I then turned off math emulation and all the exprimental stuff and it did compile, I put on floppy booted, and what? - I got the same arp problem. I then compiled the 2.2.14 kernel (the same options turned on I had before) and it worked fine - so it is really hard to say what wqas going on I tested the problem on 2 different 3com cards and a Realtek which otherwise worked fine with linux.

So, thanx for the feedback, but I got it to work myself - still not knowing what the reason for this behavior was. The points go to kiffney. Well, I'm glad it's working :)
0
 

Author Comment

by:Filip_Ruszkowski
Comment Utility
as said before, I'm glad it's working.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now