I have Model B and connected via Ethernet and running Raspbmc.
It's taking new IP address whenever I restart it, of course may be because of DHCP, but I want to configure this Raspberry Pi with a static IP address, so that I can use my XBMC remote.
Per the instructions found here:
A solution would be to configure a DHCP static lease, if your router allows it. I like this solution because:
To configure a DHCP static lease:
ifconfig command to know its MAC address (HWaddr XX:XX:XX:XX:XX:XX).
For those of you (like me) who prefer to do things the manual way, then you can edit the interface file at /etc/network/interfaces:
# iface eth0 inet dhcp
iface eth0 inet static
You will then need to restart the network service...