* Russell Garrison <[email protected]> [2011-11-22 18:28]:
> I have set up my system accordingly and my advice is to set your carp
> primary IP to the proper network mask (especially if it is using the
> carp IP to provide a gateway to the connected network) and then any
> other IP/interfaces to /32 per subnet.

if your carpdev has an IP and the IP(s) on the carp interface are in
the same subnet, is it best to have the real netmask on the carpdev
and all-ones netmasks on the carp interface, for the case where you're
carp slave.

and the rule of thumb remains, one IP per subnet per rdomain in the
system with the real netmask, all others all-ones - aka /32 for the one
and only real protocol.

> Example:
> em5 - no IP
> carp5 - 10.0.0.0/30 mask on carpdev em5

right.

> em4 - 9.0.0.0/32 for mgmt
> carp4 - 9.0.0.0/28 acting as gateway for 9.0.0.0 net on carpdev em4
> carp4 - aliases on 9.0.0.0 with /32 masks on carpdev em4

here it is better to have the /28 on em4 and /32 on the carp ifs.

-- 
Henning Brauer, [email protected], [email protected]
BS Web Services, http://bsws.de, Full-Service ISP
Secure Hosting, Mail and DNS Services. Dedicated Servers, Root to Fully Managed
Henning Brauer Consulting, http://henningbrauer.com/

Reply via email to