[NTLUG:Discuss] Re: extra ip route
terry
linux at cowtown.net
Mon Sep 15 10:03:36 CDT 2003
MadHat wrote:
>On Mon, 2003-09-15 at 07:49, terry wrote:
>
>
>>terry wrote:
>>
>> >I'm wondering why I see an extra destination showing up in output of
>>route:
>> >==============
>> >Destination Gateway Genmask Flags Metric Ref Use
>> >Iface
>> >#################################################
>> >169.254.0.0 * 255.255.0.0 U 0 0
>>0 eth1
>> >=============
>> >
>> >So I look around a bit and I find:
>> >
>> >in /etc/sysconfig/network-scripts/ifup:
>> >
>> ># Add Zeroconf route.
>> >if [ -z "${NOZEROCONF}" -a "${ISALIAS}" = "no" ]; then
>> > ip route replace 169.254.0.0/16 dev ${REALDEVICE}
>> >fi
>> >========================
>> >and in /etc/sysconfig/network-scripts/network-functions-ipv6:
>> >
>> > # test 169.254.0.0/16 (APIPA / DHCP link local)
>> > /bin/ipcalc --network $testipv4addr_globalusable
>> >255.255.0.0 | LC_ALL=C grep -q "NETWORK=169\.254\.0\.0" && return 10
>> >=======================
>> >so, should I just comment out, or delete those lines. Is that what's
>> >making this extra destination for eth1? ...that I prolly don't need?
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>>After receiving no response, I commented out those lines and that seemed
>>to take care of it. But I was a bit curious as to how they got in there
>>in the first place?
>>
>>
>
>What distro?
>
>
>
RH9.0
More information about the Discuss
mailing list