Re: carp questions

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

  • Next message: Mark Jayson Alvarez: "Re: carp questions"
    Date: Wed, 23 Nov 2005 12:09:04 +0200
    To: freebsd-net@freebsd.org
    
    

    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.

    br,
    CCNP Atanas Yankov
    Network Administrator
    AngelSoft Ltd.

    >Hi,
    >
    > I have 2 machines running freebsd 6.0 compiled with "device carp". The example in the carp manual slightly confuses me. I can't make those 2 machines to appear as one... I hope you can help me.
    > machine A has xl0 with assigned ip of 10.10.8.145
    > machine B has xl0 with assigned ip of 10.10.8.146
    >
    >
    > Now following the example on carp(4) manual:
    > On machine A:
    > ifconfig carp0 create
    > ifconfig carp0 vhid 1 pass mypasswd 10.10.8.147/24
    > so now, machine A shows these in ifconfig:
    > carp0: flags=41 mtu 1500
    > inet 10.10.8.147 netmask 0xffffff00
    > carp: BACKUP vhid 1 advbase 1 advskew 0
    > meanwhile on machine B
    > ifconfig carp0 create
    > ifconfig carp0 vhid 1 advskew 100 pass mypasswd 10.10.8.147/24
    > and I got
    > 10.10.8.147/24 is duplicated by xl0 (10.10.8.145/24)
    >
    > What I wanted to do is to do some failover... ssh to 10.10.8.147 and see what machine it would connect to.. then pull the utp out... and repeat the process.. this time i should be able to ssh to the backup server instead..
    >
    >
    >
    >---------------------------------
    > Yahoo! FareChase - Search multiple travel sites in one click.
    >_______________________________________________
    >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"
    >
    >
    >
    >

    _______________________________________________
    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: Mark Jayson Alvarez: "Re: carp questions"