Carp



Hi all

I am attempting (and failing) to create a fault-tolerant mail relay server
for our dialup users. The plan is to have 2 A records as such:

mailoutserver A 192.168.1.10
mailoutserver A 192.168.1.11

Which will roughly round robin for me, then to have 2 mailservers as
follows:

server1
Ip 192.168.1.100
carp0 vhid1 192.168.1.10 (master-server)
carp1 vhid2 192.168.1.11 (backup)

server2
Ip 192.168.1.101
carp0 vhid1 192.168.1.10 (backup)
carp1 vhid2 192.168.1.11 (master-server)

My config in /etc/rc.conf is as follows:
ifconfig_fxp0="inet 192.168.1.100 netmask 255.255.255.0"
cloned_interfaces="carp0"
ifconfig_carp0="vhid 1 pass XXXX 192.168.1.10 255.255.255.0"
cloned_interfaces="carp1"
ifconfig_carp1="vhid 2 advskew 100 pass XXXX 192.168.1.11 255.255.255.0"

However when I reboot only the carp1 inteface comes up when I type ifconfig:

carp1: flags=49<UP,LOOPBACK,RUNNING> mtu 1500
inet 192.168.1.11 netmask 0xffffff00
carp: BACKUP vhid 2 advbase 1 advskew 100

Have I got this totally wrong? Is this possible?

Any help would be appreciated.

Dan

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



Relevant Pages

  • Re: Carp
    ... I am attempting to create a fault-tolerant mail relay server ... for our dialup users. ... The plan is to have 2 A records as such: ... mailoutserver A 192.168.1.10 ...
    (freebsd-isp)
  • Re: Working with task durations of minutes
    ... Just tell me I'm responsible for updating the server, everything will be "go" for me to do it starting Tuesday afternoon, and then get out of my way and let me do my job. ... From a project managment perspective it's usually enough for the PM to say "Update Server with Module Package X, 5 hours duration, starting Tuesday 1pm" and leave it up to Joe how he organizaes the details. ... If I'm painting a room and the painter and his assistant will box up the computers in it, move the furniture out, remove fixtures from the wall, mix and apply the paint I'll just list it as one task "Paint the Room." ... On the plan there are about 250 tasks that need ...
    (microsoft.public.project)
  • Re: Backing up SBS 2003 for Disaster Recovery
    ... You will also need a backup with some disaster recover plan on how to use ... Modern backup software gives you specific DR capabilities. ... backup job that backs up the whole server, and then it will provide a CD ... you should test your plan. ...
    (microsoft.public.windows.server.general)
  • Re: [9fans] 9vx and local file systems
    ... For about seven years I had the luxury of running Plan 9 ... I have a second Plan 9 server with a bigger, ... I've used drawterm to connect to it, edit and compile venti, ... doesn't require a cpu server. ...
    (comp.os.plan9)
  • Re: New Hardware and Setup Advice
    ... I have no problems with your plan. ... So if your drives were in trays and the power supply died, ... Join the worlds largest SBS User Group ... Poweredge 830) so if one server dies I can copy the drive image to the ...
    (microsoft.public.windows.server.sbs)