Situation 1:
You have a few computers that you own on YOUR local network that you own and you spoof ip's for fun and knowledge.
Legal
Situation 2:
You try to spoof ip's of computers that someone else owns in order to gain access to them.
Illegal
Hope this helps some
/JD