IP Aliasing.

Joe Karthauser joe at pavilion.net
Wed Mar 15 11:18:14 GMT 2000


On Wed, Mar 15, 2000 at 11:06:13AM +0000, Guy Harper wrote:
> Hello folks,
> 
> I have a query regarding setting up IP aliasing on freebsd 3.2
> 
> Running linux, I would compile in the ip_alias module, and then type
> 
> ifconfig eth0:1 192.168.1.?? netmask 255.255.255.0 broadcast 192.168.1.255
> route add -host 192.168.1.?? dev eth0:1
> 
> but BSD suggests that interface eth0:1 does not exist..

Take a look in /etc/defaults/rc.conf, there's an example of how to set
up an alias. Copy this line to /etc/rc.conf (making the necessary changes).

Joe





More information about the Ukfreebsd mailing list