10 Useful “IP” Commands to Configure Network Interfaces

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

35 Responses

  1. max blank says:

    Thanks it’s really a useful tutorial. May I ask, how can i config wireless network in red hat 6?

  2. Thanks for this great post, but may I have two questions, not related directly to your article, but I think you can help me.

    1. How to change IP address to another IP “Say I am from Egypt and I need ip from USA”

    2. Is there any way to know the current speed of my internet connection.

    Looking for your reply,
    Mohamed Elhosary

  3. Rob says:

    Thanks for this, any chance you could write something to show how to set up home network, for noobs, when you are trying to access shares from a win 7 machine from a Linux machine?

  4. Vahid feizi says:

    That was so practical and useful, thank you.

  5. Helper says:

    in my centos 6.5, I am using two interfaces. eth0 for public ip and eth1 private ip. I have made default gateway to public ip. But for other purpose, I need private ip for connetion to other system.

    I have added static routes but they are lost when system reboots. So I add persistent route

    # vi /etc/sysconfig/network-scripts/route-eth1 via dev eth1

    when I save this , then the system indicates that eth1 is disconnected. Any suggestion?

    • Ravi Saive says:


      To keep this route at system boot you should add this entry to /etc/rc.local file, this file executes when system boots so whatever you add this will auto start at system reboot..

  6. Venkata Subbarao says:

    Hi Ravi,

    Very good article. Could you please suggest me on the following ?

    I have a requirement where I have a Ubuntu system and many devices wants to talk to this and this system wants to talk to them. Some are having different subnet though they are connected to same layer-2 switch. I am in dilemma, whether to use ip aliasing or vlan. Any suggestion please.


  7. Veasna Thong says:

    Hi Sir!
    i have follow by your command line successful , i’m so thank you so much !! :D

  8. Daniel Moreno says:

    Very usefull post

  9. pio777 says:

    Compact size tutorial – good work! I used it once already. Thanks.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.