Introduction In networking ,all computers are identified by using its IP, It is a unique ID for each system that are connected to a network. Assigning of this system IP is mainly handled by a router. [Broad band modem is a kind of router].The router uses DHCP [Dynamic Host Configuration Protocol ] to assign IP to each new system connected to its network, The assigning of this ip is for a short period of time , Means if we disconnect and connect again we may get a new IP each time . To use same IP for ever we have to set static ip for each machine in router settings . Description It is very simple to set static IP to a Linux system, - Navigate to to root folder ( / ) use cd .. or cd <path> command to navigate between directory .
- Go to cd /etc/network/
- open vi interfaces
- change DHCP to STATIC
- Put ADDRESS <IP>
- netmask <255.0. .>
- gateway < Gateway ip >
- Press ESC
- Enter :wq
- [ If shows write error use sudo chmod 777 interfaces to change the permission ]
- type sudo reboot
|
I am Johnson Augustine [My friends calls me - J.A), Completed my Master of Computer Applications degree, and Currently working as a Software Engineer at KTS Infotech PVT LTD and Server Admin and security Engineer at Scibero Hosting and Cyber Solutions. I have expertise in C/C++/Visual C++/G++/QT++,Com,Device Driver and embedded System Development. I have 4 Year Experience in ASP.net and Visual studio 2005,2008,2010 and MSSQL Server 2000,2005,2008 ,I have also deep knowledge in Oracle database,MySQL Database,C++ with SQLite, Android mobile development , PHP , Joomla,Word Press ,html,Javascript,Jquery,Ajax.CSS , Networking ,Cyber security, Ethical Hacking and familiar with most of the web hosting control panels like Plesk 9.5,Plesk 10.4.4,Plesk 11.0.9 . Cpanel/WHM,Hsphere,Dotnet panel , and have experience in Windows server 2003,2008,Cent Os , RHEL,Fedora etc .and also have some work experience in cloud environment.
|