Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Mar 2004 16:50:47 -0800
From:      Jason Williams <jwilliams@courtesymortgage.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: setting up network virtual hosts (ifconfig)
Message-ID:  <5.2.1.1.0.20040308164913.02affee8@pop.courtesymortgage.com>
In-Reply-To: <20040309014012.1670ea82@moonshine.eyfa.org>
References:  <5.2.1.1.0.20040308160419.02afa950@pop.courtesymortgage.com> <5.2.1.1.0.20040308160419.02afa950@pop.courtesymortgage.com>

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

>
>e.g. something like this works fine here :
>
># /etc/rc.local :
>ifconfig fxp0 alias 192.168.2.222 netmask 0xffffffff

That seemed to have done the trick, manually. Im guessing, I could put the 
same thing in my rc.conf file, but with proper syntax:

ifconfig_fxp0_alias0="inet 192.168.2.222 netmask 0xffffff

On a side note, if you set something up in rc.conf, how can you manually 
start it without having to reboot?

Thanks,

Jason 



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