Skip site navigation (1)Skip section navigation (2)
Date:      15 May 97 12:56:04 -0500
From:      Chris Brown <CBROWN@seitz.com>
To:        freebsd-questions@freebsd.org
Subject:   Multiple PI addresses on an ethernet card.
Message-ID:  <909E782F012E0F00@seitz.com>

next in thread | raw e-mail | index | archive | help

     I have been running Linux and will have to set up a FreeBSD box. 
One of the things that will be necessary is to have alias PI 
addresses on the ethernet card to run multiple domains for an apache 
web server.  In Linux the only thing that is necessary is to compile 
the kernel with alias support then set up the addresses with 
ifconfig during boot.  Like so:

ifconfig eth0 10.0.0.1
ifconfig eth0:0 10.0.0.2
ifconfig eth0:1 10.0.0.3

Then you add routes for the all the addresses on the card.  I would 
think that it would be basically the same on FreeBSD but I didn't see 
it in the FreeBSD handbook or the FAQs but I may have missed it.  Can 
someone point me at some documentation and possibly give me the 
abridged version of this?




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