summaryrefslogtreecommitdiffstats
path: root/sbin/ifconfig
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2013-10-21 05:14:00 +0000
committerglebius <glebius@FreeBSD.org>2013-10-21 05:14:00 +0000
commitaab6481ca070af787978e85b2540e1a5d98a5796 (patch)
tree38f78d9ff5e6cb6b52d90983b64864a7664b6e76 /sbin/ifconfig
parentb1e62a30514d7d96f12a8d311365ae38e6c28543 (diff)
downloadFreeBSD-src-aab6481ca070af787978e85b2540e1a5d98a5796.zip
FreeBSD-src-aab6481ca070af787978e85b2540e1a5d98a5796.tar.gz
Provide a working example line for an interface with 1 address running
with CARP. Currently, we've got a problem that interface isn't IFF_UP at the time we assign it a redundant address, and the latter gets stuck in INIT state. Additional SIOCSIFFLAGS from ifconfig(8) kicks it to a working state. A proper fix is kernel side and appeared to be non-trivial, not to be checked in before 10.0-RELEASE. Submitted by: Ole Myhre <ole.myhre dataoppdrag.no>
Diffstat (limited to 'sbin/ifconfig')
-rw-r--r--sbin/ifconfig/ifconfig.84
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8
index d0d8671..83065f1 100644
--- 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 January 10, 2013
+.Dd October 21, 2013
.Dt IFCONFIG 8
.Os
.Sh NAME
@@ -2690,7 +2690,7 @@ as a synonym for the canonical form of the option
.Pp
Configure a single CARP redundant address on igb0, and then switch it
to be master:
-.Dl # ifconfig igb0 vhid 1 10.0.0.1/24 pass foobar
+.Dl # ifconfig igb0 vhid 1 10.0.0.1/24 pass foobar up
.Dl # ifconfig igb0 vhid 1 state master
.Pp
Configure the interface
OpenPOWER on IntegriCloud