Linux ip Commands



linux ip commandsMost of the distribution of linux perfectly run on command line and for Successfull execution of command you must be a root user for that you can use sudo or yum or depends on the open source distribution Network cards are referred to as eth0, eth1, etc.

Display Current Config for all NIC’s: ifconfig

Display Current Config for eth0: ifconfig eth0

Ping: ping -c 3

Assign IP: ifconfig eth0

Assign multiple IP’s: ifconfig eth0:0

Assign second IP: ifconfig eth0:

Enable network card: ifconfig eth0 up

Disable network card: ifconfig eth0 down

View current routing table: route “or” route -n

Reverse Lookup: host

Advanced Reverse Lookup: dig -x

View arp cache: arp “or” arp -n

Trace Route: traceroute www.whatismyip.com

Assign IP/Subnet: ifconfig eth0 netmask

Assign Default Gateway: route add default gw

Trace Path: tracepath www.whatismyip.com

DNS Test: host www.whatismyip.com

Advanced DNS Test: dig www.whatismyip.com


If you like post and interested in this type of article just press Subscribe Button Dont Forget Like Our Facebook Page so that you could be aware with every trick and tips.


, ,

10 Responses to Linux ip Commands

  1. Hey would you mind letting me know which web host you’re utilizing? I’ve loaded your blog in 3 completely different
    web browsers and I must say this blog loads a lot faster then most.
    Can you suggest a good internet hosting provider at a honest price?

    Thanks a lot, I appreciate it!

  2. mulberry sale May 23, 2013 at 4:02 am #

    Good post. I study one thing more difficult on totally different blogs everyday. It’s going to all the time be stimulating to learn content material from other writers and practice a little bit something from their store. I? prefer to make use of some with the content on my weblog whether you don? mind. Natually I?l offer you a hyperlink on your net blog. Thanks for sharing.

  3. green smoke coupon code May 27, 2013 at 2:52 am #

    This really answered my problem, thank you!

  4. devenir trader �omicile May 28, 2013 at 8:56 pm #

    It’s awesome for me to have a web page, which is valuable designed for my knowledge. thanks admin

  5. voyance par téléphone June 1, 2013 at 8:42 am #

    I used to be recommended this blog through my cousin. I am now not positive whether or
    not this post is written through him as no one else understand such detailed
    about my difficulty. You’re amazing! Thank you!

  6. Celeste June 4, 2013 at 7:56 pm #

    Heya i’m for the first time here. I came across this board and I find It truly useful & it helped me out much. I hope to give something back and help others like you helped me.

  7. green coffee bean June 8, 2013 at 5:08 am #

    Great info. Lucky me I recently found your website by chance (stumbleupon).

    I have book-marked it for later!

  8. green coffee beans weight loss June 8, 2013 at 2:37 pm #

    Hey! This is kind of off topic but I need some guidance from an established blog.

    Is it tough to set up your own blog? I’m not very techincal but I can figure things out pretty fast. I’m
    thinking about making my own but I’m not sure where to start. Do you have any tips or suggestions? With thanks

  9. Breenda anjust December 8, 2013 at 4:35 pm #

    Very Helpful.

Leave a Reply