Re: Documentation Error?

From: Pat Maddox (pergesu_at_gmail.com)
Date: 02/28/05

  • Next message: Sam Farmer: "iSCSI support?"
    Date: Mon, 28 Feb 2005 15:35:26 -0700
    To: FreeBSD Questions <freebsd-questions@freebsd.org>
    
    

    I don't know what the difference is between passing inet and alias,
    but all my configs have inet, and it works fine.

    On Mon, 28 Feb 2005 15:07:26 -0500, Jason D. Montgomery <jason@atgi.com> wrote:
    > 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)
    >
    > 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"
    >
    _______________________________________________
    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: Sam Farmer: "iSCSI support?"

    Relevant Pages

    • ipnat with alias?
      ... Will someone tell me please how to enable nat for the alias on an interface, ... inet w.x.y.126 netmask 0xfffffffc media autoselect ... pass out on rtk0 all head 150 ...
      (comp.unix.bsd.netbsd.misc)
    • RE: Documentation Error?
      ... I had this in my rc.config file to setup an alias on a NIC: ... So what is happening when no 'inet' is in the string? ... works is that if you do a simple test with your ifconfig both: ... To unsubscribe, ...
      (freebsd-questions)
    • Re: Documentation Error?
      ... > (keyword passed to ifconfig is alias instead of inet) ... With neither 'inet' or 'alias' within the quotes for the alias definition. ... > jason d. ...
      (freebsd-questions)
    • RE: Documentation Error?
      ... Thanks for the clarification and actually responding to a random email. ... With neither 'inet' or 'alias' within the quotes for the alias ...
      (freebsd-questions)
    • Re: "bug" with ifconfig ... ?
      ... delete or alias without an argument will remove the address ... configured on the interface for the default address family (almost ... always inet, i.e. IPv4). ... To unsubscribe, ...
      (freebsd-net)