Date: Mon, 11 May 2009 12:58:04 -0300 From: Ricardo Augusto de Souza <ricardo.souza@cmtsp.com.br> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: RES: Cant setup carp as BACKUP Message-ID: <E85141A51657B14A981D1FF0E65F72465DB8A1FFEB@EXVS04.corpmail.net> In-Reply-To: <E85141A51657B14A981D1FF0E65F72465DB8A1FF7E@EXVS04.corpmail.net> References: <E85141A51657B14A981D1FF0E65F72465DB8A1FF7E@EXVS04.corpmail.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Anyone know how do i 'force' a carp to be backup? I set a advskew higher than the master but it comes up as master. ;( -----Mensagem original----- De: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@fre= ebsd.org] Em nome de Ricardo Augusto de Souza Enviada em: segunda-feira, 11 de maio de 2009 10:46 Para: freebsd-questions@freebsd.org Assunto: Cant setup carp as BACKUP Hi, i have 2 servers running FreeBSD 7.1 on IBM 3550. I configured 2 carp: internal and external carps. Internal carp is working fine, but external one are MASTER on both servers. Trinity# cat rc.conf|grep carp cloned_interfaces=3D"carp0 carp1" ifconfig_carp1=3D"up 10.100.0.119/24 vhid 2 pass fw_cmt123" ifconfig_carp2=3D"up 200.143.111.113/28 vhid 1 pass fw_cmt123" # carp1: flags=3D49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500 inet 10.100.0.119 netmask 0xffffff00 carp: MASTER vhid 2 advbase 1 advskew 0 ng1: flags=3D88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 = mtu 1460 inet 172.16.0.1 --> 172.16.0.2 netmask 0xffffffff carp2: flags=3D49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500 inet 200.143.111.113 netmask 0xfffffff0 carp: MASTER vhid 1 advbase 1 advskew 0 Ajax# cat rc.conf |grep carp cloned_interfaces=3D"carp0 carp1" #ifconfig_carp0=3D"up 200.143.111.113/28 vhid 1 advskew 100 pass fw_cmt123" ifconfig_carp2=3D"vhid 1 advskew 100 pass fw_cmt123 200.143.111.113/28" ifconfig_carp1=3D"up 10.100.0.119/24 vhid 2 advskew 100 pass fw_cmt123" Ajax# carp1: flags=3D49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500 inet 10.100.0.119 netmask 0xffffff00 carp: BACKUP vhid 2 advbase 1 advskew 100 carp2: flags=3D49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500 inet 200.143.111.113 netmask 0xfffffff0 carp: MASTER vhid 1 advbase 1 advskew 100 Ajax# How do i set carp2 on Ajax to be BACKUP? AT this configuration, most packets to 200.143.111.113 are going to Trinit= y and some going to Ajax. Thanks _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org= "
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E85141A51657B14A981D1FF0E65F72465DB8A1FFEB>