Thursday, October 6, 2011

How to change the ip address in linux


To change the IP address of a network device in linux can use terminal or GUI. here  change by  using the terminal mode with  the help of few commands .
To reach the command terminal follow instructions -

-> Goes to Applications ---> Accessories ---> Terminal.
-> To check the IP address enter command 

                ifconfig eth0 <press enter>.
-> Now to change the IP address enter command
               ifconfig eth0 <type ip address>  netmask <type network mass> up  <press enter>
ex.
            ifconfig eth0 192.168.1.1 netmask 255.255.255.0 up
          by  this command change the ip address of  eth0 port . we can check , apply  the command -
              ifconfig eth0




For Further Reading,
General, How To, Linux, Networking, Tips and Tricks

0 comments:

Post a Comment


 

Site Status

Man Behind Technical Today

Hello, I am Navin Bansal. I am a student of MCA in Rajsthan Institute of Engineering and Technology and owner of this blog. I share my view and ideas among people.