Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Mar 2004 11:57:56 -0500
From:      Chuck Swiger <cswiger@mac.com>
To:        Jason Williams <jwilliams@courtesymortgage.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: setting up network virtual hosts (ifconfig)
Message-ID:  <404DF794.20807@mac.com>
In-Reply-To: <5.2.1.1.0.20040308164913.02affee8@pop.courtesymortgage.com>
References:  <5.2.1.1.0.20040308160419.02afa950@pop.courtesymortgage.com> <5.2.1.1.0.20040308160419.02afa950@pop.courtesymortgage.com> <5.2.1.1.0.20040308164913.02affee8@pop.courtesymortgage.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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