I been used with RedHat for quite long time.. But when I first touch Ubuntu, I have a lot difficulty to adapt with it. File system location had been slightly changes but overall is easier than RedHat. Due to Ubuntu can easily install any package you prefer without searching "howto" or "sop" at google.
Suddenly I face some difficulty in Ubuntu.. HOW TO CONFIGURE STATIC IP..
Shitzzz... I not even know where the interfaces config file locate. HAHA XDD
Anyway.. I found the way and here it go:
1. Edit the interface config file which located at "/etc/network/interfaces".
3. To make static IP. Edit the file and change the "dhcp" to "static". Then add few new value to the config file as below.
4. Once done, save the config and restart the network with "sudo /etc/init.d/networking restart"
5. Remember to set the DNS for the server. To set DNS, edit the resolv.conf file.
6. Follow by "nameserver", type the DNS Server IP. Just add as many DNS Server as you like. Then save the file.
That all the step to configure Ubuntu IP Address.
For some user, they may prefer to configure a secondary IP to their server. With the same step, edit the "/etc/network/interfaces". Add the secondary IP setting at the bottom.
Then restart the network. Everything will work perfectly.
Comments :
Post a Comment