Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

query about  route command output on localhost

Posted on 2004-10-24
3
Medium Priority
?
214 Views
Last Modified: 2013-12-15

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
0
Comment
Question by:panemade
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 38

Expert Comment

by:wesly_chen
ID: 12397019
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
 
LVL 1

Author Comment

by:panemade
ID: 12397648
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
 
LVL 38

Accepted Solution

by:
wesly_chen earned 200 total points
ID: 12402071
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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.
Suggested Courses

636 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