Re: Documentation Error?

From: Jerry McAllister (jerrymc_at_clunix.cl.msu.edu)
Date: 02/28/05

  • Next message: Warren: "make, etc, whereis, commands broken"
    To: jason@atgi.com (Jason D. Montgomery)
    Date: Mon, 28 Feb 2005 17:53:38 -0500 (EST)
    
    

    >
    > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-v
    > irtual-hosts.html
    >
    > states that adding a virtual address is done in rc.conf like this:
    >
    > ifconfig_fxp0="inet 10.1.1.1 netmask 255.255.255.0"
    > ifconfig_fxp0_alias0="inet 10.1.1.2 netmask 255.255.255.255"
    >
    > Shouldn't it be this instead?
    >
    > ifconfig_fxp0="inet 10.1.1.1 netmask 255.255.255.0"
    > ifconfig_fxp0_alias0="alias 10.1.1.2 netmask 255.255.255.255"
    >
    > (keyword passed to ifconfig is alias instead of inet)
    >

    It shouldn't be either. It should be:

      ifconfig_fxp0_alias0="10.1.1.2 netmask 255.255.255.255"

    With neither 'inet' or 'alias' within the quotes for the alias definition.
    At least that is the way it works for us on about 75 servers.

    ////jerry

    >
    >
    > later,
    >
    > jason
    >
    > -=-=-=-=-=-=-=-=-=-=-
    >
    > jason d. montgomery
    >
    > ATGi
    >
    > -=-=-=-=-=-=-=-=-=-=-
    >
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Warren: "make, etc, whereis, commands broken"

    Relevant Pages