• [^] # Re: Exemple de ruleset domestique classique

    Posté par . En réponse à la dépêche Sortie de OpenBSD 4.1. Évalué à 2.

    Y a t'il reellement un plus par rapport a la cible CLUSTERIP d'iptables?

    CLUSTERIP
    This module allows you to configure a simple cluster of nodes that share a certain IP and MAC address without an explicit load balancer in front of them. Connections are statically distributed between the nodes in this cluster.

    --new
    Create a new ClusterIP. You always have to set this on the first rule for a given ClusterIP.
    --hashmode mode
    Specify the hashing mode. Has to be one of sourceip, sourceip-sourceport, sourceip-sourceport-destport
    --clustermac mac
    Specify the ClusterIP MAC address. Has to be a link-layer multicast address
    --total-nodes num
    Number of total nodes within this cluster.
    --local-node num
    Local node number within this cluster.
    --hash-init rnd
    Specify the random seed used for hash initialization.


    et une petite doc avec des avertissements interessants concernant certaines limites inherentes au load balancing : http://iptables-tutorial.frozentux.net/iptables-tutorial.htm(...)