Re: Documentation Error?
From: Jerry McAllister (jerrymc_at_clunix.cl.msu.edu)
Date: 02/28/05
- Previous message: John: "Re: Installation instructions for Firefox somewhere?"
- In reply to: Jason D. Montgomery: "Documentation Error?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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"
- Previous message: John: "Re: Installation instructions for Firefox somewhere?"
- In reply to: Jason D. Montgomery: "Documentation Error?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- 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?
... 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: Documentation Error?
... I don't know what the difference is between passing inet and alias, ...
but all my configs have inet, ... > jason d. ... (freebsd-questions) - 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) - strange ifconfig behaviour
... I read somewhere that i can create a /etc/modules file and put all the modules i want the
kernel to load there but that doesn;t work. ... There is something strange I observed while
trying to use ifconfig cmd. ... alias eth0 tg3 ... (linux.redhat)