setting up network virtual hosts (ifconfig)
    Jason Williams 
    jwilliams at courtesymortgage.com
       
    Mon Mar  8 16:50:44 PST 2004
    
    
  
>
>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 
    
    
More information about the freebsd-questions
mailing list