Virtual Ethernet Interface
Virtual interfaces allow a single ethernet interface to listen on additional IP addresses.
Manual way:
# ifconfig hme0:1 plumb
# ifconfig hme0:1 192.168.1.15 up
Automatic way:
- Make an entry in /etc/hosts for your new interface:
echo newhost > /etc/hostname.hme0:1
- Reboot.