Hi, I readed the faq before. I know carp device needs to be the one i want to share. My question is not for the carp device, is just for the network interfaces ( in my case rl0 on both machines ). Which address should i gave them? anyone into the isp ip-mask rank?
2007/4/25, Todd Alan Smith <[EMAIL PROTECTED]>: > > On 4/25/07, Tang Tse <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I'm playing around with carp and routers. My scenario is the next: > > > > One ISP address ( for exemple: 10.2.2.1 ) > > Two openbsd 4.0 machines with 3 NICs > > Lan switch > > > > On LAN side, i set one NIC on every machine with private ip: > > Machine#1: 192.168.0.20 > > Machine#2: 192.168.0.21 > > And they share a virtual address: 192.168.0.30 > > > > The carp nics between both machines with 10.0.0.1 and 10.0.0.2 > > > > And my question is for ISP side: > > I got only one IP address, 10.2.2.1, how do share it? I mean, i can't > set up > > other 2 new IPs like 10.2.2.2 and .3.. any suggestion? > > Tang, this is covered in the FAQ: > > http://www.openbsd.org/faq/pf/carp.html > > The section titled 'Combining CARP and pfsync For Failover' addresses > your question. > > -Todd