Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 2013 05:14:01 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r256824 - head/sbin/ifconfig
Message-ID:  <201310210514.r9L5E1Gx036372@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glebius
Date: Mon Oct 21 05:14:00 2013
New Revision: 256824
URL: http://svnweb.freebsd.org/changeset/base/256824

Log:
  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>

Modified:
  head/sbin/ifconfig/ifconfig.8

Modified: head/sbin/ifconfig/ifconfig.8
==============================================================================
--- head/sbin/ifconfig/ifconfig.8	Mon Oct 21 05:10:46 2013	(r256823)
+++ head/sbin/ifconfig/ifconfig.8	Mon Oct 21 05:14:00 2013	(r256824)
@@ -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 t
 .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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310210514.r9L5E1Gx036372>