Networking Forums

Networking Forums > Computer Networking > Linux Networking > if-up is creating route entry for

Reply
Thread Tools Display Modes

if-up is creating route entry for

 
 
dan
Guest
Posts: n/a

 
      11-23-2003, 10:24 PM
All,

The following section of /etc/.../if-up in both RH9 and FC1
appears to be creating extranous route table entries.
Sometime they show up with eth0 and sometimes with usb0.

What is causing this??

# Add Zeroconf route.
if [ -z "${NOZEROCONF}" -a "${ISALIAS}" = "no" ]; then
ip route replace 169.254.0.0/16 dev ${REALDEVICE}
fi

Thanks,
Dan

 
Reply With Quote
 
 
 
 
Jim Fischer
Guest
Posts: n/a

 
      11-24-2003, 12:45 AM
dan wrote:
> All,
>
> The following section of /etc/.../if-up in both RH9 and FC1 appears to
> be creating extranous route table entries. Sometime they show up with
> eth0 and sometimes with usb0.
>
> What is causing this??
>
> # Add Zeroconf route.
> if [ -z "${NOZEROCONF}" -a "${ISALIAS}" = "no" ]; then
> ip route replace 169.254.0.0/16 dev ${REALDEVICE}
> fi
>


IP addresses in the 169.254/16 range are reserved for use on the local
data link. These "link local" IP addresses are not routable, and they
are used with autoconfiguration schemes (see also "ZEROCONF").

Link local IP addresses serve a number of purposes. For example: If a
DHCP client tries to lease an IP address from a DHCP server and the
lease attempt fails, the DHCP client can, as a "plan B", try to allocate
itself a link local IP address instead. Granted, a link local IP address
is not routable, and therefore can only be used to communicate with
hosts on the local data link. However, system designers often feel that
having a link local IP address is better than having no IP address at all.

Another common use for link local IP addresses is roaming. For example,
a laptop with a wireless card can try to autoconfigure itself with a
link local IP address when it enters the service area of a wireless base
station. The laptop can then communicate with the other hosts on the
local data link (i.e., in the base station's service area) using its
link local IP address.

Most OS environments these days (Win32, MacOS, Linux, etc.) support link
local IP addresses - e.g., they implicitly add an entry for the
169.254/16 address range in a host's routing table.

Here's some additional info on link local IP addresses and their uses,
if you're interested:

http://files.zeroconf.org/draft-ietf...-linklocal.txt
http://www.ittc.ku.edu/~amitk/801/801-doc.html
http://www.faqs.org/rfcs/rfc3330.html

--
Jim

To reply by email, remove "link" and change "now.here" to "yahoo"
jfischer_link5809{at}now.here.com


 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding MX Entry musammil Linux Networking 1 12-19-2008 07:27 AM
What's This Log Entry Mean? Dan N Linux Networking 4 02-02-2006 05:01 AM
VPN client adds wrong route to local route table snowdog_2112 Windows Networking 7 11-01-2005 02:05 PM
route and static route to a gateway Sting Linux Networking 2 02-21-2004 03:35 AM
Creating a static route to an internal machine Yousaf Linux Networking 7 09-29-2003 08:25 AM



1 2 3 4 5 6 7 8 9 10 11