Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108579763
D38943.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D38943.diff
View Options
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8
--- a/sbin/ifconfig/ifconfig.8
+++ b/sbin/ifconfig/ifconfig.8
@@ -28,7 +28,7 @@
.\" From: @(#)ifconfig.8 8.3 (Berkeley) 1/5/94
.\" $FreeBSD$
.\"
-.Dd February 1, 2023
+.Dd March 6, 2023
.Dt IFCONFIG 8
.Os
.Sh NAME
@@ -3086,6 +3086,22 @@
.Cm MASTER
and
.Cm BACKUP .
+.It Cm peer Ar address
+Set the address to send (IPv4)
+.Xr carp 4
+announcements to.
+.It Cm mcast
+Restore the default destination address for (IPv4)
+.Xr carp 4
+announcements, which is 224.0.0.18.
+.It Cm peer6 Ar address
+Set the address to send (IPv6)
+.Xr carp 4
+announcements to.
+.It Cm mcast6
+Restore the default destination address for (IPv4)
+.Xr carp 4
+announcements, which is ff02::12.
.El
.Sh ENVIRONMENT
The following environment variables affect the execution of
diff --git a/share/man/man4/carp.4 b/share/man/man4/carp.4
--- a/share/man/man4/carp.4
+++ b/share/man/man4/carp.4
@@ -26,7 +26,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 1, 2018
+.Dd March 6, 2023
.Dt CARP 4
.Os
.Sh NAME
@@ -78,6 +78,23 @@
.Dv SIOCSVH
.Xr ioctl 2 .
.Pp
+CARP defaults to using multicast messages, but can be configured to unicast
+announcements to peers using the
+.Cm peer
+and
+.Cm peer6
+parameters. Default addresses can be restored using
+.Cm mcast
+and
+.Cm mcast6 .
+Note that TTL verification is disabled if the peer address is not a multicast
+address.
+These values can be configured using
+.Xr ifconfig 8 ,
+or through the
+.Dv SIOCSPEER
+.Xr ioctl 2 .
+.Pp
CARP virtual hosts can be configured on multicast-capable interfaces: Ethernet,
layer 2 VLAN, FDDI and Token Ring.
An arbitrary number of virtual host IDs can be configured on an interface.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 27, 2:02 PM (5 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16198930
Default Alt Text
D38943.diff (1 KB)
Attached To
Mode
D38943: carp: document peer/peer6 and mcast/mcast6 in the relevant man pages
Attached
Detach File
Event Timeline
Log In to Comment