THE IT IDEAS

  • Home

Wednesday, 20 February 2013

How to assign IP address with command line

 THE IT IDEAS     12:37     command line, IP   

For Example i am going to give following IP to my desktop
IP = 192.168.1.10
Subnetmask = 255.255.255.0
Default Gateway = 192.168.1.1
Metric = 1

Open Command Prompt 



to check existing IP address write IPCONFIG command 


As you can see existing IP address is 192.168.1.9, now we can change that IP to 192.168.1.10
For change the IP you have to write below mentioned Command.

netsh interface ip set address "Local Area Connection" static ipaddr subnetmask gateway metric

netsh interface ip set address "Local Area Connection" static 192.168.1.10 255.255.255.0 192.168.1.1 1

After the run command you just need to check the IP address again with IPCONFIG command





Its done Enjoy !!!!! :)


Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Newer Posts Older Posts Home

Like Us !!!

Recent Posts

Blog Archive

  • ►  2016 (1)
    • ►  April (1)
  • ►  2015 (12)
    • ►  August (1)
    • ►  May (2)
    • ►  April (8)
    • ►  March (1)
  • ►  2014 (23)
    • ►  December (8)
    • ►  November (12)
    • ►  April (2)
    • ►  March (1)
  • ▼  2013 (7)
    • ►  December (1)
    • ►  April (1)
    • ►  March (1)
    • ▼  February (1)
      • How to assign IP address with command line
    • ►  January (3)
  • ►  2012 (15)
    • ►  December (6)
    • ►  November (9)

Categories

apache2 EC2 error mysql php ubuntu aws aws rds browser github installation linux mount s3 AWS Bucket CentOS Computer DocumentRoot change How to Benchmarking Webserver IP LAMP Restart Computer SCP command SQL SERVER XRDP administrator amazon rds backup basic commands chat command line disable download drupal ec2.chroot environment external storage device fstab functions geoip gmail google home page iis instance internet java mod rewrite mongodb multiple login network password one password php5 php5-fpm php7 private browsing python repair filesystem repo reset password rhel sa password same computer script sftp share skype ssh tomcat ubuntu 16.04 ubuntu16 visudo windows 8 youtube
JobsMagBlogJobsMag.InThingsGuide

Popular Posts

  • Create SFTP User with chroot in AWS EC2
    Create User with below command #adduser --shell=/bin/false theitideas Provide permission of home directory #chown root:theitideas /ho...
  • Install apache2 Webserver, php5 and php module with script for beginner
    Install apache2 Webserver with script for beginner Find the script to install apache2 Webserver and php5 with php modules like cgi php5-m...
  • Use PHP5-FPM with Apache 2 on Ubuntu 14.04
    Install Apache by following command     #sudo apt-get update     #sudo apt-get install apache2-mpm-event To use PHP5-FPM with Apache, we ne...

Copyright © THE IT IDEAS | Powered by Blogger