How to Have Both Dynamic and Static IP at the Same time

Many people who take their notebook from home to the office may fall into a problem of having a dynamic IP address at home and static at the office. So is there any way to have both settings in your configuration when you do not change them each time you change your location?

