If you're using a router that acts as a NAT device / dhcp server, you can simply choose a static IP on the same network. e.g., If the router IP is 192.168.1.1, choose something like 192.168.1.10. Or if you want to be safe, check the range of IPs that your dhcp server gives out and choose something that is not in that range.
If you have your Linux box plugged into a modem, then you can't just arbitrarily choose a static IP. You need to contact your ISP and request (and pay for) one.
|