LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 01-25-2004, 10:37 AM   #1
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Rep: Reputation: 153Reputation: 153
169.254.0.0 in Kernal IP routing table


I have a Speedtouch 510iv4 which has entries in its IP route table for 169.254.0.0 which has been fed through to the Kernal IP routing table table as follows

route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
10.0.0.0 0.0.0.0 255.0.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 10.0.0.138 0.0.0.0 UG 0 0 0 eth0


What is 169.254.0.0? Do I need it?

I've removed it from the Kernal IP routing table and from the IP route table of the Speedtouch, start/stop eth0 but it just reappears!
 
Old 01-26-2004, 02:02 AM   #2
codedv
Member
 
Registered: Nov 2003
Location: Slough, UK
Distribution: Debian
Posts: 146

Rep: Reputation: 15
It looks like its the network your medem is connected to. It will be their while your modem is plugged in and connected.
 
Old 01-26-2004, 03:10 AM   #3
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Original Poster
Rep: Reputation: 153Reputation: 153
It's not a network that I recognise. Where would the Kernal IP routing table get this address from?
 
Old 01-26-2004, 03:37 AM   #4
codedv
Member
 
Registered: Nov 2003
Location: Slough, UK
Distribution: Debian
Posts: 146

Rep: Reputation: 15
Your modem will have an IP address and when it is connected a route to the network is usually added.

If you bring the eth0 interface down then the route should disappear.

You can also check the modems IP address. If it begins 169.254 then then the route is your modem.

Last edited by codedv; 01-26-2004 at 03:38 AM.
 
Old 01-26-2004, 01:13 PM   #5
tomaslarsson
LQ Newbie
 
Registered: Jan 2004
Posts: 3

Rep: Reputation: 0
I have the same entry, but on eth1 which is connected to my local LAN, not the adsl modem, so where does it come from.
 
Old 01-26-2004, 04:46 PM   #6
Parksy
Member
 
Registered: Apr 2003
Distribution: Gentoo/Mandrake 10.0
Posts: 110

Rep: Reputation: 15
The 169.254 address range is used for some kind of intermediary step to the internet. The Speedtouch modem may always tell the computer that its ip address is in the 169.254 range because that range isn't used for the internet or for LANs, so it shouldn't conflict with anything.

That's just a guess. I don't know anything about those modems or much about the 169.254 addresses.
 
Old 01-26-2004, 05:02 PM   #7
fataldata
Member
 
Registered: Jun 2002
Location: Breckenridge, Colorado
Distribution: Ubuntu Hardy 8.04
Posts: 101

Rep: Reputation: 15
the 169.254 addresses popup usually when you are using DHCP but have not been able to obtain an address. They are associated with DHCP and are not routable.

Found this thread on the net:

http://cert.uni-stuttgart.de/archive.../msg00309.html

The range of 169.254.x.x has been reserved for this purpose. The idea is
that when DHCP fails, it still gives clients a way to communicate with
TCP/IP. It is, off course, not intended to production use, but it will give
the client a chance to use TCP/IP in order to recover. For example, on a
widely switched Ethernet backbone, it could enable the user to at least
e-mail MIS saying that their network connection is flaky.
 
Old 01-27-2004, 12:42 AM   #8
tomaslarsson
LQ Newbie
 
Registered: Jan 2004
Posts: 3

Rep: Reputation: 0
But I'm not using DHCP, all my IP's are static.
One more thing, I cant delete it from the routing table.
NET not found is replied when i try to "route del 169.254.0.0", maybe I'm doing something wrong, but....
 
Old 01-27-2004, 03:54 AM   #9
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Original Poster
Rep: Reputation: 153Reputation: 153
To delete the route need to supply more information -

route del -net 169.254.0.0 netmask 254.254.0.0 dev eth0

I did this to remove the entry from the table and also removed the corresponding entries from the modem. Recycled eth0 and 169.254 reappeared - spooky. Must also be added somewhere from within Linux.
 
Old 01-27-2004, 04:01 AM   #10
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Original Poster
Rep: Reputation: 153Reputation: 153
Sorry should be of course -

route del -net 169.254.0.0 netmask 255.255.0.0 dev eth0
 
Old 01-27-2004, 04:03 AM   #11
tomaslarsson
LQ Newbie
 
Registered: Jan 2004
Posts: 3

Rep: Reputation: 0
Tnx aikempshall, it worked.
The big question is where does this route come from?
 
Old 01-27-2004, 09:10 AM   #12
fataldata
Member
 
Registered: Jun 2002
Location: Breckenridge, Colorado
Distribution: Ubuntu Hardy 8.04
Posts: 101

Rep: Reputation: 15
Well I'm not sure about the DHCP causing the route entry and subsequent address, but I have encountered it many times when I would configure an adapter for DHCP, but it failed to get an address so instead it would use the 169.254.0.0

Glad you were able to remove the entry anyhow.
 
Old 03-10-2004, 02:36 PM   #13
guillote
LQ Newbie
 
Registered: Mar 2004
Location: La Plata
Distribution: fedora
Posts: 1

Rep: Reputation: 0
solution

for delete that route only add NOZEROCONF=yes to /etc/sysconfig/network file and restart the network (/sbin/service network restart)


Salut !
 
Old 03-10-2004, 11:30 PM   #14
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
APIPA is what the 169.254 address scheme is. Automatic Private IP Addressing is what it stands for. Micro$oft uses it to address a NIC when DHCP fails. It's kind of becoming a standard though not and RFC, at least not one I'm aware of.

There is no problem with it being in your routing table, it will not affect your IP routing.

Hope it helps.

MrKnisely
 
  


Reply



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
Removing DHCP (169.254.0.0) From static routes Alistair Linux - Networking 2 09-02-2011 09:49 AM
routing table arvind kumar Linux - Networking 2 06-08-2005 11:59 PM
Help with a Routing Table maginotjr Linux - Networking 4 06-06-2005 09:49 AM
Where is the routing table created? sidra Linux - Networking 1 04-18-2005 05:08 AM
routing table upr8830 Linux - Networking 6 06-18-2003 03:04 AM

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

All times are GMT -5. The time now is 03:53 PM.

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