Vista ip problems


I was wondering if anybody could help me, my dads mate has come to me with a computer problem. the computer is running on vista and keeps losing it’s ip address and he keeps repairing it and it keeps losing it again. He doesn’t have a wireless router and has already replaced the modem. could software be causing this or is this a hardware issue.