View Single Post

  #2 (permalink)  
Old 01-10-2006, 07:21 PM
tom tom is offline
Contributors
User
 
Join Date: Jun 2005
Location: London, UK
Posts: 213
Rep Power: 4
tom is on a distinguished road
Default

You can edit /etc/rc.conf file using vi text editor:

Code:
vi /etc/rc.conf
Append following line to file
Code:
ifconfig_lnc0_alias0="192.168.1.5 netmask 255.255.255.255"
Replace lnc0 and ip with your own ip, make sure you use 255.255.255.255 as subnet (other than actual subnet)

Restart network service:
Code:
/etc/rc.d/netif restart
Reply With Quote