Fw: Add IP address to server

Eduardo Viruena Silva mrspock at esfm.ipn.mx
Tue May 6 02:03:49 PDT 2003


On Tue, 6 May 2003, meimi wrote:

> Hello,
>   My provider assigned some IPs to my server. It is a FreeBSD 4.7 web
> server. How should I add them all to my server?
>
>   I have searched the handbook and found out that I only need to add this
> line to /etc/rc.conf :
>   ifconfig_fxp0_alias0="inet xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx"
> Am I correct?

nop.

ifconfig_fxp0_alias0="inet xxx.xxx.xxx.xxx netmask 255.255.255.255 alias"

>   However, I am not sure how to calculate netmask. The page I have read is
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-virtu
> al-hosts.html
>
> Thanks
> meimi
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>

-                         ______                     _
            *           /   /###\                   / \       __
 /\  /\             *  /  ./#### \         *     \__|_/      |  |
/  \/  \               |   b#####|   *            _ |   __   |  |  __
=    .. \____          \ \_\#####/               / \|  /  \  |  | /\_\/
=          \_|    *     \___\###/       *        \_/\_/\__/\__\/_/\__/
 =   \______/           _
  | |


More information about the freebsd-questions mailing list