Re: strange routes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Firstly, where does 169.254.0.0 come from?  I never asked it to be
> there!!

This is the address range that windows machines will use when they can not
find a dhcp server. Therefore, you'll need to leave the ifcfg-eth0 files as
is, if you want to be able to access windows machines from linux and visa
versa (or else set static IPs, or make sure that windows machines are
connecting to the dhcp server).

> I found this line in /etc/sysconfig/network-scripts/ifup at
> line 343:
>
> # Add Zeroconf route.
> if [ -z "${NOZEROCONF}" -a "${ISALIAS}" = "no" ]; then
>     ip route replace 169.254.0.0/16 dev ${REALDEVICE}
> fi
>

Try placing the line
NOZEROCONF='yes'
in /etc/sysconfig/network-scripts/ifcfg-eth0

> and this one in /etc/sysconfig/network-scripts/network-functions-ipv6 at
> line 920:
>
> # 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
>

Just a test, don't worry about this.

> Why are they there and are these the offending lines?
>

> Secondly, why do I have _three_ default routes?  (The IP is right)  I
> set this up with redhat-config-network (including the 10... alias).  The
> default routes appear every time I do an ifup.
>

in /etc/hosts
 comment out any duplicate lines, so that only one of each remains.

then type /etc/rc.d/init.d/network restart

check everything, and see if I was any help

Dave



-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux