Operating System - Linux
1831215 Members
3051 Online
110021 Solutions
New Discussion

Re: del entry in Kernel routing table

 
SOLVED
Go to solution
Huc_1
Honored Contributor

del entry in Kernel routing table

How do I delete this entry from the kernel routing table
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0

I know this is a "link local" host obtains by auto-configuration, like when a DHCP server may not be found (this is RFC 3330)

I try all sort of route command switch but to now effect ?

I fell like I am missing out some something ?

I have read man route to no effect !

Is there a file/mecanism that keep this dynamic info ?

I am looping.

any usfull info to jump out of loop will be rewarded.

J-P


Smile I will feel the difference
4 REPLIES 4
Jerome Henry
Honored Contributor
Solution

Re: del entry in Kernel routing table

Hi Jean Pierre,
ma(8) route.
Read it online at :
http://www.die.net/doc/linux/man/man8/route.8.html

As for your command :
route del -net 169.254.0.0 netmask 255.255.0.0 dev eth0.

But be aware that if you have a DHCP (m$ of course) server on your net, it'll flood the network with apipa messages that will be appearing back in your route. That is to say you can suppress this line now, but if your m$ server is on the net, it'll come back...

J
You can lean only on what resists you...
Huc_1
Honored Contributor

Re: del entry in Kernel routing table

Jerome
I had read route man and try every option at least I belived so ! but going back in my bash history file I see now I had left out the dev before eth0.

I got this added to my route trying out all sort's of setup on W2K during a samba printer setup without a proper dhcp server, but on the whole nice learn about theses 169.254.0.0 special case and I will not forget dev before eth0 in the route command !

thanks

J-P
Smile I will feel the difference
Jerome Henry
Honored Contributor

Re: del entry in Kernel routing table

I'm almost ashamed to say that, despite my very limited love for m$ products, I feel that this apipa is a great idea !...

(please 0 here ! :-0 )
You can lean only on what resists you...
Huc_1
Honored Contributor

Re: del entry in Kernel routing table

Yes at first I grumble a while, but it is a good ideas.

Just a chance for the poor system alone is the big world.

J-P
Smile I will feel the difference