vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| carp(4) consistently omits the word "netmask" in its ifconfig examples. Here's a patch to correct it. -- stephen.marley@cl-is.com Index: carp.4 ================================================== ================= RCS file: /var/cvs/src/share/man/man4/carp.4,v retrieving revision 1.17 diff -u -r1.17 carp.4 --- carp.4 17 May 2005 13:16:13 -0000 1.17 +++ carp.4 24 May 2005 17:06:04 -0000 @@ -124,20 +124,20 @@ .Bd -literal -offset indent # ifconfig carp0 create # ifconfig carp0 vhid 1 pass mekmitasdigoat 192.168.1.1 \e - 255.255.255.0 + netmask 255.255.255.0 # ifconfig carp1 create # ifconfig carp1 vhid 2 pass mekmitasdigoat 192.168.2.1 \e - 255.255.255.0 + netmask 255.255.255.0 .Ed .Pp The setup for host B is identical, but it has a higher advskew: .Bd -literal -offset indent # ifconfig carp0 create # ifconfig carp0 vhid 1 advskew 100 pass mekmitasdigoat \e - 192.168.1.1 255.255.255.0 + 192.168.1.1 netmask 255.255.255.0 # ifconfig carp1 create # ifconfig carp1 vhid 2 advskew 100 pass mekmitasdigoat \e - 192.168.2.1 255.255.255.0 + 192.168.2.1 netmask 255.255.255.0 .Ed .Pp Because of the preempt option, when one of the physical interfaces of @@ -163,10 +163,10 @@ .Bd -literal -offset indent # ifconfig carp0 create # ifconfig carp0 vhid 1 pass mekmitasdigoat 192.168.1.10 \e - 255.255.255.0 + netmask 255.255.255.0 # ifconfig carp1 create # ifconfig carp1 vhid 2 advskew 100 pass mekmitasdigoat \e - 192.168.1.10 255.255.255.0 + 192.168.1.10 netmask 255.255.255.0 .Ed .Pp The configuration for host B is identical, except the skew is on @@ -174,10 +174,10 @@ .Bd -literal -offset indent # ifconfig carp0 create # ifconfig carp0 vhid 1 advskew 100 pass mekmitasdigoat \e - 192.168.1.10 255.255.255.0 + 192.168.1.10 netmask 255.255.255.0 # ifconfig carp1 create # ifconfig carp1 vhid 2 pass mekmitasdigoat 192.168.1.10 \e - 255.255.255.0 + netmask 255.255.255.0 .Ed .Pp Finally, the ARP balancing feature must be enabled on both hosts: |