setting up network virtual hosts (ifconfig)
Chuck Swiger
cswiger at mac.com
Tue Mar 9 08:56:04 PST 2004
Jason Williams wrote:
> 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?
The rc.conf configuration above could be manually done via:
ifconfig fxp0 alias 192.168.2.222 netmask 0xffffff
Other changes to rc.conf may require you to to run a startup script-- check
/usr/local/etc/rc.d-- or do something else, depending on what the change is.
--
-Chuck
More information about the freebsd-questions
mailing list