Am 15.04.2011 10:54, schrieb Jörg Kleuver:
>
> With that fixed this case is working properly. I'll test some more later.
>
Hi Tom,
I was too hasty, there's still something wrong, after I fixed the typo,
same type in prog.header6 too, routes with a metric disappear again.
The reason for this is at the end of restore_default_route().
if [ $result = 1 ]; then
#
$result is set to 1 unconditionally at the beginning and never updated,
even when no default route was replaced or added.
ip -4 route del default metric 0
When no default route with metric 0 exists, this deletes the next
default route with the lowest metric ...
Greetings Jörg
--
CISS TDI GmbH
Jörg Kleuver CISS TDI GmbH
Tel. +49 2642 97 80 28 Barbarossastraße 36
Fax. +49 2642 97 80 10 53489 Sinzig, Germany
Sitz der Gesellschaft: Sinzig AG Koblenz, HR-Nummer 13357
Geschäftsführer: Dipl.-Math. Joachim Figura, Dipl.-Inform. Berthold Bärk
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users