I have a very wierd set of data on this problem...
1. 3 of us with MacBook Pros working on a ship
2. There is 1 ethernet cable connection in our office to provide us with internet. To use it we simply plug in and go.
3. 2 of us can do this fine, 1 cannot, the self assigned IP problem crops up.
4. My computer was one of the working macbooks but 2 days ago it developed serious hard disk/startup problems. I had an old spare macbook pro from 2 years ago as an emergency spare for the 3 of us.... I had also prepared us with a small external drive with a LION installation partition. I booted the spare computer from the external drive, erased the hard disk and re-installed LION then re-installed my computer from my time machine backup (last backed up 3 hours before the crash!).
So now my spare computer was restored to the same state as my dead computer.
5. When I plugged in the ethernet cable, my spare computer has the self assigned IP address issue.
SO.... Take a deep breath!
6. I tried to fix my dead computer with my external drive but it stayed dead. I decided that the hard drive would probably be ok so decided to remove it and swap it for the drive in my external drive case (same type of drive). For safe keeping I put the drive from my external into my dead mac.
When I tried to start up my dead mac, it was now alive again... as if by magic! I therefore suspected that a loose hard drive connection may have been responsible so plugged in (via USB) the external drive (which contained the original drive from the computer) and re-booted from that drive. My computer with its original data came back to life.
With my old drive booting my once dead computer via USB, I connected the ethernet and hey presto... it worked.
Now for the WACKO part
7. I shut down my once dead computer and plugged my external drive into my spare computer and re-booted from the external drive. My spare computer woke up in exactly the same as way as it did on my once dead computer... as it should have.
8. I plugged in the ethernet - My spare computer STILL has the self assigned IP address issue.
TO SUMMARISE
2 computers, 1 external hard disk drive. Boot one computer with the drive and the internet works, boot the other with the same drive and the self assigned IP address issue arises.
Ideas anyone!?!