Re: carp questions

From: Atanas Yankov (xds_at_LanGame.Net)
Date: 11/23/05

  • Next message: Ferdinand Goldmann: "bge driver, how to increase performance?"
    Date: Wed, 23 Nov 2005 15:06:11 +0200
    To: freebsd-net@freebsd.org
    
    

    It's must go into ports and install it ;))

    cd /usr/ports/net/arping/
    make install clean
    then man arping

    and then read man carp carefully

    there is 2 examples one that work for fail-over and second that make
    fail-over and load-balacing

    i think you should try this one

    <
              ifconfig carp0 create
              ifconfig carp0 vhid 1 pass mekmitasdigoat 192.168.1.10/24
              ifconfig carp1 create
              ifconfig carp1 vhid 2 advskew 100 pass mekmitasdigoat
    192.168.1.10/24

        The configuration for host B is identical, except the advskew is on
    vir-
        tual host 1 rather than virtual host 2.

              ifconfig carp0 create
              ifconfig carp0 vhid 1 advskew 100 pass mekmitasdigoat
    192.168.1.10/24
              ifconfig carp1 create
              ifconfig carp1 vhid 2 pass mekmitasdigoat 192.168.1.10/24

         Finally, the ARP balancing feature must be enabled on both hosts:

              sysctl net.inet.carp.arpbalance=1
    >
    then arping -i em0 192.168.1.10

    br,
    CCNP Atanas Yankov
    Network Administrator
    AngelSoft Ltd.

    Mark Jayson Alvarez wrote:

    >
    >
    > */Atanas Yankov <xds@LanGame.Net>/* wrote:
    >
    > The better solutuon to test how carp worked is a arping :))) not
    > ssh or
    > other and you may be
    > need to set a /32 mask for a virtual ip address , if you remind how
    > works ip alliasing in freebsd.
    >
    > No luck, no manual entry for arping. the /32 mask won't work either.
    > both of them shows that they are the BACKUP machine.. Ucarp is a lot
    > easier... however I really like to make this work in the kernel
    > level.. anymore idea?
    >
    > ------------------------------------------------------------------------
    > Yahoo! FareChase - Search multiple travel sites in one click.
    > <http://us.lrd.yahoo.com/_ylc=X3oDMTFqODRtdXQ4BF9TAzMyOTc1MDIEX3MDOTY2ODgxNjkEcG9zAzEEc2VjA21haWwtZm9vdGVyBHNsawNmYw--/SIG=110oav78o/**http%3a//farechase.yahoo.com/>

    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Ferdinand Goldmann: "bge driver, how to increase performance?"