Static IP Questions

Asked by Kegan Queen

So I understand the whole:
IPV4>Manual
thing, but all the instructions for how to set up a static IP say to just type an IP address in, but how do I know all of the stuff to type? Do I need to know my Netmask and Gateway (and if so where do I find them?), and is it the IP I find under "Connection Information" or the one I'd find at Whatsmyip.org?
Thanks for helping with all my noobish questions.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-nettool Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Do you use a router?

Revision history for this message
Kegan Queen (kegan-queen) said :
#2

Yes I use a router.

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#3

Ok then this is REALLY simple.

Your router will definately use a class C address so the netmask will be 255.255.255.0

Your gateway is the IP address of your router

Your IP address will be similar to the router IP but the last number MUST be different. Most home grade routers use 192.168.0.x with the router being 192.168.0.1. You will need to verify this though using a system already attached and getting its IP information.

In Windows run:
ipconfig

in Mac and Linux run:
ifconfig

and you will see what's what. If you are using static IP I suggest you use an IP at the top of the range (most routers start IP pool from 192.168.0.2 so if you set your IP to 192.168.0.253 then you shouldn't have an issue with IP clashes.)

If your system uses some other addressing then that is fine. Some router use 10.0.0.x but you can simply adjust the text above to match your network.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

If you use a static IP you will also have to specify DNS servers. I suggest you use your routers IP, if that fails then use 8.8.8.8 and this will work fine.

Revision history for this message
Kegan Queen (kegan-queen) said :
#5

Thanks actionparsnip, that solved my question.