ifconfig en0 inet 192.168.64.25 netmask 255.255.255.0 alias
Sometimes you need to connect to two different networks from the same physical network card, this is when network interface aliasing comes in handy:
sudo ifconfig eth0:home 192.168.0.1 sudo ifconfig eth0:work 10.0.0.1
You now have two virtual NICs and can access both network segments.
See Network Interface Aliasing in Linux for more information.