query about route command output on localhost


I want to know whenever i give a command a "cat /proc/net/route" on any localhost single machine or linux box in LAN, Every  computer return command result with First row as output
Iface      Destination      Gateway       Flags      RefCnt      Use      Metric      Mask            MTU      Window      IRTT                                                      
eth0      0000FEA9      00000000      0001      0      0      0      0000FFFF      0      0      0                                                                              
eth0      0000000A      00000000      0001      0      0      0      000000FF      0      0      0                                                                              
lo      0000007F      00000000      0001      0      0      0      000000FF      0      0      0                                                                                
eth0      00000000      6600000A      0003      0      0      0      00000000      0      0      0                                                                              

why this entry 1 is needed? when it is used? I am using RH9 with default kernel 2.4.20-8
LVL 1
panemadeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

wesly_chenCommented:
Hi,

   Those three entries with eth0 have different destination. So it depends on your network infrastructure.
However, 00-00-FE-A9 transferred to IP address should be 169.254.0.0 (from right to left), which I don't think it is needed.
You can remove it by typing "route del -net 169.254.0.0 netmask 255.255.0.0". This IP address is default for DHCP client when the client cannot connect the DHCP server.
By the way, please use "route -n" or "netstat -rn" to display more readable routing table. Actually, those two commands
are reading /proc/net/route and translate into more readable output. Then you will know which one is need and which one are wrong.

Regards,

Wesly
0
panemadeAuthor Commented:
hello wesly
       but there is no dhcpd on my system. I just did server RH9 installation with no dhcpd as i want to assign it static IP .
0
wesly_chenCommented:
Well, this is not dhcpd. It is dhcp client.
Sometiimes, you didn't assign static IP address during the installation and you didn't have DHCP server on the network,
then your Linux box will get 169.254.X.X by default. After you assigned a static address, this IP address doesn't go away.

Wesly
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.