Setting up a static ip on ubuntu
Posted on 2009-04-16
I am fairly new to ubuntu and this is the first time I have had a bash installing a server. I managed to install apache, mysql, phpadmin etc. successfully and I get the lovely "it works!" message when I go to localhost through my web browser in gnome.
bAt the momment though the system is set to dhcp and I am aware I need it to have a static lan ip address so I can forward to it from my router which is using "dyndns" to link my dynamic ip to a domain name.
So...How do I set ubuntu to use a static IP instead of dhcp? And what should I set my "IP address", "Subnet mask" and "Gateway address" to?
(This has ended up being a bit of a long question, ut i being new on ubuntu i wasn't sure what information would be needed, so I put in everything i could think of)