This tutorial should help you setup a static ip address in ubuntu intrepid . The reason i specifically mentioned Ubuntu intrepid is because the network manager for older ubuntu versions are different . Intrepid came with a totally different network manager. This network manager had problem at the beginning , but things seem to have sorted out now . I had previously written about how to setup static ip address in ubuntu intrepid by editing the interfaces file . This method is more simpler as its via the network manager.Incase of older ubuntu machines , the network manager is different , so the steps are LIKE THIS .
Static ip addresses are used for many purposes . It has a lot of advantages and is preferred in large networks with multiple machines so as to keep track as to which machine has which ip . So here's how you setup static ip address in ubuntu intrepid via network manager :
Note : In this tutorial i am taking an example of setting up a static ip 192.168.1.10 with a gateway ip 192.168.1.1 which normally is your modem/router ip address.
Step 1 : Go to System->Preferences->Network Configuration
Step 2 : Now here is where you choose for a Wired and a Wireless Connection. Its pretty straightforward, for a wireless connection you go to the WIRELESS tab and for a Wired connection you go to the WIRED tab.
Step 3 : So in this case , since it is a WIRED Connection , i should select eth0 and then click on EDIT.eth0 is the interface name , it maybe eth1 in your case , dont worry about that . So click on EDIT
Step 4 : Now you should see a page similar to this
Step 5 : Now go to the IPV4 Settings Tab
Step 6 : And Select METHOD to Manual
Step 7 : Then Click on the ADD button
Step 8 : Now under address Enter the static ip address you wish to use , in my case it is 192.168.1.10 .In Netmask set it to 255.255.255.0 ( its suitable in most cases).Under gateway enter your gateway ip which is mostly your modem/router ip address(192.168.1.1 or 192.168.0.1 mostly) , in my case it is 192.168.1.1
Step 9 : Then Enter the DNS server ips manually, here you can enter your ISP's DNS servers if you wish, if not just enter 208.67.222.222 which is opendns server ips (Recommended)
Step 10 : Click On OK and your good to go
Note : Incase the static ip address hasnt been applied , you might need to restart networking by going to the Terminal(Applications->Accessories->Terminal) and typing sudo /etc/init.d/networking restart
|
6
comments
]
6 comments
Questions: (1) Is there a version of this for 9.04? (2) How do you know which addresses to enter in step 8?
1) well every ubuntu version has a network manager.. so you should find either the same , or something similar.sorry, havent tried out 9.04 yet..
2)this depends on your router.. typically routers have an ip 192.168.1.1 , then you could enter an ip between 192.168.1.2 to 192.168.1.254 , if your router's ip is 192.168.0.1 , then between 192.168.0.2 to 192.168.0.254 . again these are standard values, incase you have changed them during your setup , it may vary..
This worked for me in 9.04. Thanks!
Worked for me too. Thanks!
P.S. Suggestion from parallel discussion at http://ubuntuforums.org/showthread.php?p=7270748#post7270748:
To find the IP address (step 8, above), I used this:
Boot into Windows XP, find the "run" option, enter "cmd" without quotes, then type ipconfig. That will give XP's IP address, the router is probably similar but X.X.X.1. If XP is working, you might check router configuration page, but you'll need to know the address to get there.
ubuntu 8.1 has a bug. you cannot set a manual ip. (wow! was it built by windoze geeks or what? i mean, no default firewall, no manual ip... lets release it!).
Thanks a lot. I did it with Ubuntu 9.04 - the Jaunty Jackalope.
Post a Comment